1. 2 The Address Book app provides convenient access to contact information that’s stored in a SQLite database on the device. You can: scroll through.

Slides:



Advertisements
Similar presentations
Android Application Development A Tutorial Driven Course.
Advertisements

Android Fragments.
ISMT221 Information Systems Analysis and Design Prototyping with MS Access Lab 6 Tony Tam.
11 3 / 12 CHAPTER Databases MIS105 Lec14 Irfan Ahmed Ilyas.
Mobile Application Development
컨텐트 프로바이더 박승제. Content Provider The only way to share data across applications Using content provider Use existing content providers supplied by android.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
CS378 - Mobile Computing Persistence - SQLite. Databases RDBMS – relational data base management system Relational databases introduced by E. F. Codd.
Emerging Platform#4: Android Bina Ramamurthy.  Android is an Operating system.  Android is an emerging platform for mobile devices.  Initially developed.
Data Persistence in Android
SQLite Database. SQLite Public domain database – Advantages Small (about 150 KB) – Used on devices with limited resources Each database contained within.
Lecturer: Ghadah Aldehim
Mobile Application Development with ANDROID Tejas Lagvankar UMBC 29 April 2009.
About me Yichuan Wang Android Basics Credit goes to Google and UMBC.
ContentProviders. SQLite Database SQLite is a software library that implements aself- contained, serverless,zero- configuration,transactionalSQL database.
By Mihir Joshi Nikhil Dixit Limaye Pallavi Bhide Payal Godse.
CSE 486/586, Spring 2013 CSE 486/586 Distributed Systems Content Providers & Services.
Software Architecture of Android Yaodong Bi, Ph.D. Department of Computing Sciences University of Scranton.
ContentProviders. SQLite Database SQLite is a software library that implements aself- contained, serverless,zero- configuration,transactionalSQL database.
@2011 Mihail L. Sichitiu1 Android Introduction Platform Overview.
ANDROID CONTENT PROVIDERS Peter Liu School of ICT, Seneca College.
01. Introduction to Android Prof. Oum Saokosal Master of Engineering in Information Systems, South Korea
RDB/1 An introduction to RDBMS Objectives –To learn about the history and future direction of the SQL standard –To get an overall appreciation of a modern.
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
Data Storage: Part 4 (Content Providers). Content Providers Content providers allow the sharing of data between applications. Inter-process communication.
COMP 365 Android Development.  Manages access from a central database  Allows multiple applications to access the same data.
Information Systems: Databases Define the role of general information systems Describe the elements of a database management system (DBMS) Describe the.
CSE 486/586, Spring 2012 CSE 486/586 Distributed Systems Recitation.
Object-Oriented Programming (OOP) CSC-2071 (3+1=4 Credits) Lecture No. 1 MBY.
Address Book App 1. Define styles   Specify a background for a TextView – res/drawable/textview_border.xml.
9 Persistence - SQLite CSNB544 Mobile Application Development Thanks to Utexas Austin.
ANDROID L. Grewe Components  Java Standard Development Kit (JDK) (download) (latest version)  AndroidStudio.
Three Layer Architecture Why Bother with the Middle Layer?
© 2005 Prentice Hall, Decision Support Systems and Intelligent Systems, 7th Edition, Turban, Aronson, and Liang 3-1 Chapter 3 Decision Support Systems:
Database Management System. DBMS A software package that allows users to create, retrieve and modify databases. A database is a collection of related.
SQLite DB Storing Data in Android RAVI GAURAV PANDEY 1.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
SQL.. AN OVERVIEW lecture3 1. Overview of SQL 2  Query: allow questions to be asked of the data and display only the information required. It can include.
Android - SQLite Database 12/10/2015. Introduction SQLite is a opensource SQL database that stores data to a text file on a device. Android comes in with.
SQlite. SQLite is a opensource SQL database that stores data to a text file on a device. Android comes in with built in SQLite database implementation.
Chapter 18 Object Database Management Systems. Outline Motivation for object database management Object-oriented principles Architectures for object database.
Class on Fragments & threads. Fragments fragment is a modular section of an activity, which has its own lifecycle, receives its own input events, and.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
CHAPTER 9 File Storage Shared Preferences SQLite.
Submitted by: Moran Mishan. Instructed by: Osnat (Ossi) Mokryn, Dr.
By: Eliav Menachi.  On Android, all application data (including files) are private to that application  Android provides a standard way for an application.
The Ingredients of Android Applications. A simple application in a process In a classical programming environment, the OS would load the program code.
The Flag Quiz app tests your ability to correctly identify 10 flags from various countries and territories.
Data Storage in Android Димитър Н. Димитров. Why talk about data? Why not 3D graphics or network connectivity? Data as fundamental term in computer science.
CS371m - Mobile Computing Persistence - SQLite. 2 In case you have not taken 347: Data Management or worked with databases as part of a job, internship,
Content Providers.
Fundamental of Database Systems
Android Application -Architecture.
Content provider.
Android Content Providers & SQLite
Mobile Applications (Android Programming)
Data Storage: Part 4 (Content Providers)
Content Providers And Content Resolvers
Mobile Applications (Android Programming)
Android Application SQLite 1.
Mobile Applications (Android Programming)
Android Database using SQLite
Content Providers.
Application Development A Tutorial Driven Course
CS371m - Mobile Computing Persistence - SQLite.
Fundamentals of Databases
Department of School of Computing and Engineering
SQLLite and Android.
Mobile Programming Dr. Mohsin Ali Memon.
Presentation transcript:

1

2

The Address Book app provides convenient access to contact information that’s stored in a SQLite database on the device. You can: scroll through an alphabetical contact list view a contact’s details by touching a contact’s name in the contact list add new contacts edit or delete existing contacts. New technologies:

Dynamically add Fragments to and remove Fragments from an Activity’s GUI using FragmentTransactions. Fragment back stack to enable back-button support, so the user can navigate backward through the Fragments that have been displayed. Display database data in a RecyclerView. Create and open a database with a subclass of SQLiteOpenHelper. New technologies:

Use a ContentProvider, a ContentResolver and a SQLiteDatabase object to perform database insert, update, delete and query operations. Use a LoaderManager and Loaders to perform database access asynchronously outside the GUI thread and to receive those results in the GUI thread. Define styles containing common GUI attributes and values, then apply them to multiple GUI components. New technologies:

Use only one Activity to host all of the app’s Fragments. Fragments for viewing, adding and editing contacts as they’re needed. Use the FragmentManager and FragmentTransactions to dynamically display Fragments. To communicate data between Fragments and a host Activity or the Activity’s other Fragments, through the host Activity this makes the Fragments more reusable, because they do not refer to one another directly.

New technologies: The contact information is stored in a SQLite database. SQLite is one of the world’s most widely deployed database engines. Use a subclass of SQLiteOpenHelper to simplify creating the database and to obtain a SQLiteDatabase object (package android.database.sqlite) for manipulating the database’s contents. Database queries are performed with Structured Query Language (SQL). Query results are managed via a Cursor (package android.database).

New technologies: A ContentProvider (package android.provider) exposes an app’s data for use in that app or in other apps. Android provides various built-in ContentProviders. For example, your apps can interact with data from the Android Contacts and Calendar apps.

New technologies: There are also ContentProviders for various telephony features, the media store (e.g., for images/video) and the user dictionary (used with Android’s predictive text-input capabilities). To invoke the ContentProvider’s query, insert, update and delete capabilities, use the corresponding methods of the Activity’s built- in ContentResolver (package android. content).