Android is the most popular mobile operating system. Android Development may be done through Windows, Linux or Mac. All though primarily written in Java, there is no Java Development Machine (JDM) in the platform.
Instead of Java programs to run through the JDM, Google developed Dalvik, is a virtual machine specified for the Android. Dalvik runs recompiled Java code and also reads it as Dalvik bytecode and was designed to optimize battery power and maintain functionality in an environment with limited memory and CPU power, Such as that of mobile phones, netbooks, tablet PCs.
There are number of Layouts provided by Android which will can use in Android applications to provide different feel, look and view. Also each layout has a set of attributes.
Android application can be written using C++, Java, and Kotlin languages. The Android SDK tools compile your code along with any data and resource files into an APK, An Android package, This is an archive file with a .apksuffix. And One APK file contains all the contents of an Android app and this is the file that Android-powered devices use to install the app.
Step 1: Get started
Step 2: User experience
Step 3: Working in the background
Step 4: Saving user data
The unit first covers installing Android Studio and understanding project structure, So now building your first app, creating activities, testing your apps, and using the Android Support Library.
First, you deploy a simple Hello World application. You create an app with a simple activity with a basic concept, and then you create a multi-screen app that passes data between activities. You also learn how to use the Android Support Library to provide backward-compatibility with earlier versions of the Android system for your app.
The second unit covers how to get input from the user, implement navigation strategies, use themes and styles, test your user interface, and follow Material Design principles.
Now, You create apps that use menus and tabs for navigation, and input controls such as spinners and picker dialogs to get information from the user. Now you will learn how to extract resources to create a style from an instance of a user interface element. You write an app that displays a word list in a recycler view (and you learn why it’s better to use a recycler view than a plain scrolling list).
The unit third covers how to do background work, how to schedule tasks, and how to trigger events. It also covers the performance implications of executing work in the background, as well as best practices for reducing battery drain. And You can learn how Android determines which apps to keep running and which to stop when resources run low.
You can write an application that connects to the Internet in a background thread to find the author of any book. You can also build apps that send notifications and schedule tasks, and you learn how to implement scheduling functionality for apps that run on earlier versions of Android.
This fourth unit discusses how to store user data. From here you can learn how to use shared preferences to save simple key-value pairs, then you learn how to use the database to save, retrieve, and update user data.