Android App - 3MB - ?
I created a new Project, compiled/built it for Android, and saw that it's 3MB (with just 2 tabs and not much else).
I thought Titanium compiled the code into native binary, so a runtime wouldn't be needed; are all Titanium libraries being included in the build, even when they are not needed?
3MB is kinda huge for an app that does nothing but show 2 tabs…. is there any way this can be optimized to be much (much) smaller and "realistic"?
Thanks.
2 Answers
-
I've also found the binary size for a Titanium mobile app to be bloated. A simple app on iPhone is around 3MB as well. My guess is that the entire Ti library is being built in, whether needed or not for an app. I don't know of any way to reduce the footprint. :( In comparison, a 'hello world' mobile app on the Ansca Corona framework is ~300K.
-
Yeah I saw that they are working on this for 1.5:
http://developer.appcelerator.com/question/45861/reducing-apkapplication-filesize
I'm going back and forth between Corona and Titanium. I like them both for different reasons: Corona better for gaming; Titanium's support for the open source scrolling DatePicker for Android is a huge plus for productivity apps)