1. Are you ready for the Galaxy S20? Here is everything we know so far!

Transferring data from one activity to the other

Discussion in 'Android Development' started by c_bigg, Mar 29, 2021.

  1. c_bigg

    c_bigg Lurker
    Thread Starter

    Hello, I am new to android studio and I am trying to figure out how send data from one activity to the other. Im sure it has something to do with intent, but otherwise I am not sure. I have a textview in my second activity where I want to transfer the data from the first activity. The app will get the user to enter weight, height, age, and activity level. the app will calculate bmr and then give the user a calorie goal they need to either lose or gain weight. I have attached a pic of what my current main looks like. I am not sure that the current code is what I am expecting. I have been trying to find a way to view if the variables are holding what I expect

    Attached Files:

    1. Download the Forums for Android™ app!


  2. Unforgiven

    Unforgiven ...eschew obfuscation...

    Development thread moved to the dev area for better exposure. Good luck!! :)
    ocnbrze likes this.

Share This Page