This is an Android demo application for creating, editing and saving a simple ToDo list.
Time spent: A couple of hours here and there due to busy work schedule, 1 day (~ 12 hours) spent in total.
Completed user stories:
- Required: User can view a list of existing todo items
- Required: User can add a new item to the todo list
- Required: User can remove an item from the todo list
- Requried: User can edit the text of an item in the existing todo list and save the changes (new)
- Optional: User can undo-delete in certain time frame (default 5 seconds)
- Optional: User can specify priority for items
- Optional: User can specify completion due dates for items
- Optional: Persist the todo app in SQLite instead of using a text file
- Optional: Display additional attributes, stylize the items in item ListView
Work-in-progress:
- Optional: Tweak the style of the app and improve the UI
- Optional: Use a DialogFragment instead of new Activity to support editing items
- Bug fixing: SQLite based datetime queries, time text formatting
Additional thoughts:
- Add tabs: daily, weekly and monthly ToDo lists
- Key words based todo list items, e.g. email, phone #, URL - will invoke email composition, phone call etc.
- Configuration settings: personalized UI schemes, reminder, localization, e.g. add Spanish and Chinese first
Notes:
Spent some time setting up the enviroment and went through all the slides, demo videos and tips, they were very helpful. Played around a bit with different layouts, found that it's more convenient to edit those layout xml directly. Wish I had more time to work on this 😢 because learning Android application development is really fun 😃
Walkthrough of all user stories:
SQLite database view:
