Android Application Development Tutorial - 47 - Passing a String between Activities
Top Comments
All Comments (14)
-
Great metaphor with the basket and the bread! Love it ;)
-
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.
-
@KornBread311 doesn't more basket.putStrings or a stringarray work?
-
@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 ^^
-
@mybringback can you compare a bundle with a session?
-
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?
-
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());
-
@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
-
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.
-
last!
@Guding12 first to comment, last to get laid
mangopearandapples 6 months ago 19
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) 4