The moose likes Android and the fly likes Uncaught handler: thread main exiting due to uncaught exception Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "Uncaught handler: thread main exiting due to uncaught exception" Watch "Uncaught handler: thread main exiting due to uncaught exception" New topic
Author

Uncaught handler: thread main exiting due to uncaught exception

Pramod P Deore
Ranch Hand

Joined: Jul 15, 2008
Posts: 611

In this application I tried to read the contacts and store them in one file. But when I tried to run this application it gives me following error as.


My ReadSimContact contain following code




Manifest.xml contains



What is the problem in this code.


Life is easy because we write the source code.....
Ankit Garg
Saloon Keeper

Joined: Aug 03, 2008
Posts: 9023

I created a new project in eclipse and used your code and it worked fine on Android 2.0 simulator (except for IOException because the required directories were not there)...


Javaranch SCJP FAQ | SCWCD Links
Monu Tripathi
Rancher

Joined: Oct 12, 2008
Posts: 1355

I believe Ulf answered this question in this thread, if I am not mistaken.


[List of FAQs] | [Android FAQ] | [My Blog]
 
 
subject: Uncaught handler: thread main exiting due to uncaught exception
 
MyEclipse, The Clear Choice