Hi Nagendra,
No problem, to get location on Android using the emulator Anrdoid
provides what is called:
LocationProvider. Ideally real Android phones will have more than one
location provider (cellId gps and so on)
Currently the API only has a "fake" gps provider.
To access it, simply get a location manager:
LocationManager myLocationManager=
(LocationManager)getSystemService(Context.LOCATION_SERVICE);
then we simply ask it for the location
Location myLocation = myLocationManager.getCurrentLocation("gps");
Hope that helps!
Fernando
On May 10, 10:31 pm, Raja Nagendra Kumar <[EMAIL PROTECTED]>
wrote:
> Hi Fernan,
>
> I am looking for how to get location. Could you pl. let me know the
> respective API which u are using. Also, could we also find operator
> and time of the mobile user. If yes, pl. direct me to respective
> URL's.
>
> Sorry.. this post does not your query but ask few details of your
> work.
>
> Regards,
> Nagendra
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---