{ "id": "61207", "key": "TIMOB-575", "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": "11222", "name": "Release 1.2.0", "archived": true, "released": true, "releaseDate": "2010-04-05" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:53:33.000+0000", "created": "2011-04-15T02:32:17.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "feature" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:53:33.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}

The following app.js causes Android emulator to\ncrash. It seems that Ti.UI.createToolbar has not\nbeen implemented?

\n

[TRACE] E/TiModule( 274): (kroll$1) [8,401]\nError creating proxy ti.modules.titanium.ui.ToolbarProxy:\nti.modules.titanium.ui.ToolbarProxy [TRACE] E/TiModule( 274):\njava.lang.ClassNotFoundException:\nti.modules.titanium.ui.ToolbarProxy

\n

(full trace in attachment)

\n
\nvar win1 = Titanium.UI.createWindow({  \n    title:'Tab 1',\n    backgroundColor:'#fff'\n});\n\nvar mybtn = Titanium.UI.createButton({\n    title:'Test',\n    height:10,\n    width:55\n});\n\nvar toolbar2=Titanium.UI.createToolbar({\n    items:[mybtn],\n    bottom:0,\n    borderTop:true,\n    borderBottom:true,\n    barColor:'#000'\n});\n\n\nwin1.add(toolbar2);\nwin1.open();\n
{html}", "attachment": [ { "id": "17869", "filename": "createtoolbar.txt", "author": { "name": "kjetilrohdejakobsen", "key": "kjetilrohdejakobsen", "displayName": "Kjetil Rohde Jakobsen", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:32:18.000+0000", "size": 29612, "mimeType": "text/plain" } ], "flagged": false, "summary": "Ti.UI.createToolbar crashes Android", "creator": { "name": "kjetilrohdejakobsen", "key": "kjetilrohdejakobsen", "displayName": "Kjetil Rohde Jakobsen", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kjetilrohdejakobsen", "key": "kjetilrohdejakobsen", "displayName": "Kjetil Rohde Jakobsen", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "123588", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Toolbar is an iPhone specific control. Similar controls appear\nin some Android apps, so we may create one for Android in the\nfuture.

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

(from [32c93c7a020d1e96abffd1186d6032a4fadd1d0e])\n[#575\nstate:resolved] Implemented temporary control to prevent apps using\ntoolbar from crashing. Developers will now see a red toolbar with\nwhite text saying not yet implemented on Android \nhttp://github.com/appcelerator/titanium_mobile/commit/32c93c7a020d1...

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:32:19.000+0000", "updated": "2011-04-15T02:32:19.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }