You can access the intent from the next activity by using the Intent property, so you can call Intent.GetStringExtra() to pull the string out.
http://docs.mono-android.net/?link=M:Android.Content.Intent.GetStringExtra On Sun, Nov 27, 2011 at 1:55 PM, Paul F. Johnson < [email protected]> wrote: > Hi, > > > Not followed the rest of the thread, but this is what I often do for > Serializable objects to be able to use them as strings: > > > > public class Foo > > { > > public override string ToString() > > { > > return Serialize(this); > > } > > > > public static Foo Deserialize(string serializedData) > > { > > if (string.IsNullOrEmpty(serializedData)) > > return new Foo(); > > > > XmlSerializer serializer = new XmlSerializer(typeof(Foo)); > > StringReader reader = new StringReader(serializedData); > > return (Foo)serializer.Deserialize(reader); > > } > > Pretty much, this is what I expect I need to do, but the question is, if > I use PutExtra in the intent, where does it appear in the receiving > methods? > > Paul > -- > Vertraue mir, ich weiss, was ich mache... > > _______________________________________________ > Monodroid mailing list > [email protected] > > UNSUBSCRIBE INFORMATION: > http://lists.ximian.com/mailman/listinfo/monodroid >
_______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
