Alright,
So this weekend, I took Jon's advice and removed the dependency on Json.net,
System.Data and System.Data.Sqlite.
The app size is now 4.3 MB.
Biggest dlls now are
mscorlib => 1258 KB
System.dll => 475 KB
Mono.Android => 695 KB
All the assemblies now are only .Net assemblies, so it look
Thanks Sri and Jon,
I will look into using sqlite-net and System.json. Might lose a few features
but hopefully that will drive the size down to near 3 mb.
Thanks
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Application-Size-upon-deployment-tp5074555p5078091.htm
Hi,
I believe Jon suggestion to use System.json may be smallest,
I checked the size of using Jayrock.Json only and found that it adds
92KB to the dll size.
Best Regards,
Sridharan Srinivasan
Alias Sri.
On Thu, Dec 15, 2011 at 8:21 PM, Jonathan Pryor wrote:
> On Dec 14, 2011, at 6:40 P
On Dec 14, 2011, at 6:40 PM, klimaye wrote:
> The only part I can see where I could possibly make a change is the json
> parsing.
Mono for Android provides System.Json.dll, which is 24KB in size (unlinked).
Compare to Netwonsoft.Json.MonoDroid.dll, which is 358KB. You might want to
consider Sys
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
Jon,
Thanks for the response.
I need to interact with the sqlite db, so I don't see how I can do without
the System.Data and System.Data.Sqlite.
The only part I can see where I could possibly make a change is the json
parsing.
The Newtonsoft dll requires System.xml as a dependency it seems.
Wo
The 2.9 MB is the minimum for a hello world type application, which is
what you see in your first list.
Each additional feature you use will push this number up.
In your second list, you have added code that uses more assemblies past
the baseline:
- Mono.Data.Sqlite
- System.Data
- System.Xml.L
Jon,
I am on 4.0.1. Here is the split
I unziped the .apk and looked at the individual folders.
Here is what I noticed.
In my references I have the following dlls
Mono.Android
Mono.Data.Sqlite
mscorlib
Newtonsoft.Json.Monodroid
System
System.Core
System.Data
System.Json
System.Xml
System.Xml.lin
I definitely care about the size. It makes the app look bloated and it takes
a long time to download. You have to remember the quality of networks varies
wildly around the world too - I'm in Australia and it's not uncommon for me
to be waiting for downloads over GPRS when I'm in a 3G deadzone.
If
On Dec 14, 2011, at 12:06 PM, klimaye wrote:
> Here is the split from bin/release:
>
> a. APK size : 5.4 MB
> b. class lib (dll) size : 51 kb
> c. app (dll) size: 179 kb
> d. Newtonsoft.Json.Monodroid.dll size: 358KB
Which version of Mono for Android is this? Th
The .apk is simply a zip file. Rename your .apk to .zip, and you can
see exactly what's inside it.
Jonathan
On 12/14/2011 11:06 AM, klimaye wrote:
> Jon,
>
> I checked my options and
>
> On the app I have Linking set to
>
> SDK and User assemblies.
>
> On the mono class library : I also have
Yup, have N1 myself (for the time being anyway) so well aware of that and
the market limits. But looking forward, as I see devices getting "bigger",
I wonder if people will be as concerned about APK size. On my ADP1 I used
to be down right fanatical about it, on my N1 less so (especially with th
Jon,
I checked my options and
On the app I have Linking set to
SDK and User assemblies.
On the mono class library : I also have it set to the above.
Here is the split from bin/release:
a. APK size : 5.4 MB
b. class lib (dll) size : 51 kb
c. app (dll) size
On Dec 14, 2011, at 11:37 AM, Tom Opgenorth wrote:
> Just curious, with the the fact that devices are getting more and more
> memory, how many people still see the APK size as an issue going forward?
You need to care somewhat, as there is a maximum .apk size of 50MB for
deployment via the Androi
Just curious, with the the fact that devices are getting more and more
memory, how many people still see the APK size as an issue going forward?
On Wed, Dec 14, 2011 at 08:59, Jonathan Pryor wrote:
> On Dec 14, 2011, at 9:00 AM, klimaye wrote:
> > Our current apk size is around 5 MB, thought mos
On Dec 14, 2011, at 9:00 AM, klimaye wrote:
> Our current apk size is around 5 MB, thought most of that must be mono as
> during debug the app size is less than 1 MB.
>
> Wanted to know if there were plans to reduce the apk size even further.
4.0 introduced an improved linker over 1.2.0, decreas
Our current apk size is around 5 MB, thought most of that must be mono as
during debug the app size is less than 1 MB.
Wanted to know if there were plans to reduce the apk size even further.
Also, is there a certain legitimate boundary beyond which the apk size
cannot be reduced further since we
17 matches
Mail list logo