Android: how do i pass an object from one activity to another

Posted by mtmurdock on Stack Overflow See other posts from Stack Overflow or by mtmurdock
Published on 2010-05-25T17:29:05Z Indexed on 2010/05/25 17:31 UTC
Read the original article Hit count: 242

Filed under:
|
|
|

I need to be able to use one object in multiple activities within my app, and it needs to be the SAME object. What is the best way to do this?

I have tried making the object "public static" so it can be accessed by other activities but for some reason this just isn't cutting it. Are there any other ways of doing this?

© Stack Overflow or respective owner

Related posts about android

Related posts about object