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. VOOT - WTB : ipod touch 4thgen 8gb

silahkan japri penawaran terbaik saya follow up,
terimakasih

-- 
===============
"Indonesian Android Community [id-android]"

PING'S mobile
Email: sa...@pings-mobile.com  Ph. (021) 96087100
---------------------
Yopie Ratjoen
Email: yo...@ratjoen.com  Ph. 08977726681
--------------------
Gila original
Email: i...@gilaoriginal.com  Ph. (031) 91555898
--------------------

Aturan Jual/Kloteran ID-Android  http://goo.gl/azW7

2. Error: selected processor does not support ARM mode `cpsie i'

Hello,

When I compile the android kernel for i.MX51 board.
My cross compile is :arm-none-linux-gnueabi-gcc

But I meet such error.

Can you give me some advice.

*****************************************************
[r...@localhost kernel_imx]# make
  CHK     include/linux/version.h
  Generating include/asm-arm/mach-types.h
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-arm
  HOSTCC  scripts/basic/fixdep
scripts/basic/fixdep.c: €raps:
scripts/basic/fixdep.c:377: 
scripts/basic/fixdep.c:379: 
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/basic/hash
  CC      kernel/bounds.s
  GEN     include/linux/bounds.h
  CC      arch/arm/kernel/asm-offsets.s
  GEN     include/asm/asm-offsets.h
  CALL    scripts/checksyscalls.sh
<stdin>:1097: warning: #warning syscall fadvise64 not implemented
<stdin>:1265: warning: #warning syscall migrate_pages not implemented
<stdin>:1321: warning: #warning syscall pselect6 not implemented
<stdin>:1325: warning: #warning syscall ppoll not implemented
<stdin>:1365: warning: #warning syscall epoll_pwait not implemented
  HOSTCC  scripts/genksyms/genksyms.o
  HOSTCC  scripts/genksyms/lex.o
  HOSTCC  scripts/genksyms/parse.o
  HOSTLD  scripts/genksyms/genksyms
  CC      scripts/mod/empty.o
  HOSTCC  scripts/mod/mk_elfconfig
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
  HOSTCC  scripts/kallsyms
  HOSTCC  scripts/pnmtologo
  HOSTCC  scripts/conmakehash
  HOSTCC  scripts/bin2c
  CC      init/main.o
/tmp/ccV3RhhG.s: Assembler messages:
/tmp/ccV3RhhG.s:255: Error: selected processor does not support ARM mode
`cpsie i'
/tmp/ccV3RhhG.s:701: Error: selected processor does not support ARM mode
`cpsid i'
/tmp/ccV3RhhG.s:709: Error: selected processor does not support ARM mode
`cpsid i'
/tmp/ccV3RhhG.s:723: Error: selected processor does not support ARM mode
`cpsid i'
/tmp/ccV3RhhG.s:737: Error: selected processor does not support ARM mode
`cpsid i'
/tmp/ccV3RhhG.s:809: Error: selected processor does not support ARM mode
`cpsid i'
/tmp/ccV3RhhG.s:834: Error: selected processor does not support ARM mode
`cpsie i'
make[1]: *** [init/main.o]  1
make: *** [init]  2
*****************************************************

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

3. Save webview content for offline browsing

4. JNI Global Variables And activity change? / SIGKILL vs SIGTERM

5. CameraPreview example distorted with samsung galaxy s

6. SQL Case Sensitivity between 2.1 and 2.2

7. how to check whether table is existed or not in database?