Android Question How to find latitude and Longitude with no GPS permissions?

Mattiaf

Active Member
Licensed User
Hey, referring to This Erel Topic and using the FusedLocationProvider I would like to get latitude and longitude coordinates without asking the user for gps permissions.

Unfortunately @Erel project require gps permission to be used.

I wonder if that's a way to do it without gps.
Thanks
 

emexes

Expert
Licensed User
I would like to get latitude and longitude coordinates without asking the user for gps permissions.

Unfortunately @Erel project require gps permission to be used.

Not perfect, but maybe something like:

https://ipapi.co/

Although in my case here, it returns the location of my ISP's head office, which is only 900 km away.

Looking on the bright side: at least it's got the right country and hasn't plonked me at https://en.wikipedia.org/wiki/Null_Island.
 
Last edited:
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Unfortunately @Erel project require gps permission to be used.

I wonder if that's a way to do it without gps.
The terms are inaccurate. There is no such things as GPS permission. There are fine and coarse location permissions. As their names suggest it is not possible to get the device location without these permissions.
 
Upvote 0

Mattiaf

Active Member
Licensed User
oh ok, so you saying it is not possible to get the location without these permissions? i did read in other topics that it was possible using just mobile data and or some third party services..
 
Upvote 0
Top