Look at the
GPS tutorial.
The tutorial code shows:
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
Does that work with ICS?
Can you test for GPSEnabled property and if it is False then start the Location Setting options?
Martin.[/QUOTE
Hi Martin
Thank you for your information .
I have try it .But it need to confirm the GPS setting ,the function does not for me need .