[TIMOB-387] Android Notification
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-07-26T16:49:06.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Android |
Labels | android, api, look1 |
Reporter | Simon |
Assignee | Josh Roesslein |
Created | 2011-04-15T02:28:28.000+0000 |
Updated | 2017-03-16T22:03:37.000+0000 |
Description
Add the functionality to create an android background service in order for an application to add notifications to the Android notification bar when it is minimised in the background.
E.g.
Scan the current gps location and if in range show a notification.
Thanks
http://androidforbeginners.blogspot.com/2010/02/how-to-create-status-bar-notifications.html"> http://androidforbeginners.blogspot.com/2010/02/how-to-create-statu...
Found this piece of code while I was trying out some native android code.
Should be useful when implementing this feature.
If one could be able to create modules for android applications I could do this myself.
There is a HD Support ticket that encountered an issue alike: http://support.appcelerator.com/display/APP-194191 It looks like this feature, comprises whenever the app is put in background, should be able to trigger a notification, and when the user touches the notification, then the app is then resumed from the background, app need to use Geo Location this case as well.
This should now be possible using the Service and Notification API in the Ti.Android namespace.
Closing ticket as fixed.