On Sat, Sep 4, 2010 at 4:58 AM, GREEN.POINT <[email protected]> wrote:
> I developing a simple location tracking software.
>
> And I want this functionality: if network and gps location providers
> are not enabled show android location settings.
>
> How to impliment this functionality?

Try:

startActivity(new
Intent(android.provider.Settings.ACTION_LOCATION_SOURCE_SETTINGS));

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in London: http://skillsmatter.com/go/os-mobile-server

-- 
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