I am developing a mobile web app. Currently I have this snippet of jQuery code which checks if the app is running full screen:
if ( !window.navigator.standalone )
{
$('#content').before( '<div class="notice">To enjoy the mobile experience to its fullest, tap the arrow button on the toolbar below, choose <b>Add to Home Screen</b>, then launch it from there.</div>' );
}
I have a few questions:
window.navigator.standalone
work on Android phones?A web application can't run directly on android home screen. for that it need some other customized home screen. right now there are two companies who are working to provide a platform from android to run web application standalone.
where you can make your web application as a widget and then it will run in that runtime. currently obigo have provided the customized home screen. where opera will run web widget within an application.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With