try this, hope will help you: Context.LOCATION_SERVICE

LocationManager locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE);

Amy Wu
[email protected]

On 2010-10-16 2:53, Riz wrote:
hi,
i'm trying to obtain my location using android 2.1 thorugh
"Provider_Network" but the problem is it uses both cell towers and
Wifi Access Point. i only want to obtain my location through Wifi
Access point and not through cell towers? any idea how to do it?

thanks all for ur help.


--
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to