Diego,
As I understand things, the maps demo on github requires m4a 1.9.2 or later. I
expect that when m4a 2.0 ships, there you will need to look at an update to
your samples to take into account new/changed apis.
Wally
> From: diegogu...@gmail.com
> Date: Wed, 23 Nov 2011 13:24:58 +0100
> To:
Hi,
This is driving me mad
I have a class called foo with [Serialize] above it to serialize it.
In the main tab constructor, I have
Bundle b;
b.PutSerializable("data", foo);
intent.PutExtras(b);
Should be ok, except for PutSerializable it needs to be Java.IO.ISerializable
Putting (Java.IO
On Nov 23, 2011, at 10:20 AM, Paul Johnson wrote:
> I have a class called foo with [Serialize] above it to serialize it.
>
> In the main tab constructor, I have
>
> Bundle b;
> b.PutSerializable("data", foo);
> intent.PutExtras(b);
This is not what you think it is. Java.IO.ISerialzable !=
Syste
Hi,
Jonathan Pryor-2 wrote
>
>> In the main tab constructor, I have
>>
>> Bundle b;
>> b.PutSerializable("data", foo);
>> intent.PutExtras(b);
>
> This is not what you think it is. Java.IO.ISerialzable !=
> System.Runtime.ISerializable. They have _completely_ different semantics,
> not least i
Hi,
Re XML serialization...
Typically, I would use (say)
foo p = new p();
System.Xml.Serialization.XmlSerializer x = new
System.Xml.Serialization.XmlSerializer(p.GetType());
x.Serialize(Console.Out, p);
Obviously, I can't use Console.Out, so where do I need to point it to (for
example a tempor
On Nov 23, 2011, at 11:03 AM, nodoid wrote:
> This is seriously annoying me now. I've used XML before now in another app
> which is easy enough to do, but does seem overkill. Looking on the docs for
> the ContentProvider, it seems to be best suited to apps sharing data rather
> than sharing within
I found this code through some searching. I am using json in my code
but using xml should be relatively simple change in the code.
public static byte[] ToJson(T instance) --> it's converted to
byte[] because i'm using it in httpwebrequest, you could just return
the string.
{
DataContrac
On Nov 23, 2011, at 11:16 AM, nodoid wrote:
> foo p = new p();
>
> System.Xml.Serialization.XmlSerializer x = new
> System.Xml.Serialization.XmlSerializer(p.GetType());
StringWriter o = new StringWriter();
x.Serialize (o, p);
// o.ToString() contains the written string...
Hi,
> On Nov 23, 2011, at 11:16 AM, nodoid wrote:
> > foo p = new p();
> >
> > System.Xml.Serialization.XmlSerializer x = new
> > System.Xml.Serialization.XmlSerializer(p.GetType());
>
> StringWriter o = new StringWriter();
> x.Serialize (o, p);
Then just pass using PutExtra(string,
On Nov 23, 2011, at 1:04 PM, Paul F. Johnson wrote:
>> StringWriter o = new StringWriter();
>> x.Serialize (o, p);
>
> Then just pass using PutExtra(string, string)?
Use o.ToString(), yeah:
b.PutExtra ("my.name", o.ToString ());
- Jon
Greg Shackles and Johnathan Pryor have an article on the subject;
http://mono-for-android.1047100.n5.nabble.com/another-Java-versus-C-how-to-td4332736.html
"C# doesn't allow anonymous implementations like Java (ie: the listener
interfaces) so those get replaced by events/delegates in C#. If you w
11 matches
Mail list logo