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. Dim Screen - Set to sleep programmatically

Hi there!!

A little question about custom Power Management...

Is it allow for my app to dim the screen programmatically??, the goal
would be to send the phone sleeping when a
Intent.ACTION_BATTERY_CHANGED event is handled by a BroadcastReceiver,
just like its done automatically by the OS (if so configured) after x
time of inactivity.

Thanks above all.

Alex.

-- 

2. Dari magic pindah ke her

Malem guys,

Cm penasaran aja secara spec hero ama magic kan hampir mirip dan cm beda di
camera, nah kok banyak orang yg jual magic pindah ke hero yah?

Soalnya lagi pengen ambil magic 2nd rencananya, kan harga beda lumayan jauh
ama si hero :)


Thx,
Albert

-- 
=========================
Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to id-android@googlegroups.com

To request to subscribe to this group:

Click  

3. How do I retrieve the MIMETYPE of an entry?

4. when is onDraw called, how to force it?

5. querying ContactsContract: How can I use smth like GROUP BY?

6. Issue 1151: RFE: Support install of apps on SD cards

7. How to parse html with saxparser (or other solution)