OpenTripPlanner-for-Android
OpenTripPlanner-for-Android copied to clipboard
Offer OTP Android to resolve map/address intents
I have seen that pressing on a contact address in the contacts app that is present in my device an intent to go to that direction is sent (I think that this app it's from the mobile manufacturer not from stock Android, but I suppose that will be present in other apps).
In my device this intent can be managed by Google Maps, Google Earth, HopStop, Offi journey planner, ... So, I think that will be good to add OTP there.
Also with this other apps that would like to make some trip planning will be able to intercommunicate with OTP (OBA for example?).
Yes, this is a good idea, and something I've been meaning to ticket for a while.
Here's a good place to start with docs: http://developer.android.com/training/basics/intents/filters.html
For viewing a single location, we can support the geo:
format, as Google Maps does (see Google Maps category here).
For planning a trip with two locations (origin/destination), I don't think I've seen an Intent or standard format for this. So, we might have to define our own, similar to what is done here for Google Maps.
And, for single location, we should also support address too, as you say.