tag:blogger.com,1999:blog-1853768304794693097.post3830176153881429104..comments2024-03-10T08:33:47.120-07:00Comments on It's a blong, blong, blong road...: Mono for Android 1.0 & MonoTouch 4.0 releasedblonghttp://www.blogger.com/profile/15865043713752235355noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-1853768304794693097.post-41050795105568121822011-04-07T03:54:34.505-07:002011-04-07T03:54:34.505-07:00Oh, and load times may be fractionally improved. B...Oh, and load times may be fractionally improved. But on the device it's not noticeable.<br /><br />You do get a hit from the Mono runtime.<br /><br />However... it's a first time hit. Since the Android way is to not kill processes until absolutely necessary, you tend to find going back to an app, even much later, is very quick to hit the first screen (splash screen in my case).<br /><br />I was playing with the option of really physically exiting my app at one point, but found that is not a good plan and goes against the Android ethos.<br /><br />As does use of a Task Killer.<br /><br />I used one of those for the first few months of owning my Android phone, thanks to reading about how they were necessary from the user reviews.<br /><br />I only realised much later that they are actually a potential problem for the phone - killing processes is not the way. Android will pare things down if it needs to when under pressure.<br /><br />Hence I've uninstalled the Task Killer and things are all fine and dandy.blonghttps://www.blogger.com/profile/15865043713752235355noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-33607542808316986892011-04-07T03:48:52.334-07:002011-04-07T03:48:52.334-07:00That is about the size of it, yes.
I haven't ...That is about the size of it, yes.<br /><br />I haven't yet found out how the device decides how much stuff stays on the phone when you move things to the SD card. It seems to vary from case to case.<br /><br />But yes, SD card usage drops significantly but the phone usage stays about the same.<br /><br />On older phones (!) like the original HTC Desire, which had somewhat limited app space on the phone, this can still be of concern.<br /><br />But my understanding is that more recent phones (such as the Desire HD etc.) increase this, and so this becomes less of an issue.<br /><br />Of course some people overcome the issue entirely by rooting the phone and installing a custom ROM, which makes more space available, but it's not something I've yet tried.<br /><br />As mentioned yesterday, if I need some space, a careful look at the things installed typically yields a bunch of frivolous things that aren't actually used barely at all.<br /><br />Not an ideal user solution, I grant you.<br /><br />Definitely things to bear in mind...blonghttps://www.blogger.com/profile/15865043713752235355noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-74546019700091198042011-04-07T03:37:22.898-07:002011-04-07T03:37:22.898-07:00Thanks Brian.
So you're getting back maybe 20...Thanks Brian.<br /><br />So you're getting back maybe 20MB of SD space, but the phone storage consumed is essentially unchanged - if I've understood correctly.<br /><br />Are you seeing any load time improvements with the new model?<br /><br />MikeMike Dillamorehttps://www.blogger.com/profile/05202662406953219734noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-49971947112169435302011-04-07T03:07:53.362-07:002011-04-07T03:07:53.362-07:00That's a sensible question, Mike. I hadn't...That's a sensible question, Mike. I hadn't checked, but your question prompted me to test it out on the final Preview version, Preview 14.<br /><br />With the Debug configuration, the files generated to disk by the compiler looked like this:<br /><br />bin\Debug\TimeSheet.dll = 41 kB<br />bin\Debug\com.blong.TimeSheet.apk = 329 kB<br />bin\Debug\com.blong.TimeSheet-Signed.apk = 332kB<br /><br />On the phone the figures were as follows. The first figure is the size when the item is installed on the external storage (SD card, as in App2SD). The bracketed figure is the size if installed solely on the phone.<br /><br />TimeSheet 1.0 = 556 kB (892 kB)<br />Mono Shared Runtime = 3.87 MB (18.02MB)<br />Mono Platform Support for API Level 8 = 12 kB (12.27MB)<br /><br />With the Release configuration chosen, and the Linking mode set to link in the SDK and user assemblies the figures look like this. I didn't go through the steps of manually signing with a custom certificate using the JDK's jarsigner tool, as it was already signed with the debug certificate. I also haven't run the package through the Android SDK's zipalign tool.<br /><br />bin\Debug\TimeSheet.dll = 38 kB<br />bin\Debug\com.blong.TimeSheet.apk = 5601 kB = 5.47 MB<br />bin\Debug\com.blong.TimeSheet-Signed.apk = 5567 kB = 5.44 MB<br /><br />TimeSheet 1.0 = 4.40 MB (9.84 MB)<br /><br />- Brianblonghttps://www.blogger.com/profile/15865043713752235355noreply@blogger.comtag:blogger.com,1999:blog-1853768304794693097.post-444413464120982232011-04-07T02:19:56.545-07:002011-04-07T02:19:56.545-07:00Brian - any idea what this smart linking means in ...Brian - any idea what this smart linking means in practice for the app storage overhead and loading times? Have you had a chance to try this approach with your demo app from DG?Mike Dillamorehttps://www.blogger.com/profile/05202662406953219734noreply@blogger.com