Titanium simple application's size is too large

You must Login before you can answer or comment on any questions.

Hi guys i am just trying to develop a sample android app using titanium framework, but the application's size is too large when compared to a normal android app. Could anybody explain me why it is so and whether i am missing anything elase

3 Answers

Because a titanium app ships with its own Javascript engine (or two, V8/Rhino)

Its because of the Bridge which connects java with Javascript. Currently there are two there V8 and Rhino. Since Rhino is slower than V8, V8 was implemented. Rhino will be removed in the Future (I assume) but for now its still there for backward compabillity.

When checking the app size, make sure you are not looking at the development build, but rather the final distribution build.

For example, a distribution build for one of my apps which is fairly complex and includes quite a few graphic assets is 2MB, which by my standards is very far from "too large".

— answered 1 year ago by Goran Skledar
answer permalink
1 Comment
  • To add to what Goran has mentioned regarding assets/res be sure to sort out your platform specific code/images so as not to pack your android junk in with your iOS junk and vice versa.

    — commented 1 year ago by Stephen Feather

Your Answer

Think you can help? Login to answer this question!