File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Mobile » Android
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: 629

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
Sheriff

Joined: Aug 03, 2008
Posts: 9293
    
  17

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)...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Monu Tripathi
Rancher

Joined: Oct 12, 2008
Posts: 1369
    
    1

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


[List of FAQs] | [Android FAQ] | [Samuh Varta]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Uncaught handler: thread main exiting due to uncaught exception