1. Download our Official Android App: Forums for Android!

Data transfer between Activities

Discussion in 'Android Apps & Games' started by bsteer, Nov 10, 2010.

  1. bsteer

    bsteer Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Nov 10, 2010

    Nov 10, 2010
    2
    0
    5
    Developer
    Flat Rock, NC, USA
    Hello. I'm an android newbie, so hope this isn't a dumb question. I'm developing an android app that needs to transfer data between activities. Right now, I'm trying to use Java serialization to transfer a custom class. If I don't store the class object with myIntent.putExtra("key", myObject), the second Activity appears, but storing the object causes the app to crash. I'm suspecting something is missing in the manifest, but aren't sure. Can anybody help? :(
     

    Advertisement

Share This Page

Loading...