1. Download our Official Android App: Forums for Android!

Apps SMS App development

Discussion in 'Android Development' started by bokerinni, Jan 22, 2013.

  1. bokerinni

    bokerinni Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Nov 26, 2012

    Nov 26, 2012
    2
    0
    5
    Hello all,

    I am pretty new to Android development. I need some sort of help for development.
    I have developed the screens I need to use.
    Now the problem is that I need to pass the values from login screen (username and password) to another class.
    I am using custom made api that makes HTTP request using those credentials.

    Please help me guys,
     

    Advertisement

  2. jonbonazza

    jonbonazza Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    1,930
    Joined:
    Jul 13, 2010

    Jul 13, 2010
    1,930
    457
    163
    Male
    My first concern is why you need to login to use an sms app, but that aside, are you trying to send the values to a new Activity or what?
     
  3. bokerinni

    bokerinni Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Nov 26, 2012

    Nov 26, 2012
    2
    0
    5
    Yes. I am trying to pass the values from login screen to another class and another activity.
    User logs in, and then his username and password are used in another class in HTTP API URL.

    If we can solve this problem, we solved 90% of the app.

    Thanks for help anyway.

    ;)
     
  4. jonbonazza

    jonbonazza Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    1,930
    Joined:
    Jul 13, 2010

    Jul 13, 2010
    1,930
    457
    163
    Male
    To pass data from one activity, simply add the data to the Intent used to start the new activity using the put***() methods
     

Share This Page

Loading...