Skip to content

nadam/sthlmtraveling

 
 

Repository files navigation

STHLM Traveling for Android STHLM Traveling for Android Logo for STHLM Traveling for Android

STHLM Traveling

Travel in Stockholm with your Android phone.

STHLM Traveling helps you plan your journeys using data from Stockholm Public Transport (SL, Stockholms Lokaltrafik).

Vote for features at http://bit.ly/sthlmt

More about this project at http://markupartist.com/sthlmtraveling or follow me on twitter where I announce new versions.

Some screen shots can be found at Flickr.

The app is powered by a backend service written i Java and hosted at Google app engine. Unfortunately that application is not open source since it's using closed API's that is provided by SL.

Credits

Developers

If you want to contribute to this project just send me a email, tweet or just fork the app. I will do my best help you out if you have any problems.

Run tests

To be able to run the tests from Eclipse follow these instructions. Assumes that you already 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: 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

License

STHLM Traveling is open source and licensed under Apache License, Version 2.0.

Exceptions

Changelog

  • NEXT
    • Make sure tasks are canceled when user leaves the RoutesActivity, closes #27
    • Also fixed bug when restoring GetEarlierRoutesTask, closes #17
    • Fixed issue with MY_LOCATION being added to the text input when selecting an item from the history, thanks droidgren. Closes #25
    • Improved error handling when the DeparturesActivity got restored after an orientation change. This closes #16 and as a side effect is also closes #11.
  • 2.0.0
    • Search history is visible in the "get" dialog direct
    • Address search integrated in auto completion
    • Reworked history to allow storage of latitude and longitude
    • Various layout fixes
  • 2.0.0RC4
    • New traffic status view
    • Fixed my location bug
  • 2.0.0RC3
    • Complete rewrite of the journey planner, new backend etc
    • Various icons has been replaced creds to Olof Brickarp
    • Changed to use SL standard icons for transports (with their permission)
    • Switched to use the light theme
  • 1.8.1
    • Reverted version of 1.8.0, just upped version to be able to release it
  • 1.8.0
    • Reworked detailed view
    • Added buy sms-ticket from the detailed view
    • Added possibility to show stop on a map from the detailed view
    • New marker for text on the map view
    • The hardware search button will bring up the planner view
    • Various layout fixes
  • 1.7.7
    • Added possibility to share deviations
    • Added possibility to share routes
    • Search improvements, if the start or end point matches a name in the list of suggestions re-query direct instead of showing the suggestions for the end user
    • Fixed NullPointerException that occurred when searching and the communication failed, closes #10.
  • 1.7.6
    • Fixed issue with changing locale on Android 2.0.x, closes #9
    • Added double tap to zoom on map
    • Removed center to geo point when clicking on the map
  • 1.7.5
    • Fixed bug related to alternatives when one stop had an location
  • 1.7.4
    • Wrong map key
  • 1.7.3
    • Added site suggestions if a routes was not found because sl.se mixed up some sites, or if the user misspelled the site name. Resolves #3
    • Bug fix for networks problems in the RoutesActivity
    • Various clean up
    • Removed QR code, need to rework that part a bit
  • 1.7.2
    • New app icon by Olof Brickarp
    • Improvements for hdpi screens
    • Bug fix for network problem that occurred when switching between different networks.
    • Bug fix for maps, that caused the my location indicator to not show up direct
  • 1.5.2
    • Bug fix for transports without line numbers
    • Bug fix for line numbers, now Bus 123A will be parsed correct
    • Bug fix when my location sources is turned of in system settings
    • Added transport for the airport coach
  • 1.5.1
    • Added line numbers in the routes view
    • Added a crash reporter
    • Added icon for boat
  • 1.5.0
    • Added departures
    • Changed to use the Apache http client
  • 1.4.2
    • Added support for setting arrival time
  • 1.4.1
    • Added fallback on point on map when failed to determine "My location"
  • 1.4.0
    • Point on map
    • Improved My location, now passing the real position to sl.se
    • Added support for lat and lng to favorites
    • Added retry button to the network problem dialog
    • Fixed bug with screen rotation when performing background jobs
    • Added support for named shortcuts
  • 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

About

STHLM Traveling helps you plan your journeys using data from Stockholm Public Transport (SL, Stockholms Lokaltrafik) on your Android phone

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%