Download Tutorial18.tarBy Request, this tutorial is a very simple variation on number 11. We create a simple list of notes, which we can add to using an AlertDialog and DialogInterface.
Download Tutorial17.tarThis tutorial shows you how to overwrite a database file with another database file using the onUpgrade method. This is NOT the prefered way to do this, as you will lose any data your application’s users have put in their database (DUH) BUT…If your application does not write to the database, you can get away with this.
Download Tutorial16.tarBy request, this is an extension on example 15. This tutorial shows how to create a list from a database, click on an item from that list, then pass the result of that click to another activity, AND THEN ANOTHER LIST in the new activity based on the passed variable.
This tutorial shows how to create a list from a database, click on an item from that list, then pass the result of that click to another activity. We do this using Intent Extras. This tutorial uses Tutorial 10 as its base. We add a second activity and an onItemClickListener to it.
This tutorial covers how to add a menu to an activity, and then launch another activity from that menu. Its a very VERY simple tutorial, with 2 methods added to the standard hello world tutorial.
Download it here. Tutorial14.tar
In this tutorial, we add the ability to delete a selected entry from our database. The user must first click the item from the list, then click the on delete button. If the user clicks the delete button first without having selected an entry, nothing happens! We have retained the save and edit features from previous entries.
Download it here.Tutorial13.tar
This is a continuation of Tutorial11. In this tutorial, we not only save to the database, but we can now click on the list, make a change to that entry, and then save it back to the database. We do this by using setOnItemClickListener, OnItemClickListener and OnItemClick. We get our entry for updating from the database and update is back to the database with getById and update methods that we added to our database helper.
Download it here – Tutorial12.tar
This is a beta of my QuickQuote helper app. This app is designed to take a small amount of data, store it, and then let you email or text it to someone later. This is useful for contractors who need to send quotes to people.
Click here to Download it
Warning – this was written for Android 2.4 and is no longer valid – In this tutorial, we show how to store a text string in a database. This allows us to make a list of thing, that we can store in and retrieve from a database. This tutorial uses the ViewHolder class, DatabaseHelper class, and a Custom CursorAdapter We will be using this tutorial as the basis for the next several videos.
Download it here.Tutorial11.tar
This tutorial covers the most basic example of how to pull data from a database and display it in a list in your application. We are pulling from a preloaded database(see tutorial 9) This is done by using a Cursor to hold the results of the query, which when then pass to the CursorAdapter object. A CursorAdapter is just a little bit different from an ArrayAdapter. We also use the ViewHolder technique in this video(see tutorials 7 and 8).
Download it here. Tutorial10.tar