Category «Android Advanced Concepts»

Architecture of Android

In order to understand how Android works, take a look at Figure 1-1, which shows the various layers that make up the Android operating system  (OS).   The Android OS is roughly divided into five sections in four main layers: ➤      Linux kernel — This is the kernel on which Android is based. This layer …

Features of Android

As Android is open source and freely available to manufacturers for customization, there are no fixed hardware and software configurations. However, Android itself supports the following   features: ➤      Storage — Uses SQLite, a lightweight relational database, for data storage. Chapter 6 discusses data storage in more detail. ➤      Connectivity — Supports GSM/EDGE, IDEN, CDMA, EV-DO, …

Android App Basics

Here we can take an example of GeoQuiz application will consist of an activity and a layout: • An activity is an instance of Activity, a class in the Android SDK. An activity is responsible for managing user interaction with a screen of information. You write subclasses of Activity to implement the functionality that your …

Android Widgets

1. Android Widgets 1.1. Overview about AppWidgets Widgets are little applications which can be placed on a widget host, typically the home screen or the lock screen of your Android device. A widget runs as part of the process of its host. This requires that the widget preserves the permissions of their application. Widget use …

Android with SQLite database

1. SQLite and Android 1.1. What is SQLite? SQLite is an Open Source database. SQLite supports standard relational database features like SQL syntax, transactions and prepared statements. The database requires limited memory at runtime (approx. 250 KByte) which makes it a good candidate from being embedded into other runtimes. SQLite supports the data types TEXT …