rectangle-dbmi / Realtime-Port-Authority

Realtime transit tracker of Pittsburgh's Port Authority buses using the realtime PAT API using Google Maps to Display the Maps
GNU General Public License v3.0
60 stars 33 forks source link

Add T to App #322

Open epicstar opened 7 years ago

epicstar commented 7 years ago

It's officially out. We should upgrade our app to use the v3 API over the v2 API. Advantages:

There are some breaking changes... For example, we cannot get patterns unless we specify what agency the route comes from.

Source: http://www.post-gazette.com/news/transportation/2017/11/01/Port-Authority-real-time-tracking-T-service-light-rail-TrueTime-Pittsburgh/stories/201711010226

epicstar commented 6 years ago

First part done by adding logic to the Date class for keeping track of "day" and "quarter" with extensive unit tests. Next step is to get the route list to dynamically load from the information either on disk or through the internet depending on the Date.afterQuarter() rule.

epicstar commented 2 years ago

linked to issue #328

duplicates #345

epicstar commented 1 year ago

Let's use play asset delivery to deliver the precached jsons of routes and lines to the app: https://developer.android.com/guide/playcore/asset-delivery