Download
ttc subway map with bus routes in android n.
Skip this Video
Loading SlideShow in 5 Seconds..
TTC Subway Map With Bus Routes in Android PowerPoint Presentation
Download Presentation
TTC Subway Map With Bus Routes in Android

TTC Subway Map With Bus Routes in Android

139 Views Download Presentation
Download Presentation

TTC Subway Map With Bus Routes in Android

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. TTC Subway Map With Bus Routes in Android By MdShahinurRahman 500540204 mdshahinur.rahman@ryerson.ca December 09, 2013

  2. Agenda • Introduction • Requirements • Challenges • Project Description • Conclusion • References

  3. Introduction • Visualization of TTC subway map on Google map • Populating android spinner dynamically • Drawing TTC bus routes

  4. Requirements • Android SDK bundle can be downloaded from http://developer.android.com/sdk/index.html • It includes library files, Google play services, IDE editor and emulator • Physical device is used because emulator does not support Google map • Android OS device like Google nexus 4. • Google API key To generate API key, search “Google API console”, login using Google account and generate the API key. The generated API key is used to communicate your apps to Google server

  5. Challenges • Starting of the project as it is my first project in android • Generation of API key • Difficult to figure out the error as a starter • I tried to display Google map using emulator but after couple of days I figured out it is not supported • Buy new physical device for the project. • I faced problem to handle marker click events • I also faced challenges to load data into the spinner after clicking on a marker • I spent lot of time to connect my physical device to my development workstation

  6. Project Description Step By Step Application is installed in my physical device Figure 1: Installed Application

  7. Project Description Step By Step This is the first screen of the application Click here to enter inside of the application Figure 2: First Screen of the Application

  8. Project Description Step By Step This is the Main screen of the application Subway stations where washroom is available Subway stations where Escalator is available Subway stations where elevator is available Subway stations where parking is available Main Map Spinner where connecting buses will be loaded Colors for Bloor-Danforth Subway Colors for Spadina-University Subway Colors for Sheppard-Yonge Subway Colors for RT Subway Figure 3: Main Screen of the Application

  9. Project Description Step By Step-Washroom Figure 4: TTC Map Where Washroom is available

  10. Project Description Step By Step-Escalator Figure 5: TTC Map Where Escalator is available

  11. Project Description Step By Step-Elevator Figure 6: TTC Map Where Elevator is available

  12. Project Description Step By Step-Parking Figure 7: TTC Map Where Parking facility is available

  13. Project Description Step By Step-Main Map Subway Station Subway Interchange Washroom Elevator Elevator Figure 8: TTC Main Map with all facilities

  14. Project Description Step By Step-Marking Operation: Pape Station Figure 9: Marking Operation to draw bus routes Output next page

  15. Project Description Step By Step-Marking Operation: Pape Station Bus Stop Figure 10: TTC Bus Route- Bus no.25 Don Mills

  16. Project Description Step By Step-Marking Operation: Yorkmills Station Figure 11: Marking Operation to draw bus routes Output next page

  17. Project Description Step By Step-Marking Operation: Yorkmills Station Bus Stop Figure 12: TTC Bus Route- Bus no.95 Yorkmills

  18. Conclusion • Usage of Google API • Learn a lot of things for doing this project • Also learn how to use SQLite Database • Learn how to connect physical device to the development workspace • Learn how to retrieve latitude and longitude from input address • Learn how to use emulator (virtual device) • Thankful to everyone who helped to do the project

  19. References • [1] http://developer.android.com/sdk/index.html. • [2] http://www.mkyong.com/tutorials/android-tutorial/ • [3] http://www.vogella.com/android.html