aspose 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
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: 9280
    
  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

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
 
Similar Threads
contacts doesn't display
unable to create the service ,it gives null pointer exception
How to find out programatically that file is already exist or not?
INSTALL_FAILED_OLDER_SDK
ERROR/AndroidRuntime(706): java.lang.RuntimeException: Unable to start activity