On Tue, May 29, 2012 at 7:16 AM, Thomas <[email protected]> wrote: > Although the documentation has lots about using an app to launch an app via > an intent, what seems to be left out is that the launched app must have a > type of permission to be > launched " <category android:name="android.intent.category.DEFAULT" />"
That is not a permission. That is a category. An Intent used with startActivity() automatically gets the DEFAULT category added to it (unlike startService(), sendBroadcast(), etc.). Hence, your <intent-filter> in your <activity> will need to have the DEFAULT category, along with any other categories you wish to support (e.g., BROWSABLE). > As usual the use of capitals and not using capitals is completely arbitrary For your own action, perhaps. That is not true for any system-defined items, like your DEFAULT category. And, none of this has anything to do with the original question, which is how to *launch* an app, not how to create something that itself can be launched. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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

