14.01.2013 Views

Android™ Application Development - Bahar Ali Khan

Android™ Application Development - Bahar Ali Khan

Android™ Application Development - Bahar Ali Khan

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 6: Data Storage, Retrieval, and Sharing<br />

206<br />

Android provides a fully featured SQLite RDBMS to all applications. This small, effi cient, and robust<br />

database lets you create relational databases to persist application data. Using Content Providers, you<br />

learned how to share private data, particularly databases, across application boundaries.<br />

All database and Content Provider queries are returned as Cursors; you learned how to perform queries<br />

and extract data from the resulting Cursor objects.<br />

Along the way, you also learned to:<br />

❑<br />

❑<br />

❑<br />

❑<br />

❑<br />

Save and load fi les directly to and from the underlying fi lesystem.<br />

Include static fi les as external project resources.<br />

Create new SQLite databases.<br />

Interact with databases to insert, update, and delete rows.<br />

Use the native Content Providers included with Android to access and manage native data like<br />

media and contacts.<br />

With a solid foundation in the fundamentals of Android development, the remainder of this book will<br />

investigate some of the more interesting optional Android features.<br />

Starting in the next chapter, you’ll be introduced to the geographic APIs. Android offers a rich suite<br />

of geographical functionality including location-based services (such as GPS), forward and reverse<br />

geocoding, as well as a fully integrated Google Maps implementation. Using Google Maps, you can<br />

create map-based Activities that feature annotations to develop native map-mashup style applications.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!