{ "id": "61317", "key": "TIMOB-685", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11237", "name": "Release 1.6.0 M04", "archived": true, "released": true, "releaseDate": "2011-01-10" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:53:55.000+0000", "created": "2011-04-15T02:34:24.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect", "enterprise", "release-1.6.0", "rplist" ], "versions": [], "issuelinks": [], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:53:55.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}
Several things to consider
\nSee this \nQ&A
I want to confirm if this issue only related to Android?
\nHow about iPhone?
We use different tickets for each platform. iPhone is already\nminimizing it.
Any update on this? I've received a couple of negative feedbacks\nfrom users in the marketplace due to the file size being large.
\nThe APK is just under 1MB, but when installed it's over 3MB.
This is being done as part of our 1.5 release. We do not have a\nfirm release date yet.
(from [6dbf78c86cfa3b48320b786a7a026c714d321e21])\na new smalljs.jar that includes everything needed for JS compiling,\nwe now compile / ship with the smalljs.jar on device, and compile\nwith js.jar [#685 state:fixed-in-qa] \nhttps://github.com/appcelerator/titanium_mobile/commit/6dbf78c86cfa...
Marshall
\nDoes this optimization address excluding images that aren't\nrequired, as per \nthis concern in the Q&A? Although, I'm not sure if this is\npossible. Would you mind clarifying? Thanks
Marshall - ignore my last post - Don answered it for me.
Marshall, from osx (api 7) and Titanium SDK version: 1.5.0\n(12/08/10 08:34 4ee1205), when creating a minimal project I get\n4.85MB
\n1.new project > mobile, give it required info
\n2.install to device and check the size (by way of settings>\nmanage applications)
results: 4.85 MB
1.4.1.1 same test yields a 2.86MB (uncompressed on device)
Should not have been in M01
(from [b2aae2b86035fd5479430aa25deeb0b11536d51c])\nMerge branch 'master' of https://github.com/taazza/titanium_mobile\ninto taazza-master [#685] \nhttps://github.com/appcelerator/titanium_mobile/commit/b2aae2b86035...
(from [a843cf5fbb88612f73da03f398659568cc6b8d3f])\nextract all binding strings into constants, speeding up initial\nbinding time and slightly lowering bytecode size [#685\nstate:fixed-in-qa]
\n\nhttps://github.com/appcelerator/titanium_mobile/commit/a843cf5fbb88...
[INFO] Titanium SDK version: 1.6.0 (01/10/11\n08:25 3452f06)