{ "id": "104024", "key": "AC-2634", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "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": "2013-04-08T18:58:55.000+0000", "created": "2012-10-27T21:00:18.000+0000", "labels": [ "android", "crash", "defect", "triage" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:41:43.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Hi probably it's a specific bug in Titanium mobile application. (I have Andorid 2.3.6 and Titanium SDK 2.1.3)\r\nI have a simple application, it starts only geolocation listener and shows Hello World label in the middle of the screen.\r\n\r\n{code:title=app.js}\r\nvar win = Ti.UI.createWindow({\r\n\t\tbackgroundColor:'#ffffff',\r\n\t\tnavBarHidden:true,\r\n\t\texitOnClose:true\r\n\t});\r\nvar view = Ti.UI.createView();\r\nvar label = Ti.UI.createLabel({\r\n\ttext:String.format(L('welcome'),'Titanium'),\r\n\theight:'auto',\r\n\twidth:'auto'\r\n});\r\n\r\nview.add(label);\r\nwin.add(view);\r\nvar update_location = function(rs){\r\n\tTi.API.info('Has coords')\r\n}\r\n\r\nwin.open();\r\n\r\n\r\nTitanium.Geolocation.accuracy = Titanium.Geolocation.ACCURACY_BEST;\r\nTitanium.Geolocation.frequency = 0;\r\nTitanium.Geolocation.preferredProvider = Titanium.Geolocation.PROVIDER_GPS;\r\nTitanium.Geolocation.purpose = \"GPS Run-log.com\";\r\nTitanium.Geolocation.distanceFilter = 0;\r\n\r\nTitanium.Geolocation.addEventListener('location', update_location);\r\n\r\nwin.addEventListener('close', function(){\r\n\tTitanium.Geolocation.removeEventListener('location', update_location);\r\n});\r\n{code}\r\n\r\nTo reproduce the application crash you have to do this few steps:\r\n1. Start the application\r\n2. Press the home button to switch the application to background running and look carefuly on flashing geolocation icon in the status bar.\r\n3. Be sure that you have data packet internet connection activated. Expand status bar and activate Wi-fi connection, immediately after that press home button\r\n4. If geolocation icon is still flashing repeat step 3 but deactivate Wi-fi connection. \r\nI'm sure that maximum 5 changes connection type is enough to see that the geolocation icon disappears (it means that application crashes)\r\n\r\nYou can see this 4 steps in the video [http://youtu.be/9Nr_7OdZsbY]\r\n\r\n", "attachment": [], "flagged": false, "summary": "Android: Geolocation crash after changing internet connection type using Wi-fi button on expanded status bar.", "creator": { "name": "maciekcz", "key": "maciekcz", "displayName": "Maciej Czerwinski", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "maciekcz", "key": "maciekcz", "displayName": "Maciej Czerwinski", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium 2.1.2, Android 2.3.6", "comment": { "comments": [ { "id": "246461", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cannot reproduce with Samsung Galaxy S2 Android 2.3.6 (with data plan), Ti SDK 3.1.0.v20130403114957 (latest CI build). Repeated step 3 about 15 times.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-08T18:58:55.000+0000", "updated": "2013-04-08T18:58:55.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }