IBM - ČVUT Student Research Projects
Mobile Public Transportation Timetables
Petr Podhorský ([email protected])Jakub Zahradník ([email protected])
IBM - ČVUT Student Research Projects
2
Goals• Create mobile application for
downloading timetables of public transportation for nearest stations
• Determine user location by GPS• Provide map of nearby stations• Supply simplified timetables to a user
through mobile UI• Reduce amount of transferred data• Implement in Java
Location• Location API (JSR-179)
– Location API provides transparent location services, based on GPS, BTS triangulation etc. (depends on provider)
– OS Windows Mobile doesn‘t support this package
• Direct connection to GPS module– Application can connect to any device
supporting NMEA 0183 protocol– Internal GPS module, external module
connected by Bluetooth
IBM - ČVUT Student Research Projects
3
Timetables• Timetables downloaded from http://jizdnirady.idnes.cz/
• HTML output parsed by application• Information provided for tram stop(s)
– Time of departure– Name– Next station name– End station name
IBM - ČVUT Student Research Projects
4
Maps
• Maps downloaded from Google Maps
• Converted to PNG format• User position and selected
station marked
IBM - ČVUT Student Research Projects
5
Architecture
IBM - ČVUT Student Research Projects
6
• Application consists of two separated components (both of them are implemented in Java)
• Instead of downloading all data directly from client (~200 KB and more), GPS coordinates are passed to the server, processed and only small amount of data (~2 KB) sent back – with information to display
Conclusion• Easy to use application created• Amount of transferred data significantly reduced• Application tested in real environment -> video
IBM - ČVUT Student Research Projects
7
Questions & Answers
Thank you for your attention.
IBM - ČVUT Student Research Projects
8