万本电子书0元读

万本电子书0元读

顶部广告

Android SQLite Essentials电子书

售       价:¥

96人正在读 | 0人评论 6.2

作       者:Sunny Kumar Aditya

出  版  社:Packt Publishing

出版时间:2014-08-26

字       数:55.3万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:此类商品不支持退换货,不支持下载打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
This is an ideal book for Android programmers who want to explore SQLite databases based on Android applications. The general competency level expected of the reader is prior knowledge of developing applications and basic knowledge of Android and SQL.
目录展开

Android SQLite Essentials

Table of Contents

Android SQLite Essentials

Credits

About the Authors

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers and more

Why Subscribe?

Free Access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

1. Enter SQLite

Why SQLite?

The SQLite architecture

The SQLite interface

The SQL compiler

The virtual machine

The SQLite backend

A quick review of database fundamentals

What is an SQLite statement?

The SQLite syntax

Datatypes in SQLite

Storage classes

The Boolean datatype

The Date and Time datatype

SQLite in Android

SQLite version

Database packages

APIs

The SQLiteOpenHelper class

The SQLiteDatabase class

ContentValues

Cursor

Summary

2. Connecting the Dots

Building blocks

A database handler and queries

Building the Create query

Building the Insert query

Building the Delete query

Building the Update query

Connecting the UI and database

Summary

3. Sharing is Caring

What is a content provider?

Using existing content providers

What is a content resolver?

Creating a content provider

Understanding content URIs

Declaring our contract class

Creating UriMatcher definitions

Implementing the core methods

Initializing the provider through the onCreate() method

Querying records through the query() method

Adding records through the insert() method

Updating records through the update() method

Deleting records through the delete() method

Getting the return type of data through the getType() method

Adding a provider to a manifest

Using a content provider

Summary

4. Thread Carefully

Loading data with CursorLoader

Loaders

Loader API's summary

Using CursorLoader

Data security

ContentProvider and permissions

Encrypting critical data

General tips and libraries

Upgrading a database

Database minus SQL statements

Shipping with a prepopulated database

Summary

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部