• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Transferring data from one activity to the other

c_bigg

Lurker
Mar 29, 2021
1
0
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
 

Attachments

  • app,png.png
    app,png.png
    111.4 KB · Views: 151

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones