User Tools

Site Tools


icecondor:pigeon

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
icecondor:pigeon [2008/12/09 20:02] – created 66.206.87.117icecondor: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.
  
 <code> <code>
 InBound messages: InBound messages:
- onCreate() +  once: 
- onStart() +   onCreate() 
- onBind()+   onStart() 
 +   onBind()
  
- 30 second heartbeat timer +  repeating: 
- GPS notifications from android+   notification_status_update - every 30 second heartbeat timer 
 +   onLocationChanged() - GPS notifications from android, sent whenever with a frequency hint from the app.
 </code> </code>
 +
 +The next step (2008Dec9) is to consume GeoRSS feeds and display them on the map.
 +The pigeon should do the polling and hold the result data so that it can set off a vibration proximity alarm, etc..
 +
 +That means the Radar activity, which has the UI, will have to use the pigeon interface
 +to manage the list of RSS URLs.
 +
 +<code>
 + New service API methods:
 +  addGeoRssUrl(String url)
 +  removeGeoRssUrl(String url)
 +  array GeoRssUrls()
 +  array GeoRssItemsFrom(String url)  
 +</code>
 +
 +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.txt · Last modified: 2024/01/31 04:08 by 127.0.0.1