How could you pass data between activities without Intent?

Minh Phượng

New member
How could you pass data between activities without Intent?
Answer
This example demonstrate about How to send data from one activity to another in Android without intent. Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project. Step 2 − Add the following code to
res/layout/activity_main.
xml
.
 

Tìm kiếm

Back
Top