She
Posts: 0
Joined: Wed Oct 08, 2014 12:46 am

GPS works offline?

Hi Team,

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

She
Posts: 0
Joined: Wed Oct 08, 2014 12:46 am

GPS works offline?

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

Egor Kotov6832188
Posts: 0
Joined: Wed Nov 19, 2014 5:15 pm

GPS works offline?

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.

She
Posts: 0
Joined: Wed Oct 08, 2014 12:46 am

GPS works offline?

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,

Egor Kotov6832188
Posts: 0
Joined: Wed Nov 19, 2014 5:15 pm

GPS works offline?

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

She
Posts: 0
Joined: Wed Oct 08, 2014 12:46 am

GPS works offline?

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,

Egor Kotov6832188
Posts: 0
Joined: Wed Nov 19, 2014 5:15 pm

GPS works offline?

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.

She
Posts: 0
Joined: Wed Oct 08, 2014 12:46 am

GPS works offline?

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

Thank you

Return to “Issues”