On Jul 22, 2011, at 4:28 PM, BarryJohnston wrote:
> I've been a software developer for 15yrs but I'm new to MonoDroid
> development.  Could you explain about the IParcel?

What's currently missing from mandroid is the support to properly implement the 
IParcelable interface; a related one is java.io.Serializable. The fundamental 
problem is that these interfaces require additional support members -- the 
android.os.Parcelable interface (IParcelable) requires that the interface 
implementation have a `static final CREATOR` field which refers to an instance 
to use for marshaling. mandroid.exe, at present, doesn't support the creation 
of user-specified Java-side fields, in any form; consequently, IParcelable 
can't be implemented in a usable fashion.

java.io.Serializable is similar but different: it requires that the Java type 
provide private writeObject() and readObject() methods. Again, mandroid.exe at 
present doesn't provide any mechanism to add additional methods to the created 
Java code.

> I don't think I'm using that, however I do pass an Intent to 
> Bundle.PutParcelable.

Indeed, you do not appear to be implementing IParcelable, so this shouldn't be 
an issue for you.

If this is crashing the OS for you, could you file a bug at 
bugzilla.xamarin.com so that we can investigate further?

Thanks,
 - Jon

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to