Parsing EditText to int HELP

Put your problem here if it does not fit any of the other categories.

Parsing EditText to int HELP

Postby Zookey » Wed Sep 21, 2011 12:03 am

Okey, I need to get text from EditText ( numbers only ) and parse it to int.

I compile it, but when i run it on emulator, i got this error on ddms.

http://www4.slikomat.com/11/0921/bg9-Captur.jpg


Code: http://pastebin.com/u1MnZP34
Zookey
Freshman
Freshman
 
Posts: 2
Joined: Thu Jun 30, 2011 4:44 pm

Top

Re: Parsing EditText to int HELP

Postby Dockland » Wed Sep 21, 2011 7:34 am

et1 is null (not assigned, not yet found).

Better use english names for variables.
If you will decide to share the code...
You will have good practice which will help if you have to work in international company or as a volunteer or as a freelancer.
Dockland
Developer
Developer
 
Posts: 37
Joined: Wed Jul 27, 2011 12:29 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 20 guests