Pronto SQLite
Pronto SQLite
Master Android Data Persistence
About the Book
If you are struggling with learning Android development, the reason could be that you are learning abstract concepts in isolation.
Nothing could be more abstract in Android development than data persistence and yet if you want to be a professional Android Developer, you must master data persistence. This training will help you to do just that.
Side by side comparison is an effective way of learning complex topics. You will master all aspects of on-device data storage and network data storage in Android by implementing data persistence for a shopping cart app using SQLite database, Content Provider/Content Resolver, Realm database and Firebase database.
By completing this book, you will acquire the skill to create similar business and productivity Android apps. You will learn beginner to advanced Android development technologies and go through a step by step tutorial on how to apply those concepts.
What you will learn:
- SQLite
- Content Provider
- MVP Design Pattern
- Realm Database
- Firebase Database
- Repository Pattern
- Dependency Injection with Dagger 2
The books come with a fully developed source code.
Table of Contents
-
Part 1 - Getting Started with SQLite
-
Chapter One - Introduction
- Welcome to Pronto SQLite
- Book Structure
- Data Storage Options in Android
- Basic Database Concepts
- SQLite Introduction
- Android SQLite Data Type
- Chapter Review
- Chapter Review
-
Chapter Two - SQLite Database Setup
- Sample Application
- Create SQLite Database
- Create SQLite Database Tables
- Where is the Database?
- Chapter Review
-
Chapter 3 - Design Patterns
- Singleton Pattern
- MVP Design Pattern
- Repository Pattern
- Dependency Injection
- Managing Relationship with SQLite
- Chapter Review
-
Chapter 4: CRUD Operations
- Insert Records to SQLite Database
- Read Records from SQLite Database
- Read Get Specific Customer Record from Database
- Read Multiple Records from SQLite Database
- Update Database Records
- Delete Records from Database
- Chapter Review
-
Chapter 5 - SQLite Operations
- More Example of SQLite Query
- How to Upgrade SQLite Database
- How to Backup SQLite Database
- How to Restore SQLite Database
- Seed SQLite Database with Initial Data
- Background Thread
- Chapter Review
-
Chapter One - Introduction
-
Part 2 - Content Provider
-
Chapter 6 - Introduction to Content Provider
- Getting Started With ContentProvider
- Create ContentProvider
- Implement ContentProvider Query Methods
- CRUD Operation with Content Provider
- Implement CRUD with ContentProvider
- Chapter Review
-
Chapter 7 - Async Query with AsyncQueryHandler
- Introduction to AsyncQueryHandler
- Implement Asynchronous CRUD Methods
- Seed Content Provider with Initial Data
- Chapter Review
-
Chapter 6 - Introduction to Content Provider
-
Part 3 - Realm Database
-
Chapter 8 - Getting Started with Realm
- What is Realm?
- Realm Configuration
- Create Realm Database Tables
- Primary Key
- Relationship
- Inheritance
- Chapter Review
-
Chapter 9 -Implement CRUD with Realm Database
- Insert Records into Realm Database
- Read Single Record from Realm Database
- Read Multiple Records From Realm Database
- Update Realm Database Records
- Delete Record From Real Database
- Chapter Review
-
Chapter 8 - Getting Started with Realm
Other books by this author
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them