derez Expert Licensed User Longtime User Nov 26, 2010 #1 Erel can you elaborate on how to get the satelites data ? Code: Sub GPS_GpsStatus (Satellites As List) End Sub
Erel can you elaborate on how to get the satelites data ? Code: Sub GPS_GpsStatus (Satellites As List) End Sub
C Cor Active Member Licensed User Longtime User Nov 26, 2010 #2 Code: 'globals dim mySatelites as list myStatelites.initialize Sub GPS_GpsStatus (Satellites As List) mySatelites=Satelites End Sub sub show Satelites DIM RESULT AS INT result = InputList(mySatelites, "Satelitesfound",-1) end sub this should work, or do you mean specific satelite data? grCor Upvote 0
Code: 'globals dim mySatelites as list myStatelites.initialize Sub GPS_GpsStatus (Satellites As List) mySatelites=Satelites End Sub sub show Satelites DIM RESULT AS INT result = InputList(mySatelites, "Satelitesfound",-1) end sub this should work, or do you mean specific satelite data? grCor
derez Expert Licensed User Longtime User Nov 27, 2010 #3 Thanks Cor but I meant the way to get the data from the object GPSSatelites. Upvote 0
agraham Expert Licensed User Longtime User Nov 27, 2010 #4 There is a GPS event "GpsStatus" that has a parameter that is a List of GpsSatellite objects. Dim a GpsSatelite object and assign to it from one of the list entries. Upvote 0
There is a GPS event "GpsStatus" that has a parameter that is a List of GpsSatellite objects. Dim a GpsSatelite object and assign to it from one of the list entries.
Erel B4X founder Staff member Licensed User Longtime User Nov 28, 2010 #5 Did you try the GPS tutorial: http://www.b4x.com/forum/basic4android-getting-started-tutorials/6592-gps-tutorial.html It displays the satellites information. Upvote 0
Did you try the GPS tutorial: http://www.b4x.com/forum/basic4android-getting-started-tutorials/6592-gps-tutorial.html It displays the satellites information.
derez Expert Licensed User Longtime User Nov 28, 2010 #6 Somehow I missed that sub there, thank you. Upvote 0