android-location
how to start and Stop GPS by using code in Android
i want enable GPS for 30sec when my application start (whenoncreate() m开发者_如何学JAVAethodcalls ).and after 30 sec it turn to disable mode. Try this code,[详细]
2023-03-14 07:02 分类:问答Getting GPS strength in Android
In my app, I have to find out GPS strength. However, when I use the following code, I get 0 only for count no of satellites. So, I could not get GPS strength.[详细]
2023-03-09 17:42 分类:问答Get GPS Location instantly via Android app
all. I am writing an android app about GPS locations. I tried it on emulator and entered the latitude and longitude manually, and it worked fine.[详细]
2023-03-07 00:33 分类:问答BroadcastReceiver for location
I know BroadcastReceiver watches for text, phone events, etc... but can you run LocationServices as a service 开发者_开发问答and event based on Location?[详细]
2023-02-15 20:21 分类:问答Protecting your Android app against mock locations
I\'m designing a location-based service where reliability plays a role. I wish my users to know that the provided location of other users is real.[详细]
2023-02-15 12:33 分类:问答Android: Frequency of location updates from location manager
Apologies if this is a very mundane or simple issue. I wrote a location listener class for my开发者_运维知识库 android device and set the requestupdate as follows:[详细]
2023-02-10 13:01 分类:问答How to acquire a user's GPS location on an Android (2.2) device
I am attempting to simply acquire the user\'s GPS location, but my application crashes when trying to get the latitude and longitude of the device.See code for where the error occurs..[详细]
2023-02-10 08:18 分类:问答java.lang.NullPointerException when getting location
I have some problems im not able to recreate in emulator, but i keep getting error reports in android market that i have no clue how to solve... anyone else that might see it id be wery greatful[详细]
2023-02-04 05:20 分类:问答What's location provider "passive"? Seen on HTC Desire with Android 2.2
Before I go into location based mode I check for existence of any location providers by calling List<String> android.location.LocationManager.getProviders(boolean enabledOnly) //enabledOnly = t[详细]
2023-01-31 19:12 分类:问答Using requestLocationUpdates for more than one provider
(this is about the LocationManager class in android). Is there a way of using requestLocationUpdates, but in some way that allows it to give开发者_C百科 me results for the best active provider every[详细]
2023-01-24 17:35 分类:问答