1

I have to store my data (mobileNumber, name, message) into an object in my Activity class, then i want to send that object to another Activity class. How can i do that?? And i want to know the procedure to retrieve the object in other Activity class. Can anyone help me please.

qrtt1
  • 7,508
  • 8
  • 40
  • 60
Santhosh
  • 4,886
  • 12
  • 56
  • 88

2 Answers2

0

check this ans.. Pass custom class object from one intent to ither intent without parcelable

parcelable also the option to pass custom class object from one to other intent

Community
  • 1
  • 1
user1140237
  • 4,927
  • 1
  • 27
  • 56
0

Try to read this post: How to send an object from one Android Activity to another using Intents?

I think you will have your answer.

Community
  • 1
  • 1
Cedekasme
  • 1,977
  • 1
  • 15
  • 16