Hi all,
I'd like to launch the Menu -> Settings -> Security & Location
programmatically. I monitored the DDMS and noticed that the Intents
being launched are as follows:
Intent { action=android.settings.SETTINGS flags=0x10200000 comp=
{com.android.settings/com.android.settings.Settings} }
Intent { action=android.intent.action.MAIN comp=
{com.android.settings/com.android.settings.SecuritySettings} }
I tried to create an intent through
new Intent(Context.this, com.android.settings.SecuritySettings)
but there is no package called "settings" after com.android that is
accessible. So perhaps there's an action I can invoke to launch the
Settings activity. I browsed through
http://developer.android.com/guide/appendix/g-app-intents.html
and http://developer.android.com/reference/android/content/Intent.html,
but couldn't find the appropriate action.
Does anybody have any idea on how to launch the Settings activity?
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---