Unable to parse string into int is causing my program to crash, and other errors?

mastaz314

New Member
I've got the main java file here: http://pastebin.com/S76bgi7aThe XML file here:http://pastebin.com/8CJj0S54And a pastebin ID for my strings here:2sk1emgBShort version: I run my program, it crashes, i'm not sure why. I look in the logcat and it gives me 04-27 02:58:47.927: E/AndroidRuntime(394): java.lang.RuntimeException: Unable to start activity ComponentInfo{walmart.namespace/walmart.namespace.WalmartActivity}: java.lang.NumberFormatException: unable to parse 'Please enter a department name' as integer. I can't figure out where in my text it's trying to convert a string into a number, aside from the case/ifthen statements. I apologize if my code is noobish, i am a novice at it.Edit: Same problem, only now i'm getting a 04-27 03:19:08.858: E/AndroidRuntime(448): java.lang.RuntimeException: Unable to start activity ComponentInfo{walmart.namespace/walmart.namespace.WalmartActivity}: java.lang.NumberFormatException: unable to parse '' as integer. I'm guessing this comes from my OnClickListener for it, which is supposed to delete the string when clicked.
 
Back
Top