http://developer.android.com/reference/android/content/Intent.html#ACTION_PICK
"Input: getData() is URI containing a directory of data (vnd.android.cursor.dir/*) from which to pick an item." You do not specify a Uri in the input, and your <intent-filter> does not specify a <data> element to filter upon the Uri or its associated MIME type. On Thu, Apr 21, 2011 at 4:25 PM, Gerry Reno <[email protected]> wrote: > android-sdk_r10-linux_x86 > > Using implicit intent I cannot get the activity found. > > AndroidManifest.xml: > > <activity android:name="TestActivity" > android:label="@string/test_activity_title" > > > <intent-filter> > <action android:name="android.intent.action.PICK" /> > <category > android:name="android.intent.category.DEFAULT" /> > </intent-filter> > </activity> > > In Main Activity: > > try { > Intent intent = new Intent("android.intent.action.PICK"); > startActivityForResult(intent, 1); > } catch (ActivityNotFoundException e1) { > Log.e(e1.getMessage()); > } > > > Install and run in emulator 2.3.1 > > Result: > No Activity found to handle Intent > { act=android.intent.action.PICK ... > > > What am I missing here? > > > > > -- > 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 > -- 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

