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,746
  • 8
  • 42
  • 62
Santhosh
  • 4,956
  • 12
  • 62
  • 90

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
  • 5,015
  • 1
  • 28
  • 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
  • 2,027
  • 1
  • 16
  • 16