antivirus99912 / montrealtransit-for-android

Automatically exported from code.google.com/p/montrealtransit-for-android
0 stars 0 forks source link

Subway Service status background service #38

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Instead of checking the subway status only when the app is open on the Subway 
tab, use a configurable background service that will check the Subway Service 
status on Twitter.

By default, the background service will check every 30 minutes.
The service will be friendly with the device battery (not checking when battery 
lower than 25%).
The user will be able to customize the check frequency, disable it, enable it 
only on WiFi...

A notification will be shown when the service is down.
When down, the checking frequency could be shorter (setting)...

Need to test how the service affects battery life and eventually disable it by 
default so users don't complain about battery life issues.

Eventually check if the use last known location is near Montreal, before 
checking the subway service status if the user is kilometers away.

Original issue reported on code.google.com by mathieu.mea on 12 Feb 2012 at 4:38

GoogleCodeExporter commented 9 years ago
The good way to do that is to use push notification.
Would require a server.

The STM already push notifications to users with texts and emails.

Original comment by mathieu.mea on 8 Aug 2013 at 11:49