Possible duplicate:
How to send an object from one Android activity to another using intentions?
I want to transfer a class object from Activity to another when one action calls another. I am trying to use Intent.putExtra(name, value) to do this, but then I have no Intent.getExtra(name) method. There are many methods, such as getStringExtra(name) , getDataExtra(name) , etc., but what I put in putExtra is an object of the class that has many different values ββlike String, Data and int. How can I execute this class?
source share