icecondor:pigeon
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
icecondor:pigeon [2008/12/09 20:05] – 66.206.87.117 | icecondor:pigeon [2024/01/31 04:08] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Pigeon is the name of the background task in the android client. | + | Pigeon is the name of the service/background task in the android client. |
< | < | ||
InBound messages: | InBound messages: | ||
- | onCreate() | + | once: |
- | | + | onCreate() |
- | | + | |
+ | | ||
- | 30 second heartbeat timer | + | repeating: |
- | GPS notifications from android | + | |
+ | onLocationChanged() - GPS notifications from android, sent whenever with a frequency hint from the app. | ||
</ | </ | ||
The next step (2008Dec9) is to consume GeoRSS feeds and display them on the map. | The next step (2008Dec9) is to consume GeoRSS feeds and display them on the map. | ||
- | The pigeon should do the polling so that it can set off a vibration proximity alarm. | + | The pigeon should do the polling |
That means the Radar activity, which has the UI, will have to use the pigeon interface | That means the Radar activity, which has the UI, will have to use the pigeon interface | ||
to manage the list of RSS URLs. | to manage the list of RSS URLs. | ||
+ | |||
+ | < | ||
+ | New service API methods: | ||
+ | addGeoRssUrl(String url) | ||
+ | removeGeoRssUrl(String url) | ||
+ | array GeoRssUrls() | ||
+ | array GeoRssItemsFrom(String url) | ||
+ | </ | ||
+ | |||
+ | I would like a way for the pigeon service to notify the app if its running when new updates arrive, but i dont know how to do that, so the app will poll pigeon with the GeRssItemsFrom(String url). The functionality is necessary even with service-to-app messaging for the case when the app first starts. |
icecondor/pigeon.1228853108.txt.gz · Last modified: 2024/01/31 04:08 (external edit)