Page 2 of 2

Is it possible to work on two maps, in same app, on different page? One Map is not Loading correctly .Please Help!

Posted: Sun Jun 28, 2015 12:14 am
by umama fakher

Geolocation working when GPS is enabled on android device and not working when it is disabled. Is there a way to prompt user to enable their GPS location if it is disabled. This problem is only on Android and in iOS it is working perfect that is if GPS is off it prompt user to turn it on/off. It will be great to hear from Appery team soon :) !!


Is it possible to work on two maps, in same app, on different page? One Map is not Loading correctly .Please Help!

Posted: Sun Jun 28, 2015 3:45 am
by Evgene Karachevtsev

Is it possible to work on two maps, in same app, on different page? One Map is not Loading correctly .Please Help!

Posted: Mon Jun 29, 2015 2:46 pm
by umama fakher

pre
final LocationManager manager = (LocationManager)context.getSystemService (Context.LOCATION_SERVICE );

if ( !manager.isProviderEnabled( LocationManager.GPS_PROVIDER ) )
Toast.makeText(context, "GPS is disabled!", Toast.LENGTH_LONG).show();
else
Toast.makeText(context, "GPS is enabled!", Toast.LENGTH_LONG).show();
/pre

Can you explain where to include these lines of code in my project and it is a java code , is this code needs to be in javascript?

Please help in modifying.


Is it possible to work on two maps, in same app, on different page? One Map is not Loading correctly .Please Help!

Posted: Wed Jul 15, 2015 6:33 pm
by Illya Stepanov

Hi Umama -

In Appery.io builder you can work only with JavaScript code any other code is falls outside the scope of our support.

It is really hard to say without knowing the context where you can use this part of a code.