Travel in Stockholm with your Android phone.
STHLM Traveling helps you plan your journeys using data from Stockholm Public Transport (SL, Stockholms Lokaltrafik).
Features include Auto complete of station and addresses. Usage of GPS for finding stops near your location. Route alternatives and detail description of a route.
More about this project at http://markupartist.com/sthlmtraveling or follow me on twitter where I announce new versions.
- App icon, concepts & ideas Olof Brickarp
- Patches by Morgan Christiansson, Screen Interaction AB
- Icons by Fredrik Broman
- Icons by FatCow
- Feedback, suggestions & test by Swedroid users
- Also a great thank you to my Twitter and Flickr followers for their suggestions and feedback
Once forked and imported to eclipse you need to run "Fix Project Properties". This is found under Android Tools.
You then need to add the following class that holds the api endpoint and point out where the api is located.
public class ApiSettings {
public static String STHLM_TRAVELING_API_ENDPOINT = "";
}
To be able to run the tests from Eclipse follow these instructions. These instructions assume that you alrady have STHLM Traveling setup as a project and deployed.
- Create a new Android Project.
- Choose create project from existing source. Choose tests/src as project root.
- Under project properties and Java Build Path choose Projects and add a dependency to STHLM Traveling.
- If necessary run Fix Project Properties under Android Tools.
- Now you should be able to run the tests. Choose Run As Android JUnit Test.
To run the tests from a terminal just type in. Note, you must have both the application and the tests application deployed before.
adb shell am instrument -w com.markupartist.sthlmtraveling.tests/android.test.InstrumentationTestRunner
STHLM Traveling is open source and licensed under Apache License, Version 2.0.
- Icons by Fredrik Broman is licensed under CC Attribution 3.0
- SectionedAdapter released under GNU General Public License
- App icon by Olof Brickarp is copyright Olof Brickarp
- 1.3.6
- Fix for barcode generator
- 1.3.5
- New app icon by Olof Brickarp
- Choose departure time from the planner
- Shortcuts for routes
- Share search via QR-code
- Public intent for searching routes, other apps can now trigger a search for routes. See RoutesActivity for documentation
- Reverse search from the routes list
- Show alert if we having problems with the network, closes issue #6
- Added start and end point to routes list
- Moved actually searching to RoutesActivity
- Moved planner code to own package
- Replaced handlers with AsyncTask, now located in the tasks package
- Fixed bug with menu for search did not launch the tabbed StartActivity, patch by Morgan Christiansson
- Moved all hard coded strings to strings.xml
- 1.3.0
- Favorite routes
- History for start and end point
- Fixed force close when location is not available, closes issue #4
- Compiling against 1.6
- Tested for QVGA screens
- Improved ui with icons from FatCow
- Refactored search routes to a AsyncTask
- Renamed SearchActivity to PlannerActivity, patch by Morgan Christiansson
- 1.2.2
- Added Saltsjöbanan as an transport, closes issue #2
- 1.2.1
- Added support for icons in routes list. Icons by Fredrik Broman
- Replaced earlier/later routes text with arrows, as suggested by fohlin
- Added setup for unit tests and some tests
- Fixed issue with "My Location" returning null instead of city sometimes
- 1.2.0
- Added support for searching for earlier and later routes in the routes view
- Added support for changing the department time
- 1.1.0
- Improved the ux by doing searches in the current activity
- Added ApiSettings that holds the api endpoint
- Introduced Planner groups all journey planning functionality
- Renamed *Finder to *Parser and moved all http queries to Planner
- Suffixed all activities to *Activity
- Renamed SimpleStopAdapter to AutoCompleteStopAdapter
- Added dialog if no routes was found and a hint of why this occurred
- 1.0.0
- Released on Android Market
- Added about dialog
- 0.2
- Added search based on the current postion
- Fixed problems around finding stops, some searches did not return the expected values
- Made the search button bigger
- 0.1
- Initial release