mail-archives/mono-bugs/2010-October/104465.html

130 строки
4.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 643623] New: Cannot add an object to a bundle via Bundle.PutParcelable()
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20643623%5D%20New%3A%20Cannot%20add%20an%20object%20to%20a%20bundle%20via%0A%20Bundle.PutParcelable%28%29&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="104464.html">
<LINK REL="Next" HREF="104466.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 643623] New: Cannot add an object to a bundle via Bundle.PutParcelable()</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20643623%5D%20New%3A%20Cannot%20add%20an%20object%20to%20a%20bundle%20via%0A%20Bundle.PutParcelable%28%29&In-Reply-To="
TITLE="[Mono-bugs] [Bug 643623] New: Cannot add an object to a bundle via Bundle.PutParcelable()">bugzilla_noreply at novell.com
</A><BR>
<I>Mon Oct 4 15:36:07 EDT 2010</I>
<P><UL>
<LI>Previous message: <A HREF="104464.html">[Mono-bugs] [Bug 605936] System.InvalidProgramException: Invalid IL code in (wrapper delegate-invoke)
</A></li>
<LI>Next message: <A HREF="104466.html">[Mono-bugs] [Bug 643626] New: Provide parity between .NET serializable objects and Java serializable objects
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#104465">[ date ]</a>
<a href="thread.html#104465">[ thread ]</a>
<a href="subject.html#104465">[ subject ]</a>
<a href="author.html#104465">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=643623">https://bugzilla.novell.com/show_bug.cgi?id=643623</A>
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=643623#c0">https://bugzilla.novell.com/show_bug.cgi?id=643623#c0</A>
Summary: Cannot add an object to a bundle via
Bundle.PutParcelable()
Classification: Mono
Product: MonoDroid
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Class Libraries
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mkestner at novell.com</A>
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">gshackles at gmail.com</A>
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.24 Safari/534.7
Taken from an e-mail from Jonathan Pryor on the mailing list
-------------
I would like to suggest that you instead use Bundle.PutParcelable():
<A HREF="http://docs.monodroid.net/index.aspx?link=M:Android.OS.Bundle.PutParcelable(System.String,Android.OS.IParcelable">http://docs.monodroid.net/index.aspx?link=M:Android.OS.Bundle.PutParcelable(System.String,Android.OS.IParcelable</A>)
Unfortunately that requires exporting a &quot;magic field&quot; from your
type...which also isn't currently supported by monodroid.
Reproducible: Always
--
Configure bugmail: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="104464.html">[Mono-bugs] [Bug 605936] System.InvalidProgramException: Invalid IL code in (wrapper delegate-invoke)
</A></li>
<LI>Next message: <A HREF="104466.html">[Mono-bugs] [Bug 643626] New: Provide parity between .NET serializable objects and Java serializable objects
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#104465">[ date ]</a>
<a href="thread.html#104465">[ thread ]</a>
<a href="subject.html#104465">[ subject ]</a>
<a href="author.html#104465">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>