ANDROID onedittextchange can't get integer data

view story

http://stackoverflow.com – I have an application which has an edittext. It already has a default value number one (1). Then the user can change to anything he'd like like he wants to change it to 3. Then he can choose a food value from a spinner. Every food has a corresponding calories. For example, I choose a bread which has an 8 calories then I input in the edittext 2. The total calories should be 16 calories. 8 * 2. Please see what I have tried so far: String[] classes = { "Cornbread", "French Bread", "French Toast", "French Toast, low fat", "Italian Bread", "Wheat Bread", "Wheat Bre (HowTos)