{ "id": "62562", "key": "TIMOB-1930", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "11243", "name": "Release 1.6.0 M10", "archived": true, "released": true, "releaseDate": "2011-02-21" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2011-04-15T03:05:57.000+0000", "created": "2011-04-15T03:05:54.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "background", "feature", "geolocation", "gps", "klist", "release-1.6.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-03T05:59:44.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}
Currently (even in the current github sources) Geolocation\ncannot do background processing. Is this a matter of removing the\ninstructions from the onPause()/onResume() routines? I think\nallowing a user to specify allowBackGround: true in their initial\nconstruction of a Geolocation object would be wise. This way, we\ncan still do background processing and not have to worry about the\napp losing focus, and data being randomly sent askew.
+1
\nSame problem here, with onPause()/onResume() Appcelerator of no\nuse as a geolocation tracker.
\nWorked for 1ß days on it, to find that geolocation stops when\ntask changes or phone goes to sleep mode.
Running in the background via this method is not recommended but\nit may be a temporary fix until support could be done by the\nTitanium developer via a service.
Was following this thread: http://developer.appcelerator.com/helpdesk/view/57011#c292681
\nThis is how I would like a geonotification function to work:
\nTi.App.Geolocation.addNotification(latitude, longitude,\nbeginTime, endTime, accuracy, pollingFrequency,\ncallbackFunction);
\nOr if not callbackFunction, then at least an alert message.
\nWould be super awesome!
Would be a great feature for iPhone & Android.
\nA good addition to Ziggamon's suggestion might be distance\nchanged. For example fire an event every 300 meters.
\n+1 for the feature and Titanium in general.
Removing iPhone tag. This an android specific ticket.
See #1386