Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,778,486 Members 42,275 Now Online
XDA Developers Android and Mobile Development Forum

[APP] Android L Calculator

Tip us?
 
TheArc
Old
(Last edited by TheArc; 17th July 2014 at 11:11 AM.)
#31  
TheArc's Avatar
Recognized Themer
Thanks Meter 1726
Posts: 2,169
Join Date: Jan 2012
Location: Auckland City
The reason it lags is because of this (possible) assumption. The application needs full network access in order to work. Which means the dev probably just created a linked web app.

How this works? You create an app with no actionbar and remove the controls. In the code direct the app to a URL with WebView and give it internet permissions in your Manifest.

Outcome - You get an app the automatically redirects to a URL that was in the code, in other means. The URL for the Polymer Calculator example.

Anyways, its still nice though.
iOS7 Kik Messenger | Svelte UI CM11 Theme | Active Launcher
The Following 3 Users Say Thank You to TheArc For This Useful Post: [ Click to Expand ]
 
aooga
Old
#32  
aooga's Avatar
Senior Member
Thanks Meter 855
Posts: 2,910
Join Date: Feb 2011
Location: California
Quote:
Originally Posted by TheArc View Post
The reason it lags is because of this (possible) assumptions. It needs full network access. Which means the dev probably just created a linked web app.

How this works? You create an app with no actionbar and remove the controls. In the code direct the app to a URL with webView and give it internet permissions.

Outcome - you get an app the automatically redirects to a URL.

Anyways, its still nice though.
You're 100% right. This is literally a web view with a hidden action bar.
 
tracerit
Old
#33  
Senior Member
Thanks Meter 26
Posts: 724
Join Date: Jan 2008
Location: Orange County, CA
nice looking calculator but i'm still disappointed that no one has created a simple looking calculator app that shows a history of the last 2-3 calculations without having to press some sort of "history" button.
 
DAN13L8
Old
#34  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Nov 2013
Calculator It's an Webview app....

It's not possible to install the with the new material design on 4.x.x. That's because the API that they used for the Original Calculator app does not support android versions under L (5.0). Even if you edit in Build.prop...
 
meechieballer
Old
#35  
Member
Thanks Meter 9
Posts: 78
Join Date: Jan 2012
Location: Philadelphia
Quote:
Originally Posted by TheArc View Post
The reason it lags is because of this (possible) assumptions. It needs full network access. Which means the dev probably just created a linked web app.

How this works? You create an app with no actionbar and remove the controls. In the code direct the app to a URL with webView and give it internet permissions.

Outcome - you get an app the automatically redirects to a URL.

Anyways, its still nice though.
you are a Genius
 
JovieBrett
Old
#36  
JovieBrett's Avatar
Senior Member
Thanks Meter 296
Posts: 755
Join Date: Dec 2012
Location: Manila

 
DONATE TO ME
Hey @virjog thanks alot for this!
Btw, how'd you converted the polymer based web app into an .apk? can you provide some details/tut on how to do that if it does not bothers you? just for our project on school, hehe thank you!

EDIT
Oh ok so this is supposedly a webview app, hearing more details would be nice. Thanks!
Tags
calculator, material
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes