http://groups.google.com/group/android-developers/browse_thread/thread/9632cb52888ef6db
Easier to extend Activity, or static fields. You can serialize into a Bundle, as you state, but if you need to pass data within an app like that, it's a lot faster/easier to use the other aforementioned approaches. On Mar 25, 6:57 pm, Diego Pino <[EMAIL PROTECTED]> wrote: > Hi! > > I ve been trying to pass an array of Integers to an Activity via an > Intent. I explored putExtra/getParcelableArrayExtra but no success. > Finally, I decided to serialize my array to a bundle and send it using > putExtras. On the target activity I used getExtras for retrieving the > bundle and then unserializing it to an array. > > It works fine but it adds a significant overhead to my app. There > should be a more elegant/better approach to do this. Any suggestions? > > br --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---