Re: [android-developers] ActivityNotFoundException for Media Gallery android.intent.action.PICK on Samsung Fascinate

2010-11-09 Thread Dianne Hackborn
If you want to have the user pick an image, I would strongly recommend using GET_CONTENT with MIME type image/*. The ACTION_PICK approach is a more restricted operation that is not as useful and I would discourage people from using. On Mon, Nov 8, 2010 at 9:47 PM, rnstewart rnstew...@gmail.com

[android-developers] ActivityNotFoundException for Media Gallery android.intent.action.PICK on Samsung Fascinate

2010-11-08 Thread rnstewart
I have an app that (among other things) uploads pictures to Flickr, and it takes advantage of the Media Gallery intents to allow the user to choose an image to upload. When the user hits the Upload button, I run the following code: startActivityForResult(new Intent(Intent.ACTION_PICK,

[android-developers] ActivityNotFoundException

2010-03-01 Thread frak
Hi there, I am trying to start a new activity from a menu action, as follows: public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case MENU_PREF: showDialog(MENU_PREF); return true;

[android-developers] ActivityNotFoundException on explicit class declared in manifest on G1, emulator OK

2009-09-30 Thread David Bernstein
I have some code that starts another activity based on a menu item selection: public boolean onOptionsItemSelected( MenuItem item ) { Log.d( TAG, onOptionsItemSelected(): entering... ); //... switch ( item.getItemId() ) { //... case

[android-developers] ActivityNotFoundException when trying to start another Activity from Preferences via Intent

2009-04-28 Thread Dentharg
Hi! I've seen this example in API demos: PreferenceScreen android:title=@string/title_intent_preference android:summary=@string/summary_intent_preference intent android:action=android.intent.action.VIEW android:data=http://www.android.com; / /PreferenceScreen I'm trying to start another

[android-developers] ActivityNotFoundException..

2008-11-25 Thread sylvek
Hi, I want to launch a new Activity from my current Activity.. so i do: activity android:name=.Device android:label=@string/device_name intent-filter action android:name=android.intent.action.EDIT / /intent-filter /activity and in my code .. Intent intent = new