Found an issue in SpiderBasic ? Please report it here !
ebelouet
 
Posts: 7
Joined: Mon Apr 08, 2019 9:46 am

gps in Android mistake

by ebelouet Mon Jul 08, 2019 2:30 pm

Hi,
I have with this program only gps coordonnes with ethernet and wifi, but nothing with android smartphone gps hardware s, where is mistake ?
Sincerely
Eric
Global time = 0

StartGeolocation()

Procedure TimerEvent()
Debug "debut"
Debug "Timer event: " + EventTimer()
Debug "try = " + time
Debug "Longitude = " + GeolocationLongitude()
Debug "Altitude = " + GeolocationAltitude()
Debug "Latitude = " + GeolocationLatitude()
Debug "heading = " + GeolocationHeading()
Debug "speed = " + GeolocationSpeed()
Debug "time = " + GeolocationTime()
If time = 40
RemoveWindowTimer(0,0)
EndIf
time +1
EndProcedure

OpenWindow(0, 0, 0, 100, 100, "Timer")
AddWindowTimer(0, 0, 2000)
TimerEvent()

BindEvent(#PB_Event_Timer, @TimerEvent())
Return to Bugs Reports

Who is online

Users browsing this forum: No registered users and 1 guest