[android-developers] Re: How to get Latitude and longitude information

2010-09-14 Thread evident
Hi, I haven't done it in the emulator yet (I connected it to the phone directly to get gps data and test my app), but you simply need to use the LocationManager... http://d.android.com/reference/android/location/LocationManager.html Just add a LocationListener: http://d.android.com/reference/and

Re: [android-developers] Re: How to get Latitude and longitude information

2010-09-13 Thread TreKing
On Mon, Sep 13, 2010 at 12:49 PM, Gold wrote: > How can i get...! Once again... On Mon, Sep 13, 2010 at 12:35 PM, TreKing wrote: > At this point, I'm going to direct you here . >

[android-developers] Re: How to get Latitude and longitude information

2010-09-13 Thread Gold
Hi..Treking, I will tell the simply way..! I need current longitude and lattitude values..! How can i get...! Please..! Thanks in advance, Gold On Sep 13, 10:35

Re: [android-developers] Re: How to get Latitude and longitude information

2010-09-13 Thread TreKing
On Mon, Sep 13, 2010 at 12:00 PM, Gold wrote: > I am include "android.location" > OK. That's not really useful information. > I call the method getLongitude() as well as getLatitude () > On *what*? > .. But I didnt get any value..! > What does that mean? 0? Null? An exception? At this

RE: [android-developers] Re: How to get Latitude and longitude information

2010-09-13 Thread Tommy
r Database Administrator .net Web Specialist -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Gold Sent: Monday, September 13, 2010 1:00 PM To: Android Developers Subject: [android-developers] Re: How to get Latitude and longitude i

[android-developers] Re: How to get Latitude and longitude information

2010-09-13 Thread Gold
Hi.Treking..! I am include "android.location" I call the method getLongitude() as well as getLatitude () .. But I didnt get any value..! but i need to show current longitude and latitude information..!

Re: [android-developers] Re: How to get Latitude and longitude information

2010-09-13 Thread TreKing
On Mon, Sep 13, 2010 at 11:39 AM, Gold wrote: > In my android application..after login the user > has to send current position to server..! > >the button name "currentLocation". if the user > click the button current location , lattitude > >and longitude w

[android-developers] Re: How to get Latitude and longitude information

2010-09-13 Thread Gold
Hi..! In my android application..after login the user has to send current position to server..! the button name "currentLocation". if the user click the button current location , lattitude and longitude will be displayed in the text box