Pronto SQLite

Retired

This book is no longer available for sale.

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.

About the Author

Val Okafor
Val Okafor

Val Okafor is a San Diego, CA based Senior Software Engineer with extensive experience developing Android application for enterprises, startups and his own projects. Val obtained his Masters degree in Software Engineering from Regis University. Val has worked for corporations such as Insulet Corporation, Sony Electronics and HD Supply. 

I have written this book as the training I wish I had when I started. I will take you through an engaging step-by-step tutorial and help you build a strong foundation upon which you can build a successful Android app development career. I have built mobile apps for enterprises, startups, and published a few of my side project apps. I thoroughly enjoy sharing my knowledge, it is my hope to help make your transition to a professional Android developer easier.

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
  • 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
  • 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

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...

80% Royalties. Earn $16 on a $20 book.

We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $13 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

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub