Monday, October 11, 2010

[android-developers] Re: Class Object and Messenger/Bundle

Look up parcelable interface in Android.

On Oct 11, 2:26 pm, Jim Cortez <j...@jimcortez.com> wrote:
>   Nevermind.
>
> I just realized that the java Class object implements Serializable. I
> can now use a bundle and call "putSerializable"
>
> Jim
>
> On 10/11/10 2:23 PM, Jim Cortez wrote:
>
>
>
> >  Hello all,
> >     I am trying to send a Class object using the android.os.Messenger
> > capabilities. The Bundle class does not have methods for adding a
> > Class object and the Class object is not parcelable. Has anyone done
> > this before? Are there any ideas on how to implement this? I am trying
> > to avoid passing the name as a string and using a class loader on the
> > other side.
> > Thank you,
> > Jim Cortez

--
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
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate