1

I have galaxy Tab and I want to get current lat long from my code. That code working properly in android Emulator after sending lat long from DDMS. But when I integrate this code in my galaxy Tab I cant get current lat and long... So any one have solution for device than please help me...

Kara
  • 6,115
  • 16
  • 50
  • 57
dev
  • 21
  • 1
  • 5
  • @Paul it has since been deleted. It was the same question by the same user, I'm deleting the link. – Pekka May 29 '11 at 16:54

3 Answers3

1

Go to Settings -> Location & Security Settings -> USE GPS

this should help

Rohit Mandiwal
  • 10,258
  • 5
  • 70
  • 83
  • thanx rohit, but GPS service is already Enable . and i m able to get current lat long using default application of Galaxy Tab . – dev Mar 11 '11 at 10:52
  • humm then try this. Settings -> Application Settings -> Development -> Allow mock location – Rohit Mandiwal Mar 11 '11 at 10:53
  • ok.thanx .i m trying this ..but i dont konw what it mock location ? – dev Mar 11 '11 at 11:10
0

Have you tried changing general settings of Galaxy Tab , where you might be able to check an option on how to get your current location like , using 3G or wifi.

sat
  • 40,138
  • 28
  • 93
  • 102
  • thanx , but GPS service is already Enable . and i m able to get current lat long using default application of Galaxy Tab . – dev Mar 11 '11 at 10:48
0

Turn on GPS.

edit : My guess is that OP's device gps daemon was not able to get a position fix.

  • Maybe s/he had no working data connection
  • Or s/he was indoors
  • Or gpsd had some error (which may have been solved by a reboot)
Community
  • 1
  • 1
Reno
  • 33,594
  • 11
  • 89
  • 102
  • thanx Reno , but GPS service is already Enable . and i m able to get current lat long using default application of Galaxy Tab . – dev Mar 11 '11 at 10:50
  • Can you see the GPS icon on the top ? Is it animating ? If it's still you should have no problem. – Reno Mar 11 '11 at 11:04
  • Then wait for it to get a position fix. It take 2-10 minutes. It should stop animating once a fix is obtained. – Reno Mar 11 '11 at 11:11
  • Youre welcome. You can mark the green tick mark beside if this answer helped you. – Reno Mar 14 '11 at 08:56
  • Link rot may be true for external links. This was a long time ago, updated the answer. ta – Reno Nov 16 '12 at 08:28