August 5th, 2012, 07:03 AM
|
#1 (permalink)
|
|
Member
Thread Author (OP)
Join Date: May 2010
Posts: 125
Device(s):
Carrier: Not Provided
Thanks: 1
Thanked 2 Times in 2 Posts
|
JAVA to XML
Hi guys.
New to Android Development and was wondering if there was some way of taking the users input to create an activity? For example say the user is going through the process of setting up a profile of themself. One of the questions is "how many pets do you have?". The user inputs "4" and then clicks the 'Next' button (which opens the next activity).
How would I take the users input of "4" to create four editText objects in the next activity so that the user can now input the name's of his/her's pets?
I'm an ok programmer so you don't need to go into detail I just don't know how I would access this variable to create the four editText objects. From what I've found you can't add strings to the resources at runtime.
|
|
|