Android Tutorial GPS tutorial

Status
Not open for further replies.

systems1

Member
Licensed User
Longtime User
Help for to get GPS coordinates

Hi Erel,

I tried the code you attached.

When I run the program in my Emulator,

I get a message that "GPS device enabled=true".

But i did't get GPS cordinates as out put.

I see we have two more events

B4X:
Sub GPS_UserEnabled (Enabled As Boolean)
//statements
End Sub 
And 

Sub GPS_LocationChanged (Location1 As Location)
//statements
End Sub

But I understand there is no event executed for GPS_UserEnabled and GPS_LocationChanged.
I printed a message box alert inside there. But I didn't get any alert message from that section.

My GPS Lib version is 1.00 and Core Version is 1.91

Can you help me ; I want to get GPS Latitude and Longitude of current location.

Regards,
:sign0085:
 
Last edited:

zekigultekin

Member
Licensed User
Longtime User
GPS library can not support motorola device

Dear Erel,
I use motorola xoom2 tablet. I test your GPS sample on this. But, I cannot get location information from motorola GPS.

Can you help me for solve my problem.

Best regards,

Zeki
 

GaNdAlF89

Active Member
Licensed User
Longtime User
I received 13 digits timestamp from gps. How I can convert this to datetime?
 

GaNdAlF89

Active Member
Licensed User
Longtime User
why I received the date of tomorrow?? O.O
today is 08-03-2012 and I received 08-04-2012!!
the time is correct...
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…