Transcript
Page 1: IBM - ČVUT Student Research Projects Mobile Public Transportation Timetables Petr Podhorsk Jakub Zahradnk

IBM - ČVUT Student Research Projects

Mobile Public Transportation Timetables

Petr Podhorský ([email protected])Jakub Zahradník ([email protected])

Page 2: IBM - ČVUT Student Research Projects Mobile Public Transportation Timetables Petr Podhorsk Jakub Zahradnk

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

Page 3: IBM - ČVUT Student Research Projects Mobile Public Transportation Timetables Petr Podhorsk Jakub Zahradnk

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

Page 4: IBM - ČVUT Student Research Projects Mobile Public Transportation Timetables Petr Podhorsk Jakub Zahradnk

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

Page 5: IBM - ČVUT Student Research Projects Mobile Public Transportation Timetables Petr Podhorsk Jakub Zahradnk

Maps

• Maps downloaded from Google Maps

• Converted to PNG format• User position and selected

station marked

IBM - ČVUT Student Research Projects

5

Page 6: IBM - ČVUT Student Research Projects Mobile Public Transportation Timetables Petr Podhorsk Jakub Zahradnk

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

Page 7: IBM - ČVUT Student Research Projects Mobile Public Transportation Timetables Petr Podhorsk Jakub Zahradnk

Conclusion• Easy to use application created• Amount of transferred data significantly reduced• Application tested in real environment -> video

IBM - ČVUT Student Research Projects

7

Page 8: IBM - ČVUT Student Research Projects Mobile Public Transportation Timetables Petr Podhorsk Jakub Zahradnk

Questions & Answers

Thank you for your attention.

IBM - ČVUT Student Research Projects

8


Recommended