{ "id": "114428", "key": "TIMOB-13875", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-05-16T20:29:47.000+0000", "created": "2013-05-15T21:46:15.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "supportTeam" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T17:18:06.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": "h6.Steps to reproduce\r\n(1) Grab snippet and execute it\r\n(2) Watch out device logs and monitor users location\r\n\r\nh6.Snippet code\r\n{code}\r\nvar MapModule = require('ti.map');\r\n\r\nvar win = Ti.UI.createWindow({\r\n fullscreen : false\r\n});\r\n\r\nvar map = MapModule.createView({\r\n\r\n userLocation : true,\r\n userLocationButton : false,\r\n mapType : MapModule.NORMAL_TYPE,\r\n animate : true,\r\n top : '30%', \r\n region: {latitude: -33.87365, longitude: 151.20689, latitudeDelta: 0.1, longitudeDelta: 0.1 }, //Sydney\r\n\r\n});\r\n\r\nwin.add(map);\r\n\r\nwin.open(); \r\n\r\n\r\nTi.Geolocation.purpose = 'Location based services for App';\r\nTi.Geolocation.accuracy = Ti.Geolocation.ACCURACY_BEST;\r\nTi.Geolocation.preferredProvider = Ti.Geolocation.PROVIDER_GPS;\r\nTi.Geolocation.distanceFilter = 10;\r\n//it will be fired just once\r\nTitanium.Geolocation.getCurrentPosition(function(e) {\r\n var longitude = e.coords.longitude;\r\n var latitude = e.coords.latitude;\r\n Ti.API.info( 'long:' + longitude + ' lat: ' + latitude);\r\n //force the map to show users current location\r\n map.region = {latitude: latitude, longitude: longitude, latitudeDelta: 0.1, longitudeDelta: 0.1 };\r\n}); \r\n{code}\r\n\r\nh6.Results are as follows (logs attached):\r\n{code}\r\n1. HTC Incredible 2.3.4 - Users location is shown on the map.\r\n2. Samsung Galaxy Note 2.3.6 - Users location is shown on the map.\r\n2. Droid Razr 2.3.5 - Users location is shown on the map.\r\n4. Samsung Galaxy Note 4.0.0 - USers location is NOT shown on the map.\r\n{code}\r\n", "attachment": [ { "id": "38565", "filename": "HTC_Incredible_2.3.4_Updating_Location_DDMS_Log.txt", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-05-15T21:49:09.000+0000", "size": 70758, "mimeType": "text/plain" }, { "id": "38564", "filename": "Samsung_Galaxy_Note_2.3.6_Updating_Location_DDMS_Log.txt", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-05-15T21:49:09.000+0000", "size": 37450, "mimeType": "text/plain" }, { "id": "38563", "filename": "Samsung_Galaxy_Note_4.0.4_Updating_Location_DDMS_Log.txt", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-05-15T21:49:09.000+0000", "size": 359313, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: Maps V2 Module Users location is not shown on the map", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 3.1.0.GA\r\nMapModule 2.1.0\r\nAndroid 4.0.4", "comment": { "comments": [ { "id": "252363", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We tested with Galaxy Note (4.1.1) and ran into the same problem. It turned out location services wasn't enabled on our phone. Once we enabled it (Settings -> Location Services -> Google location services), current location seemed to work fine. Closing as invalid.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-16T20:29:26.000+0000", "updated": "2013-05-16T20:29:26.000+0000" }, { "id": "413738", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T17:18:06.000+0000", "updated": "2017-03-20T17:18:06.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }