I actually am doing some Serialization in my apps, but there's some
issues.

1. I could not get the serializable passing ability of a Bundle to
work. It has to do with a incorrect classloader error. I think it's
the same error that got in the road of serialization in the m3 sdk. It
was possible to work around though.
2. I've heard serialization is slower than implementing your object as
a parcelable.

I think one of the Google people commented about statics and said some
things about the static values being reset in certain instances. It
could be that I was misunderstanding what was said though.

It was a bit difficult to track down since there doesn't appear to be
a link in the Parcelable docs, but there is an example for the Rect
class here: http://code.google.com/android/reference/aidl.htmlt

On Mar 24, 1:47 pm, Raja Nagendra Kumar <[EMAIL PROTECTED]>
wrote:
> Hi Dan,
>
> Parcelable seems to be in parallel to Serialization. Dan do we really
> need to complicate the inter activity communcation like this.. What if
> we use one static class which has all the data to operation on and is
> accessable by every activity. I would be glad to hear your expert
> comments on this..
>
> I don't see any example of Parcelable in my search on apidemo's..
> could you pl. let me which class in case I am missing some thing.
>
> Regards,
> Nagendra
>
> On Mar 25, 12:46 am, "Dan U." <[EMAIL PROTECTED]> wrote:
>
> > Also, if you are in a situation of communicating data between separate
> > applications, I believe that's where you'd want to look into using a
> > content provider.
>
> > On Mar 24, 11:11 am, Raja Nagendra Kumar <[EMAIL PROTECTED]>
> > wrote:
>
> > > Hi,
>
> > > I am looking for a solid example, which does pass on objects, array of
> > > objects while a new intent is beeing created either by main activity
> > > or by sub activity. Also, need to know how a sub activity could pass
> > > on same data types back to partent activity.
>
> > > The google sample code does not have many details to this regard.
>
> > > Regards,
> > > Raja Nagendra Kumar,
> > > C.T.Owww.tejasoft.com-Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to