Android Application Development Tutorial - 47 - Passing a String between Activities

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
11,849
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 20, 2011

Check out the full series at http://www.thenewboston.com/

Here is a link to the mybringback YouTube Channel. Go and subscribe now!

http://www.youtube.com/user/mybringback

Also, the mybringback official website:

http://mybringback.com/

  • likes, 1 dislikes

Link to this comment:

Share to:

Top Comments

see all

All Comments (14)

Sign In or Sign Up now to post a comment!
  • 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?

  • @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());

  • @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!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more