locationlistener Questions
4
Solved
I have only one device (HTC HD Deside) for testing my apps and when I want to get GPS data with
locationManager.requestLocationUpdate(criteria,0,0,this); //critera = "gps"
My GPS icon appears i...
Donetta asked 10/3, 2013 at 21:45
5
Solved
In my android app I need to get current GPS location of the user at the start of the application only if location has change from the previous location. But the problem is when I inside the applica...
Thrown asked 1/8, 2011 at 4:31
3
Solved
I am trying to draw route as I move from my current location. I am facing a big problem in drawing route dynamically please help me to solve it. I am having marker at my current location in my map....
Western asked 15/5, 2015 at 1:4
1
My device: Android 6.0.1 and here is my application setup.
compileSdkVersion 24
buildToolsVersion "24.0.1"
minSdkVersion 21
targetSdkVersion 24
LocationListener onLocationChanged() is never ca...
Jacquenette asked 21/9, 2016 at 7:52
4
Solved
I am working on google maps and location listener. I am drawing the polyline on the map with my movement using location listener. Now i want the starting point and the current position on the polyl...
Nanettenani asked 23/11, 2016 at 11:42
1
Solved
I have a situation like the following:
If car is stationary(not moving) than i want to call location update api after every 5min. If car is moving than i want to call location update api after eve...
Collywobbles asked 25/11, 2016 at 8:55
3
Solved
I am trying to get location of user as longitude and latitude from GPS/network which ever is available and i want to get it fast , or else previous location coordinates will return if cannot get ne...
Oralle asked 4/9, 2016 at 8:17
2
Solved
To retrieve fused location in background, I have created a library which is very similar to cwac-locpoll library created by Commonsguy.
Inside PollerThread , I am trying to connect, request and re...
Tammara asked 12/7, 2013 at 11:25
4
Solved
I have been stuck on this problem for quite some time. I am working on an app that uses location quite extensively in several different Activities. Every example I have found uses a separate Locati...
Vireo asked 25/4, 2011 at 21:41
1
My app has to track the user continuously. For that I have a LocationListener which is supposed to receive location updates continuously. The issue is when the screen is turned off, it does not rec...
Saguache asked 4/3, 2014 at 8:18
5
Solved
I am using this code to get geographical addresses:
private String getAddress(Location location)
{
try{
List<Address> addresses = new Geocoder(this,Locale.getDefault()).getFromLocation(loc...
Tenpins asked 17/5, 2012 at 18:21
2
Solved
I know BroadcastReceiver watches for text, phone events, etc... but can you run LocationServices as a service and event based on Location?
For example, you are near a certain GPS point and the pho...
Stein asked 9/3, 2011 at 1:0
2
Solved
I am new Android coder and I have problem with requesting updates for my localization.
I working with tutorials from http://developer.android.com/training/location/receive-location-updates.html .
...
United asked 3/6, 2013 at 14:5
8
I am developing an application that gets position of the cell phone all day long in 6 and 6 minutes in a service, it works fine but sometimes the method OnLocationChanged of the Network provider li...
Attu asked 1/4, 2013 at 16:45
1
Solved
I am using Network Location provider.
I need to call onLocationChanged method from my LocationListener only once per 1 hour.
Here is my code:
MyLocationListener locationListener = new MyLocationLi...
Competition asked 26/10, 2012 at 20:1
1
Solved
Which is the better approach, directly implementing LocationListener like this
public class BackgroundService extends Service implements LocationListener {}
or normally declared the LocationList...
Diley asked 1/9, 2012 at 11:47
1
Solved
When this callback is made in my app, I have quite a bit work to do (reading & writing to SQL db through an ORM lib and a number of distance based calculations). Naturally I am concerned about ...
Extempore asked 21/6, 2012 at 0:13
5
Solved
I'm trying to get the user's current location via GPS capability,
Wrote a simple class that implements LocationListener
public class LocationManagerHelper implements LocationListener {
private ...
Macias asked 5/2, 2011 at 5:55
1
Solved
I have a problem with onLocationChanged event in Android. Here's the triggering:
case R.id.start: {
Points.add(overlay.getMyLocation()); // Points' type is ArrayList<GeoPoint>
mgr.requestL...
Kiethkiev asked 9/12, 2011 at 15:39
2
Solved
I want to implement a locationListener which will switch between network and GPS providers based on availability.
For example if GPS is not enabled I want it to use network but as soon as GPS is o...
Expectant asked 31/3, 2011 at 19:45
3
Solved
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.
I have got t...
Kerrykersey asked 15/8, 2010 at 3:15
3
Solved
How do I unsubscribe a LocationListener from recieving updates from the LocationManager?
Here is how I'm setting it up
mLocationManager = (LocationManager)this.getSystemService(LOCATION_SERVICE);...
Suggest asked 19/1, 2010 at 22:1
1
© 2022 - 2024 — McMap. All rights reserved.