aspose file tools*
The moose likes Android and the fly likes my first activity runing happen error:Uncaught handler: thread main exiting due to uncaught exceptio Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "my first activity runing happen error:Uncaught handler: thread main exiting due to uncaught exceptio" Watch "my first activity runing happen error:Uncaught handler: thread main exiting due to uncaught exceptio" New topic
Author

my first activity runing happen error:Uncaught handler: thread main exiting due to uncaught exceptio

laker jin
Greenhorn

Joined: Sep 02, 2010
Posts: 3
hrloo.java



main.xml


strings.xml


i think maybe folowing code have error:


thank you!



Pramod P Deore
Ranch Hand

Joined: Jul 15, 2008
Posts: 629

Hi, Laker the problem is in syntax here

It should be like this

And next time please provide logcat error messages while posting.


Life is easy because we write the source code.....
Pramod P Deore
Ranch Hand

Joined: Jul 15, 2008
Posts: 629

And welcome to JavaRanch
laker jin
Greenhorn

Joined: Sep 02, 2010
Posts: 3
Pramod P Deore wrote:And welcome to JavaRanch


so thank you,deore!

the site is so likely! ilike it!

about my problem,it still have erroe, i have change it as you said.

the log is:


and i found eclips ,its "Error log" table recommd "argement cant be null"

again thank you !
Pramod P Deore
Ranch Hand

Joined: Jul 15, 2008
Posts: 629

Just after changes in main.xml application run fines on my computer. Try one more time Copy the whole code as you had given in you first post and make changes only in EditText and Button as I told earlier application will definitely run.
laker jin
Greenhorn

Joined: Sep 02, 2010
Posts: 3
great deore!

after weeken,this programe have normal work!

so thank you,i don‘t know by my poor english to how to discrible my thanks, luck to you!
Pramod P Deore
Ranch Hand

Joined: Jul 15, 2008
Posts: 629

Welcome
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: my first activity runing happen error:Uncaught handler: thread main exiting due to uncaught exceptio