Xamarin

Check that your linking isn't set up incorrectly if it adds 9MB to your app. That or you are using every single bit of .net.

I have tried many many things to reduce the size. I am using VS2013 and on my release build Linking is set to Sdk Assemblies only. I have even removed armeabi and x86 which dropped the size about 4mb. I am not using Shared Runtime, as that somehow increases my size again :(

A file new project with those settings spits out a 3.4mb application.

Also, I noticed now that after today's update they have debugging options under packaging. You can enable/disable developer instrumentation. Wonder if that'll effect size (it didn't).
 
Last edited:
I have tried many many things to reduce the size. I am using VS2013 and on my release build Linking is set to Sdk Assemblies only. I have even removed armeabi and x86 which dropped the size about 4mb. I am not using Shared Runtime, as that somehow increases my size again :(

A file new project with those settings spits out a 3.4mb application.

Also, I noticed now that after today's update they have debugging options under packaging. You can enable/disable developer instrumentation. Wonder if that'll effect size (it didn't).

Are you sure you're building in Release and not debug? The amount added by mono should not easily exceed 3MB. Maybe contact Xamarin support to help you out.

Here is a good explanation of what a difference debug vs release makes: http://developer.xamarin.com/guides/android/advanced_topics/application_package_sizes/
 
Are you sure you're building in Release and not debug? The amount added by mono should not easily exceed 3MB. Maybe contact Xamarin support to help you out.

Here is a good explanation of what a difference debug vs release makes: http://developer.xamarin.com/guides/android/advanced_topics/application_package_sizes/

Well I did select release at the top so pretty sure it is in release mode. Does the same on the other dev's machines so doubt it's just my machine.

It seems to be including the whole BCL package to our app. shared_runtime_package_size.png
 
Well I did select release at the top so pretty sure it is in release mode. Does the same on the other dev's machines so doubt it's just my machine.

It seems to be including the whole BCL package to our app. View attachment 170019

Yea that's why I asked. I haven't experienced this myself, but give their support a shout, they're pretty good.
 
Curious how nobody mentioned phone gap or corona? These Are meta-languages too but certainly lots of boilerplate
 
Apple has gone through a lot of trouble making managed code easier and accessible with xcode6. iOS is still the most utilized platform for apps and they are realizing the value of branching out to serve the growing developer community. No company save Microsoft is putting as much effort on that front.
 
Apple has gone through a lot of trouble making managed code easier and accessible with xcode6. iOS is still the most utilized platform for apps and they are realizing the value of branching out to serve the growing developer community. No company save Microsoft is putting as much effort on that front.

Yea that is true, and their app review times have more than halved which is fantastic! Xamarin (for us) still make it much easier as the devs can leverage their extensive .net knowledge so the learning curve decreases a lot. And the integration between Xamarin Studio and XCode is superb.
 
You'd think someone would give up with the derailment by now...

Its not derailment if you're giving alternatives that are free. If you want people to do your homework for you, go ask stackoverflow.
 
Its not derailment if you're giving alternatives that are free. If you want people to do your homework for you, go ask stackoverflow.
I'm sorry, but I don't remember starting this thread looking for alternatives to Xamarin. So yeah you're derailing.
 
And no one has mentioned Delphi XE7 yet. Can also do cross platform for Android and iOs natively.
 
Not sure if anyone's heard of ant? If you are dead set on cross compiling for every platform out there you'll always be using someone's hosted backend. But if you are not writing the code separately you will lose out on performance and there will be limitations (in fact these are inherent to c# and other top-heavy interpretive languages anyway). Your app's shelf life will also be reduce significantly. This is evident with every framework from cocos to unity and even unreal. When your app stalls on a redundancy or streamlining update, there will be no redress forthcoming from xamarin, plus your foolishly spent dollars will leave you stranded with no-one to blame but yourself. If you just want to create windows dressing deployments then try a meap solution like app guru that does the number crunching in the cloud.
 
I'm sorry, but I don't remember starting this thread looking for alternatives to Xamarin. So yeah you're derailing.

Since nobody has exactly been forthcoming with resources for Xamarin newbies (because apart from Xamarin's own docs I don't think there's much more that you couldn't find yourself with a google search) I don't think a broader discussion around pros/cons of comparative platforms is that far off-topic, especially since Android dev is such a hotly contested topic.

You'd probably have better luck in the actual Xamarin forums: http://forums.xamarin.com/
 
Top
Sign up to the MyBroadband newsletter
X