Hello
I noticed that when i start the GPS device something connects to the
internet and downloads and uploads about 4,5KB
i tested it with a b4a project that it had only
Sub Activity_Create(FirstTime As Boolean)
If FirstTime Then
GPS1.Initialize("GPS")
End If
End Sub
and
Sub Activity_Resume
If GPS1.GPSEnabled = False Then
ToastMessageShow("Please enable the GPS device.", True)
StartActivity(GPS1.LocationSettingsIntent) 'Will open the relevant settings screen.
Else
GPS1.Start(0, 0) 'Listen to GPS with no filters.
End If
End Sub
Sub Activity_Pause (UserClosed As Boolean)
GPS1.Stop
End Sub
test device was a samsung nexus s 2.3.6
everytime i kill the app with a task manager and start it again it connects to
the internet and transfers about 4,5KB
if i use the back key(app is paused) and then resume it,most of the times
it doesn't transfer anything
if i run the app,press home ,then open my sms messages and go back to the app it transfers data again
i have use wireless networks disabled
it's really annoying because my app has a service that starts every minute
and searches for the gps location.
is it possible that another program sees the GPS device activating and connects?
anyone knows if i can stop it ?
is it device specific or all androids do that?
any ideas?
Thank you
Aggelos
I noticed that when i start the GPS device something connects to the
internet and downloads and uploads about 4,5KB
i tested it with a b4a project that it had only
Sub Activity_Create(FirstTime As Boolean)
If FirstTime Then
GPS1.Initialize("GPS")
End If
End Sub
and
Sub Activity_Resume
If GPS1.GPSEnabled = False Then
ToastMessageShow("Please enable the GPS device.", True)
StartActivity(GPS1.LocationSettingsIntent) 'Will open the relevant settings screen.
Else
GPS1.Start(0, 0) 'Listen to GPS with no filters.
End If
End Sub
Sub Activity_Pause (UserClosed As Boolean)
GPS1.Stop
End Sub
test device was a samsung nexus s 2.3.6
everytime i kill the app with a task manager and start it again it connects to
the internet and transfers about 4,5KB
if i use the back key(app is paused) and then resume it,most of the times
it doesn't transfer anything
if i run the app,press home ,then open my sms messages and go back to the app it transfers data again
i have use wireless networks disabled
it's really annoying because my app has a service that starts every minute
and searches for the gps location.
is it possible that another program sees the GPS device activating and connects?
anyone knows if i can stop it ?
is it device specific or all androids do that?
any ideas?
Thank you
Aggelos