Closed barbeau closed 8 years ago
Here's the new home of the Java client library: https://github.com/OneBusAway/onebusaway-client-library
It turns out porting the OBA Android client tests to normal Java is a little more complicated that I anticipated. I was still able to add the library JAR, though (by skipping the tests), and the main library seems to work as intended. So, I'm calling this issue closed, and I'm tracking the issue with the tests in a new ticket on the oba-client-library repo: https://github.com/OneBusAway/onebusaway-client-library/issues/1
Given the number of methods and fields of the OBA REST API, the shortest path by far for this is to port the client code from OBA Android to normal Java. This involves changing from the Android
Uri
object to Java'sURI
, etc.I've done this in the
obaClient
branch, as code integrated into this project: https://github.com/OneBusAway/onebusaway-alexa/tree/obaClientI'm currently in the process of transferring it to its own repo to exist as a separate library that can be used in this and other Java-based OBA applications.
TODO: