On Sep 16, 2011, at 9:11 AM, efontana wrote: > This technique illustrates just how bad the Android API is. > > Why the hell can't you new up your own Intent, why do they have to do it for > you?
You can new up your own Intent, and frequently do so: https://github.com/xamarin/monodroid-samples/blob/master/ApiDemo/ApiDemo.cs#L64 > Otherwise, you'd pass your own data into the Constructor and you wouldn't > need some stupid > key-value pair hack to pass data back and forth. The problem is that Intents are potentially cross-process, hence the presence of android.os.Parcel in Intent.putExtra(String,Parcelable). Since the Intent could be sent to another process, it can't send anything that doesn't support marshaling, and (unfortunately) Mono for Android doesn't currently support implementing the Android.OS.IParcelable interface. - Jon _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid