UHack Application
Our application was close to being finished when we presented last Thursday. I just needed to fix the update which was a matter of fixing the update SQL method as well as packing an intent for onActivityResult method, since I did not do a singleton database object.
Here are some screenshots.
Top left screenshot shows a context menu that allows you to either edit or delete a selected notepad as well as creating one from scratch. This list uses a custom adapter.
Top right screenshot shows what a note contains as well as using a method that employs an async thread to fetch data via JSON from a Walmart or best buy database that fetches prices of your note.
Bottom left screenshot shows that my edit function works as it successfully updates a note in the database.
Probably the most important thing I will take away from this project is how to use a database properly how it does not reset the indexes once you delete a row and indexes start at 1, not 0.
The following Blugolds for completing this project.
1. Integrate a list view with a custom adapter/presentation into an app. 2. Use a local database to persist relational data. 5. Employ a web service in an app. The exchange format must be grammatically-defined: XML,JSON, or similar. HTML scraping doesn’t count. 6. Use threading to handle tasks off the UI thread.