{ "id": "88812", "key": "TIMOB-8301", "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": [], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2012-04-09T19:57:33.000+0000", "created": "2012-03-25T17:29:45.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api" ], "versions": [ { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "issuelinks": [], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-04-09T19:57: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": "The user is having a tabbedview application. And he is trying to access mapview, by calling the Ti.map.createview.\r\n\r\nI dont have the complete code sample, but the mapview snippet, and the crash log.\r\nHere is the code\r\n\r\n{code}\r\n\r\nto setup tabs:\r\n\r\n app.tabs.stores = Ti.UI.createTab({\r\n title:'Stores',\r\n icon:'/images/nav_icons/stores.png',\r\n tabIndex:nextTabIndex++\r\n });\r\n app.tabs.stores.window = gs.presenter.createStoreLocator(app.tabs.stores,{hideTabs:false}).window;\r\n tabGroup.addTab(app.tabs.stores);\r\nlater, in the presenter: MapView = Ti.Map.createView({ regionFit:true, userLocation:false, visible:false });\r\n\r\n mapView = MapView;\r\n mapView.left = 321;\r\n mapView.top = 45; // 44 (search)\r\n mapView.height = viewHeight;\r\n mapView.width = gs.ui.screenWidth;\r\n\r\n mapView.addEventListener('regionChanged', regionChanged);\r\n mapView.addEventListener('click', annotationClick);\r\n window.add(mapView);\r\n{code}\r\n\r\ni have attached the crash log.", "attachment": [ { "id": "26596", "filename": "log.txt", "author": { "name": "dgandhi", "key": "dgandhi", "displayName": "Devang Gandhi", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-25T17:29:45.000+0000", "size": 9434, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: Unable to create mapview", "creator": { "name": "dgandhi", "key": "dgandhi", "displayName": "Devang Gandhi", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dgandhi", "key": "dgandhi", "displayName": "Devang Gandhi", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK: Mobile CI\r\nPlatform OS: Android\r\nPlatform OS Version: 2.2", "comment": { "comments": [ { "id": "190390", "author": { "name": "dgandhi", "key": "dgandhi", "displayName": "Devang Gandhi", "active": true, "timeZone": "America/Los_Angeles" }, "body": "unable to reproduce.", "updateAuthor": { "name": "dgandhi", "key": "dgandhi", "displayName": "Devang Gandhi", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-09T17:10:52.000+0000", "updated": "2012-04-09T17:10:52.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }