G
G
genbach2019-10-11 07:22:41
Android
genbach, 2019-10-11 07:22:41

I am writing an audio player for Android, how to pass a string between an Activity?

Problem: ActivityA has a "Select Song" button. ActivityB is a list of songs. It is necessary to launch ActivityB from ActivityA by pressing the button, select a song and display data about it in ActivityA. When recreating the application process, ActivityA should display the song selected before the process was killed (a very important requirement!). How to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg, 2019-10-11
@genbach

StartActivityFoResult. Save activity state

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question