If your using an emulated device you are going to need to set up mock locations
check out this link and follow the "Andrews Link" in the first answer http://stackoverflow.com/questions/2531317/android-mock-location-on-device Tommy Android Mobile Phone Application Developer 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 information 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..! how i will achieve this..! Thanks in advance, Gold On Sep 13, 9:42 pm, TreKing <treking...@gmail.com> wrote: > On Mon, Sep 13, 2010 at 11:39 AM, Gold <thangadura...@gmail.com> 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 will be displayed in the text box as > > well as send to server > > None of that explains what you're having trouble with, nor did you answer > the question of what you have working so far. > > ---------------------------------------------------------------------------- --------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en