Can anyone tell me how we can get user input of an int. e.g "insert a number". the user inputs 2. we say "your number was 2". I can't do it for some reason and can't figure out how.
@MrSastreen Get A Text Edit And Then Get A Text And You Need A Button(To Refresh Data) Now Just Make It OnClicked Method And Get The Text From The Text Edit And Set A String Equal To It And Then Make The Text Equal "Your Number is" + wat ever the text edit String Value Was
You can subscribe to this playlist. Click on "Android Application Development Tutorials (thenewboston)" playlist link under my comment. Thumbs up to help others!
It'd be great if you could include the errors along the side in the tutorials as well. I like to make sure I'm getting them when I'm supposed to.
Mrace724 1 week ago in playlist The new boston Android tutorials
@mybringback can you compare a bundle with a session?
ShallowHeartNB 2 weeks ago
i can send 1 string through,but i'm trying to send more than 1 string(8 to be exact) i tried but i can't figure it out can anyone help?
KornBread311 1 month ago in playlist Android Application
@KornBread311 doesn't more basket.putStrings or a stringarray work?
ShallowHeartNB 2 weeks ago
Can anyone tell me how we can get user input of an int. e.g "insert a number". the user inputs 2. we say "your number was 2". I can't do it for some reason and can't figure out how.
MrSastreen 5 months ago
@MrSastreen Get A Text Edit And Then Get A Text And You Need A Button(To Refresh Data) Now Just Make It OnClicked Method And Get The Text From The Text Edit And Set A String Equal To It And Then Make The Text Equal "Your Number is" + wat ever the text edit String Value Was
DucksAreBest 4 months ago in playlist Android Application Development Tutorials
@MrSastreen
1) Make a Text Edit(say: blah)
2) Make a Button
3) Put this code inside the onClick method
blah.setText("Your number is " + blah.getText());
supersushi269 2 months ago
@MrSastreen you can add this to a edittext => android:inputType="number" so a user can only input a number then you can use .getInt i guess ^^
ShallowHeartNB 2 weeks ago
last!
HypnotizeCampPosse 5 months ago
You can subscribe to this playlist. Click on "Android Application Development Tutorials (thenewboston)" playlist link under my comment. Thumbs up to help others!
xGrowler 6 months ago in playlist Android Application Development Tutorials (thenewboston) 5
secondlol
sabivarga 6 months ago
This has been flagged as spam show
First!
Guding12 6 months ago
@Guding12 first to comment, last to get laid
mangopearandapples 6 months ago 18