• Post Reply Bookmark Topic Watch Topic
  • New Topic

Uncaught handler: thread main exiting due to uncaught exception

 
Pramod P Deore
Ranch Hand
Posts: 632
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ankit Garg
Sheriff
Posts: 9597
36
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)...
 
Monu Tripathi
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe Ulf answered this question in this thread, if I am not mistaken.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!