I'd like to launch the Messaging app's preference editor from our app.
I've found the relevant Activity -
"com.android.mms.ui.MessagingPreferenceActivity" - but when I launch
it as below, I get a security exception.

I can't work out if there is a permission that would make this work,
or if I'm just not allowed to launch this Activity, and I can't find
any general way to tell which Activity requires which permission. Is
there a way ?


Intent intent = new Intent();

ComponentName component = new ComponentName( "com.android.mms",
"com.android.mms.ui.MessagingPreferenceActivity");

intent.setComponent(component);

context.startActivity( intent );


Thanks,

Richard

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