Basically, I'm trying to learn some android and in the book I bought one of the exercises is to make an app to convert from Celsius to Fahrenheit when I enter a number in the Celsius's edit text.
So far my layout is a button, two editTexts and the labels that say what they are. Here is what I got, I sort of copied a program from my book and cannibalized it into this, can anyone tell me if I am close to being on the right track?
http://pastebin.com/uAxnyiVW
Could you please copy your code into pastebin.com ? It's much easier on the eyes.
Sorry about that, derp'd there. Here http://pastebin.com/uAxnyiVW
Can you tell me what you are trying to do with the code? For example, if you want to trigger some event when a button is pressed or something like that. You are on the right track for initializing the views( buttons, editText,etc.)
When the user enters a temp in Celsius in an edit text I want to set an integers value to that temperature, then convert said temperature from Celsius to Fahrenheit and display that value in another edit text. If need be I can paste bin the xml file.