Closing Thoughts
In this chapter, you learned how to store data in an Android SQL database. If you want to do more with SQL, you’ll need to learn about more statements and expressions than the ones we covered here. A book such as SQL Pocket Guide [Gen10] by Jonathan Gennick or The Definitive Guide to SQLite [AO10] by Mike Owens would be a good investment, but keep in mind that the SQL syntax and functions vary slightly from database to database.
The SimpleCursorAdapter introduced in this chapter can be customized to show more than just text. For example, you could display rating stars, sparklines (small graphs), or other views based on data in the Cursor class. For more information, look for ViewBinder in the SimpleCursorAdapter documentation. ...
Get Hello, Android, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.