Android Question Get coordinates

ykucuk

Well-Known Member
Licensed User
Longtime User
Hello,

i tried GPS tutorial and it doesnt work with me. I learned that this application doesnt work when users are not outside.

i need get location of users from inside / outside both . i also tried others libraries but cant find any work example.

it is so easy when i work with ios platforms. i just need lat and long

Any help ?
 

NJDude

Expert
Licensed User
Longtime User
Just a note, GPS might also work indoors, for example, I have a WiFi only tablet and I can get GPS coordinates, sometimes it takes a little while to pick up the signal, I guess depends on your location, sometimes is fast other times is not, same results with my phone.
 
Upvote 0

ykucuk

Well-Known Member
Licensed User
Longtime User
Hello,

i really dont understand that what is different get satellite b4a apps and tango app.

I open GPS example and wait too much time and there is no answer. I know that its for outdoor and maybe i cant get signal on indoor.

I use others GPS based applications. For example its just 1-2 second get coordinates with Tango ?

what is the different ?

could you explain me this ?

thank you
 
Upvote 0

rbsoft

Active Member
Licensed User
Longtime User
GPS data would in most cases take a little longer to get a fix than 1 to 2 seconds. Tango uses most probably different sources for positioning, in this case wifi data.

Rolf
 
Upvote 0

ykucuk

Well-Known Member
Licensed User
Longtime User
Hello Rolf,

i tried ABGetLocation or ABGetLastKnownLocation as you suggest me.

unfortunally i got errror message about java.null.point when i try get lat or long
 
Upvote 0

rbsoft

Active Member
Licensed User
Longtime User
It works fine for me. Unfortunately I am travelling in the US rught now, so I cannot sent you an example right now. I had created a little test app once to switch between the different modes to get a position. When I am back by the end of next week I will post it.

Rolf
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…