You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to opentripp...@googlegroups.com
Dear all,
I want to save the trip and when i want to see this old trip, i can click a listview and show different old trip on the map. i want to ask which code on opentripplanner-android is used to get the information which used to draw trip path on maps(maybe is a jackson Config information but i am not sure). so anyone can help me if you know how to solve this issue.Thank you very much.
Sean Barbeau
unread,
Jun 21, 2013, 11:37:47 AM6/21/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
The Response object that is returned by this method holds all of the planned itinerary information. Note that this Response object is derived from the main OTP project code, and we keep it in a library project to cleanly separate the Android app code from the Java objects used in the Jackson data binding. Here's a link to the most recent version of the Response object we're using: https://github.com/CUTR-at-USF/opentripplanner-pojos/blob/master/src/org/opentripplanner/v092snapshot/api/ws/Response.java
Note that a TripPlan contains multiple Itinerary objects for the different possible trip plans shown to the user (and saving the list of Itineraries may be enough), so if you want to save a specific Itinerary you'd need a reference to this as well.
Sean
Hongda Zhao
unread,
Jun 23, 2013, 12:33:13 PM6/23/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message