Hi when i am executing the code below in the android emulator i didn't
faced any problems in contrast when i executed from the AIDL phone, my
application got crashed any sugestions.

public boolean onOptionsItemSelected(MenuItem item) {
                        switch (item.getItemId()) {
                                case SET_RINGTONE :
 
Intent intent = new Intent(Intent.ACTION_PICK,
android.provider.MediaStore.Audio.Media.EXTERNAL_CONTENT_URI);
 
startActivityForResult(intent, 0);
.
..
..
..
..
}



The error i am getting is as below :

E/AndroidRuntime( 2137): Uncaught handler: thread main exiting due to
uncaught exception
E/AndroidRuntime( 2137): android.content.ActivityNotFoundException: No
Activity found to handle Intent { action=android.intent.action.PICK
data=content://media/external/audio/media }






--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to