locationlistener
I cannot get mlocManager.removeUpdates(mlocListener); to work
I have an app that uses the LocationManage functions which works well until the app is stopped or paused. The location listener function is still carrying on in the background. Relevant bits of code f[详细]
2023-02-08 02:04 分类:问答android: LocationListener running permanently
I have an app which will start sending location data to a remote server, when I press a button. I am using LocationListener since I开发者_如何学C want to send the location points if a certain distance[详细]
2023-02-01 18:52 分类:问答Starting my android app when GPS is enabled force closes
Can anyone offer an insight into my problem please? My app works when GPS is disabled, but FC\'s when starting while GPS is enabled. On a cold start it offers the option to turn on the GPS. After doi[详细]
2023-01-23 15:48 分类:问答Android Communicate with a Location Manager started from another activity
In my app I want to obtain a gps lock and record the coords. But I do not want to lock the device into looking for the gps. The user is to be free to traverse through the app and the different activit[详细]
2023-01-12 05:45 分类:问答Android find GPS location once, show loading dialog
I am writing an app that requires the user\'s current location (lastknownlocation won\'t be very helpful) and displays a list of all the closest \"items\" to them taken from the database.[详细]
2023-01-11 09:20 分类:问答How to listen for location updates from multiple providers?
In this code I request location updates from GPS locMan.requestLocationUpd开发者_开发问答ates(LocationManager.GPS_PROVIDER,20000, 1, gpsListener);[详细]
2023-01-04 20:55 分类:问答Unsubscribing a LocationListener from the LocationManager
How do I unsubscribe a LocationListener from recieving updates from the LocationManager? Here is how I\'m setting it up[详细]
2022-12-16 18:51 分类:问答