• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

Add new data from first activity to second activity in Android Studio

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, how can I add new data from first activity to second activity? For example, I'm making a Travel App, In my first activity you can find the image, title, and location and when I clicked it it will take you to the second activity where you can find the same image, title, and location. I already knew how to pass the data (image, title, location) but my problem is I don't know how to add new data like (description of the place and the gallery photo), how to do this? thank you
 
Rancher
Posts: 528
7
Android Tomcat Server Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it same like how you add the title and location
 
Hachi Man
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Randy Tong wrote:it same like how you add the title and location

in my case I don't want to add the description in the first activity. I just want to show the description in the second activity.
 
Hachi Man
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I already solved it
 
Marshal
Posts: 71627
312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please tell us what the solution was.
 
reply
    Bookmark Topic Watch Topic
  • New Topic