[android-developers] Re: LocationListener and location api working in Android Dev Phone (G1)

2009-02-19 Thread sheik
Hi , This is the code written to get the current location private boolean getCordinates() { // TODO Auto-generated method stub locationListener = new LocationListener() { @Override public void

[android-developers] Re: LocationListener and location api working in Android Dev Phone (G1)

2009-02-18 Thread Keiji Ariyama
Hi sheik, Please see below code. And you can see reference. http://developer.android.com/reference/android/location/LocationListener.html 1. Implement LocationListener interface. 2. Get Location Manager. 3. Register LocationListener to LocationManager.

[android-developers] Re: LocationListener and location api working in Android Dev Phone (G1)

2009-02-18 Thread sheik
Thank you for your response... I have been using the some wat same code to run in the emulator and it works fine as you have mentioned in response My actual doubt was that, does it work in the ADP1 as i dont have handson G1 or the DEV PHONE.. I like to know .Have u tested above