xmiasma
Newbie
Whats up guys I just got my droid eris phone (its sweet as hell) but what really got me into the phone was the android OS cuz its open source and im interested in developing an app for it. I've been looking around online for tutorials and found some good ones on th developers.android site about views and what-not.
Now, one that they give an example of is the Relative View (one that has a textbar and two buttons ok and cancel) they dont do much else with the tutorial besides show in an xml file how to make the buttons and stuff. my questions are now:
1) writing the code in the main.xml file cannot be the way to go (or is it?) for that kind of stuff
2) how would you get input from the user like when they type into the text box and hit okay? you would have to handle some kind of event for the ok button being pressed?
im very familiar with c++ and class's, inheritance, object oriented programming so im not a totaly nub but just unfamiliar with this API...any suggestions for a good place to get some specifics like this? thanks for reading this and the help
Now, one that they give an example of is the Relative View (one that has a textbar and two buttons ok and cancel) they dont do much else with the tutorial besides show in an xml file how to make the buttons and stuff. my questions are now:
1) writing the code in the main.xml file cannot be the way to go (or is it?) for that kind of stuff
2) how would you get input from the user like when they type into the text box and hit okay? you would have to handle some kind of event for the ok button being pressed?
im very familiar with c++ and class's, inheritance, object oriented programming so im not a totaly nub but just unfamiliar with this API...any suggestions for a good place to get some specifics like this? thanks for reading this and the help