1. Check out our companion app, Forums for Android! Download from Google Play

Getting values from one Activity to the next.

Discussion in 'Application Development' started by patrick848, Aug 14, 2011.

  1. patrick848

    patrick848 Member
    Thread Starter
    35

    Jun 21, 2010
    12
    0
    35
    Lifeguard
    Cleveland, Ohio
    I've been working on my first Android app for a little while, and I pretty much have the user interface done. I've been very happy with my progress so far, but recently I ran into my first real problem.

    I need to get these values: [​IMG]

    and use them on the home screen part: [​IMG]

    I'd like to be able to save the name and percent and create a new entry on a table below the buttons that will display the name and the percent. After that, I want to be able to take input from here: [​IMG]

    And divide it amongst the categories.

    Any help is much appreciated, I'm of course not looking for someone to completely do the work for me, just lend me a helping hand.

    p.s. Sorry the pictures are big, didn't take the time to worry about resizing or anything like that.

    p.p.s. Remember that this is my first app, and I really haven't done much programming in my life before, so please explain everything like I'm a beginner.
     

    Advertisement

  2. alostpacket

    alostpacket Over Macho Grande?
    513

    Nov 29, 2009
    7,978
    3,606
    513
    Android App Developer
    NY
    is that a Dialog or an Activity you have for entering in values?

    It looks like you only have 1 Activity (screenshot 2) with 2 Dialogs overlaying them (screenshot 1 and 3)
     

Share This Page

Loading...