Uncaught handler: thread main exiting due to uncaught exception

by ragu » Wed, 25 Mar 2009 01:33:22 GMT


Sponsored Links
 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 }






--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Creating Context Menus

Hi,

I was wondering if there was a way to create a context menu (or any
menu for that matter) in response to something like a button click
versus hooking into the phone's menu press or a push and hold event? I
need to be able to create a context menu and show that menu when the
user clicks on a button in the activity.

Thanks In Advance,
Dan

--~--~---------~--~----~------------~-------~--~----~

2. About gnu-ld version

Hello,
It seems that Android uses the gnu-ld, linker version 2.17 for
both arm and i686.
Is there any reason to use this version for Android ?

More later version,e.g. 2.17.50.0.X of gnu-ld has the support
of GNU-style hash, which gives much quicker relocation time in the
runtime loader, especially for the binaries which use many libraries
with
many symbols.
So, I think using the GNU-style hash for Android may give the better
performance of the runtime boot.
(Note that using this hash requires the additional implementation
of bionic linker)

Thank you very much.

-- Hoegaarden

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. TextView Widget - OnResume

4. Touch events lost during garbage collection, need kernel-level buffering

5. ANR after service has been stopped.

6. Running Dalvikvm on x86

7. View/layout designer/editor