{ "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

\n\n

See this \nQ&A

{html}", "attachment": [], "flagged": false, "summary": "Android: Minimize APK", "creator": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "123807", "author": { "name": "ryanchan", "key": "ryanchan", "displayName": "ryanchan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I want to confirm if this issue only related to Android?

\n

How about iPhone?

{html}", "updateAuthor": { "name": "ryanchan", "key": "ryanchan", "displayName": "ryanchan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:34:25.000+0000", "updated": "2011-04-15T02:34:25.000+0000" }, { "id": "123808", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

We use different tickets for each platform. iPhone is already\nminimizing it.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:34:25.000+0000", "updated": "2011-04-15T02:34:25.000+0000" }, { "id": "123809", "author": { "name": "johnveldboom", "key": "johnveldboom", "displayName": "John Veldboom", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Any update on this? I've received a couple of negative feedbacks\nfrom users in the marketplace due to the file size being large.

\n

The APK is just under 1MB, but when installed it's over 3MB.

{html}", "updateAuthor": { "name": "johnveldboom", "key": "johnveldboom", "displayName": "John Veldboom", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:34:26.000+0000", "updated": "2011-04-15T02:34:26.000+0000" }, { "id": "123810", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

This is being done as part of our 1.5 release. We do not have a\nfirm release date yet.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:34:26.000+0000", "updated": "2011-04-15T02:34:26.000+0000" }, { "id": "123811", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(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...

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:34:27.000+0000", "updated": "2011-04-15T02:34:27.000+0000" }, { "id": "123812", "author": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Marshall

\n

Does 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

{html}", "updateAuthor": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:34:27.000+0000", "updated": "2011-04-15T02:34:27.000+0000" }, { "id": "123813", "author": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Marshall - ignore my last post - Don answered it for me.

{html}", "updateAuthor": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:34:27.000+0000", "updated": "2011-04-15T02:34:27.000+0000" }, { "id": "123814", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

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

\n

1.new project > mobile, give it required info
\n2.install to device and check the size (by way of settings>\nmanage applications)

\n

results: 4.85 MB

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:34:27.000+0000", "updated": "2011-04-15T02:34:27.000+0000" }, { "id": "123815", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

1.4.1.1 same test yields a 2.86MB (uncompressed on device)

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:34:28.000+0000", "updated": "2011-04-15T02:34:28.000+0000" }, { "id": "123816", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Should not have been in M01

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:34:28.000+0000", "updated": "2011-04-15T02:34:28.000+0000" }, { "id": "123817", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [b2aae2b86035fd5479430aa25deeb0b11536d51c])\nMerge branch 'master' of https://github.com/taazza/titanium_mobile\ninto taazza-master [#685] \nhttps://github.com/appcelerator/titanium_mobile/commit/b2aae2b86035...

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:34:28.000+0000", "updated": "2011-04-15T02:34:28.000+0000" }, { "id": "123818", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(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...

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:34:29.000+0000", "updated": "2011-04-15T02:34:29.000+0000" }, { "id": "123819", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

[INFO] Titanium SDK version: 1.6.0 (01/10/11\n08:25 3452f06)

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:34:29.000+0000", "updated": "2011-04-15T02:34:29.000+0000" } ], "maxResults": 13, "total": 13, "startAt": 0 } } }