Title Statements
- Full title :Android database best practices / Adam Stroud.
Summary
This is the first guide to focus on one of the most critical aspects of Android development: how to efficiently store, retrieve, manage, and share information from your app's internal database. Through real-world code examples, which you can use in your own apps, you'll learn how to take full advantage of SQLite and the database-related classes on Android. A part of Addison-Wesley's Android Deep Dive series for experienced Android developers, Android Database Best Practices draws on Adam Stroud's extensive experience leading cutting-edge app projects. Stroud reviews the core database theory and SQL techniques you need to efficiently build, manipulate, and read SQLite databases. He explores SQLite in detail, illuminates Android's APIs for database interaction, and shares modern best practices for working with databases in the Android environment. Through a complete case study, you'll learn how to design your data access layer to simplify all facets of data management and avoid unwanted technical debt. You'll also find detailed solutions for common challenges in building data-enabled Android apps, including issues associated with threading, remote data access, and showing data to users. You will discover how SQLite database differs from other relational databases; use SQL DDL to add structure to a database, and use DML to manipulate data, define and work with SQLite data types; persist highly structured data for fast, efficient access; master Android classes for create, read, update, and delete (CRUD) operations and database queries; share data within or between apps via content providers; master efficient UI strategies for displaying data, while accounting for threading issues; use Android's Intents API to pass data between activities when starting a new activity or service; achieve two-way communication between apps and remote web APIs; manage the complexities of app-to-server communication and avoid common problems; and use Android's new Data Binding API to write less code and improve performance. -- Provided by publisher.
Read More ↓Edition Statements
- Publication Date:2017
Publication Statements
- Publisher(s):Addison-Wesley
- Place of Publication:Boston
- Language:eng
- Publication Date:2017
Notes
Includes index.
The Physical Object
- Description:xvii, 259 pages : : illustrations ; : 23 cm
Edition Identifiers
- ISBN:0134437993, 9780134437996
- oclc:ocn959272798
- LC Classification:QA76.9.D3
- Dewey Decimal:005.75/65
Table of Contents
Chapter 1. Relational Databases: History of Databases -- The Relational Model -- Relational Languages -- Database Languages -- Summary -- Chapter 2. An Introduction to SQL: Data Definition Language -- Data Manipulation Language -- Queries -- Summary -- Chapter 3. An Introduction to SQLite: SQLite Characteristics -- SQLite Features -- What SQLite Does Not Support -- SQLite Data Types -- Summary -- Chapter 4. SQLite in Android: Data Persistence in Phones -- Android Database API -- Strategies for Upgrading Databases -- Database Access and the Main Thread -- Exploring Databases in Android -- Summary -- Chapter 5. Working with Databases in Android: Manipulating Data in Android -- Transactions -- Running Queries -- Cursors -- CursorLoader -- Summary -- Chapter 6. Content Providers: REST-Like APIs in Android -- Content URIs -- Exposing Data with a Content Provider -- Exposing a Remote Content Provider to External Apps -- Content Provider Contract -- Allowing Access from an External App -- Implementing a Content Provider -- When Should a Content Provider Be Used? -- Summary -- Chapter 7. Databases and the UI: Getting Data from the Database to the UI -- Cursors as Observers -- Accessing a …
Read More ↓Subjects
Writers
More from this Series
No reviews yet. Be the first to rate this work.
Files & Downloads
-
Android Database Best Practices -- (.epub)
EPUB · 12.8 MB · updated
Rate & Review