{ "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.

{html}", "attachment": [], "flagged": false, "summary": "Allow Geolocation in background", "creator": { "name": "andrewheebner", "key": "andrewheebner", "displayName": "Andrew Heebner", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rpfeiffer", "key": "rpfeiffer", "displayName": "Ralf Pfeiffer", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "127024", "author": { "name": "kleppten", "key": "kleppten", "displayName": "Kleppten", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

+1

\n

Same 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.

{html}", "updateAuthor": { "name": "kleppten", "key": "kleppten", "displayName": "Kleppten", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:05:55.000+0000", "updated": "2011-04-15T03:05:55.000+0000" }, { "id": "127025", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

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.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:05:55.000+0000", "updated": "2011-04-15T03:05:55.000+0000" }, { "id": "127026", "author": { "name": "ziggamon", "key": "ziggamon", "displayName": "ziggamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Was following this thread: http://developer.appcelerator.com/helpdesk/view/57011#c292681

\n

This is how I would like a geonotification function to work:

\n

Ti.App.Geolocation.addNotification(latitude, longitude,\nbeginTime, endTime, accuracy, pollingFrequency,\ncallbackFunction);

\n

Or if not callbackFunction, then at least an alert message.

\n

Would be super awesome!

{html}", "updateAuthor": { "name": "ziggamon", "key": "ziggamon", "displayName": "ziggamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:05:55.000+0000", "updated": "2011-04-15T03:05:55.000+0000" }, { "id": "127027", "author": { "name": "ben", "key": "ben", "displayName": "Ben", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Would be a great feature for iPhone & Android.

\n

A 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.

{html}", "updateAuthor": { "name": "ben", "key": "ben", "displayName": "Ben", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:05:56.000+0000", "updated": "2011-04-15T03:05:56.000+0000" }, { "id": "127028", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Removing iPhone tag. This an android specific ticket.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:05:56.000+0000", "updated": "2011-04-15T03:05:56.000+0000" }, { "id": "127029", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

See #1386

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:05:57.000+0000", "updated": "2011-04-15T03:05:57.000+0000" }, { "id": "408767", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing issue due to time passed and irrelevance of the ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-03T05:59:44.000+0000", "updated": "2017-03-03T05:59:44.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }