locationmanager

Please Help me for gtting the current location of the Android phone.

Please Help me for creating an application for getting the current location of the android phone. Thank you. ...

Question about getting current location in Android

I have few questions about getting current location of the device. I believe only way to do that is using requestLocationUpdates(....). if I subscribe to requestLocationUpdates... with duration set to 1 hour and after 1 hour if my phone is sleeping (or during that 1 hour I rebooted my phone), does the listener still work? A. If yes...

GPS update interval is faster with good signal?

Hello all, I'm trying to limit my program to take location updates every 10 seconds instead of constant updates in order to reduce battery drain. This works fine when i'm debugging indoors and the signal is weak (i.e. the GPS icon flashes), but if the phone gets a proper fix (i.e. the GPS icon is static) the update interval increases to...

How do you make Android LocationManager use Cell network and not Wifi network?

I have an android application using LocationManager get the cell network location and not the Wifi location? If I have turned off the Wifi antenna and do the following: LocationManager lm = (LocationManager) paramContext.getSystemService(Context.LOCATION_SERVICE); Location location = lm.getLastKnownLocation(LocationManager.NETWORK_PROV...

Android LocationManager causing frequent loc_eng_report messages

I have an application that creates a LocationManager object and requests updates, but it causes repeated messages like this in the logcat: D/lib_locapi( 102): loc_eng_report_status: GPS_STATUS_SESSION_BEGIN D/lib_locapi( 102): loc_eng_report_sv: valid_mask = 0x30, num of sv = 4 D/lib_locapi( 102): loc_eng_report_nmea D/lib_locapi( ...

requestLocationUpdates does not update on interval in Android

Hello, I have the problem that my service which has the LocationListener implemented, receives a GPSupdate every 500ms it seems. No matter what minTime i put in the requestLocationUpdates function. Piece of my code: public class LocationService extends Service implements LocationListener { LocationManager locMan; @Override ...