зеркало из https://github.com/mono/mail-archives.git
148 строки
5.3 KiB
HTML
148 строки
5.3 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [mono-android] Application Size upon deployment
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%20Application%20Size%20upon%20deployment&In-Reply-To=1323906020258-5075997.post%40n5.nabble.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="007856.html">
|
|
<LINK REL="Next" HREF="007864.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[mono-android] Application Size upon deployment</H1>
|
|
<B>SRI</B>
|
|
<A HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%20Application%20Size%20upon%20deployment&In-Reply-To=1323906020258-5075997.post%40n5.nabble.com"
|
|
TITLE="[mono-android] Application Size upon deployment">srid68 at gmail.com
|
|
</A><BR>
|
|
<I>Thu Dec 15 09:15:25 EST 2011</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="007856.html">[mono-android] Application Size upon deployment
|
|
</A></li>
|
|
<LI>Next message: <A HREF="007864.html">[mono-android] Application Size upon deployment
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#7863">[ date ]</a>
|
|
<a href="thread.html#7863">[ thread ]</a>
|
|
<a href="subject.html#7863">[ subject ]</a>
|
|
<a href="author.html#7863">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>Hi,
|
|
|
|
I have removed the dependency on NewtonSoft by using Jayrock
|
|
Json parser. This was ok for me because I am using Jayrock RPC. You
|
|
can try to extract the Jayrock Json Parser only and include the
|
|
sources in your dll to reduce the NewtonSoft dependency. I had done
|
|
some modifications in the Jayrock Json Parser to make it compatible
|
|
with NewtonSoft. If you require my modified sources or any help in
|
|
using Jayrock, please feel free to ask.
|
|
|
|
The changes betweeen NewtonSoft and Jayrock are
|
|
|
|
a) Jayrock when you serialize a Object, camel cases the Property Names
|
|
b) Method Changes (which I have abstracted using the enclosed
|
|
JsonSerializerAdapter)
|
|
|
|
Please also note that I am a rusty coder (Professionally I am
|
|
Senior Project Manager/Solution Architect for the past 10 years) hence
|
|
these may have bugs. Only thing I can tell you is that I am using
|
|
Stringify, and Parse<T> methods and they are working for my objects
|
|
used in a SignalR prototype application.
|
|
|
|
Hope this helps you.
|
|
|
|
Best Regards,
|
|
Sridharan Srinivasan
|
|
Alias Sri
|
|
www.arshu.com
|
|
|
|
|
|
On Thu, Dec 15, 2011 at 5:10 AM, klimaye <<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">klimaye at gmail.com</A>> wrote:
|
|
><i> Jon,
|
|
</I>><i>
|
|
</I>><i> Thanks for the response.
|
|
</I>><i>
|
|
</I>><i> I need to interact with the sqlite db, so I don't see how I can do without
|
|
</I>><i> the System.Data and System.Data.Sqlite.
|
|
</I>><i>
|
|
</I>><i> The only part I can see where I could possibly make a change is the json
|
|
</I>><i> parsing.
|
|
</I>><i>
|
|
</I>><i> The Newtonsoft dll requires System.xml as a dependency it seems.
|
|
</I>><i>
|
|
</I>><i> Would there be an alternative approach that you know to parsing json on m4a
|
|
</I>><i> stack other than taking a dependency on json.net?
|
|
</I>><i>
|
|
</I>><i> If you have any other recommendations/ideas/advice, please let me know.
|
|
</I>><i>
|
|
</I>><i> Thanks
|
|
</I>><i>
|
|
</I>><i>
|
|
</I>><i>
|
|
</I>><i> --
|
|
</I>><i> View this message in context: <A HREF="http://mono-for-android.1047100.n5.nabble.com/Application-Size-upon-deployment-tp5074555p5075997.html">http://mono-for-android.1047100.n5.nabble.com/Application-Size-upon-deployment-tp5074555p5075997.html</A>
|
|
</I>><i> Sent from the Mono for Android mailing list archive at Nabble.com.
|
|
</I>><i> _______________________________________________
|
|
</I>><i> Monodroid mailing list
|
|
</I>><i> <A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">Monodroid at lists.ximian.com</A>
|
|
</I>><i>
|
|
</I>><i> UNSUBSCRIBE INFORMATION:
|
|
</I>><i> <A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">http://lists.ximian.com/mailman/listinfo/monodroid</A>
|
|
</I>
|
|
|
|
|
|
--
|
|
Sridharan Srinivasan
|
|
Alias Sri
|
|
Ph:(65)98255785/(65)63922439
|
|
www.arshu.com
|
|
-------------- next part --------------
|
|
A non-text attachment was scrubbed...
|
|
Name: JsonSerializerAdapter.cs
|
|
Type: application/octet-stream
|
|
Size: 2546 bytes
|
|
Desc: not available
|
|
Url : <A HREF="http://lists.ximian.com/pipermail/monodroid/attachments/20111215/8f848e77/attachment-0001.obj">http://lists.ximian.com/pipermail/monodroid/attachments/20111215/8f848e77/attachment-0001.obj</A>
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="007856.html">[mono-android] Application Size upon deployment
|
|
</A></li>
|
|
<LI>Next message: <A HREF="007864.html">[mono-android] Application Size upon deployment
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#7863">[ date ]</a>
|
|
<a href="thread.html#7863">[ thread ]</a>
|
|
<a href="subject.html#7863">[ subject ]</a>
|
|
<a href="author.html#7863">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/monodroid">More information about the Monodroid
|
|
mailing list</a><br>
|
|
</body></html>
|