Page 1 of 1

GPS works offline?

Posted: Mon Mar 16, 2015 2:54 am
by She

Hi Team,

Im wondering if the GMAP can work in OFFLINE(without wifi connection,data network)?


GPS works offline?

Posted: Mon Mar 16, 2015 6:44 am
by She

I always getting this. when the wifi/ data network is not up. but the GPS is on.
Image

Im using samsung Note 1
android version 4.0.4
the app is already shared. ptoject name is: GPS ATTENDANCE


GPS works offline?

Posted: Mon Mar 16, 2015 9:05 am
by Egor Kotov6832188

Hello She,
GPS - positioning system, it is not sending parts of globe to the gmap component, thus gmap is not working.

GPS works offline?
GPS and Ethernet have different purposes, 1st provides you location on the Earth, second access to WWW.


GPS works offline?

Posted: Mon Mar 16, 2015 10:08 am
by She

Hi Egor,
so whats wrong with GMAP on my app??
and this is weird. in browser tester all thethe buttons in the startScreen Page is working perfectly, its navigate to the next page.
but when the app is installed to the devices.
the button is not navigating to the next pages.

i hope you can help me out here.
in GMAP and in to the buttons

Thanks,


GPS works offline?

Posted: Mon Mar 16, 2015 10:25 am
by Egor Kotov6832188

She,
it can't load map parts from Ethernet, cause it's off, as you said.
gmap consist of images/tiles of location you want to see on the map.
It shouldn't work without Ethernet in offline mode


GPS works offline?

Posted: Mon Mar 16, 2015 10:35 am
by She

Hi Egor,
the problem in GMAP and the buttons is diffrent:

  1. GMAP is not showing, but the GPS satallite in settings is checked(device settings) .
    how can i get the coordinates if the map is not loading?
    Image

  2. the button event is not working to navigate to the other pages..

    Image

    Thanks,


GPS works offline?

Posted: Tue Mar 17, 2015 7:58 am
by Egor Kotov6832188

She,
1) you can use gmap component if GPS is on, it's not enough. GPS is just a location, you can get value of your position with GeoLocatoin plugin.
gmap doesn't provides you the location, it shows images by the location, but for this you need:
a) Ethernet connection to send a request to google geocoding API
b) receive images so gmap component could show the location as a set of images

2) Open Console (Chrome F12) navigate to console tab to see if there is no errors. Please send us screenshots of errors you may find in console.


GPS works offline?

Posted: Tue Mar 17, 2015 8:25 am
by She

Thank you Egor, i Already got the problem in number 2.

Thank you