Search code examples
androidtimetable

bus timetable android


For a project I'm trying to implement a bus time table Android Application. I'm fairly new to Android Development and need to store the time tables in efficient way.

Are there any decent ways to implement a table that's clear when viewed in the application, and small enough in memory so that it runs smoothly?

Also, is there a simple way that once the table is created that by touching a button it automatically updates without creating a new activity? Ie your currently viewing a timetable for route 1 and by pressing a button you view route 2 etc.


Solution

  • You should use an Android Content Provider for the time table.

    As for your update, you can just make a request to your content provider in onResume().