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.Linq

And also uses more features in the assemblies that your first list had, 
causing them to be bigger:
- ~300KB in mscorlib
- ~250KB in System
- ~400KB in System.Xml

Your size is larger than the minimum because your code uses more 
features than the minimum, so those features have to be included as 
well.  The good news is you've pretty much pulled in most of it, so it 
won't get much bigger as you add more code.

Jonathan


On 12/14/2011 4:53 PM, klimaye wrote:
> 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.linq
>
> Now when I look at the assemblies folder (which takes up 3.75 MB)
> Mono.Android
> Mono.Data.Sqlite
> mscorlib
> Newtonsoft.Json.Monodroid
> System
> System.Core
> System.Data
> System.Json
> System.Xml
> System.Xml.linq
>
> plus
> System.Runtime.Serialization
> System.Transactions.dll
>
> I see size increases for certain dlls as well.
>
> So even before I had my meat to my app, the app size now is>  5 MB.
>
> I want to talk with sqlite and talk with a web service via json, that's all.
>
> What could I do to get the size to come down?
> http://mono-for-android.1047100.n5.nabble.com/file/n5075938/AppSize.docx
> AppSize.docx
>
> Any ideas/thoughts appreciated.
>
> I am attaching a word doc with the screen shots of the before and after
> sizes.
>
>
> --
> View this message in context: 
> http://mono-for-android.1047100.n5.nabble.com/Application-Size-upon-deployment-tp5074555p5075938.html
> Sent from the Mono for Android mailing list archive at Nabble.com.
> _______________________________________________
> 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

Reply via email to