Mobile Application Development Chapter 1 & 2
Mobile Application Development Chapter 1 & 2
Unit- 1 & 2
Computer Department
Mobile Operating Systems
• A mobile OS is an operating system for smartphones, tablets, PDAs, or other mobile devices.
• Mobile OSs combine features of a personal computer OS with other features useful for mobile or
handheld use; usually including, and most of the following considered essential in modern mobile
systems;
• touchscreen, cellular, Bluetooth, Wi-Fi, GPS mobile navigation, camera, video camera, speech
recognition, voice recorder, music player, etc.
Some Current software platforms
• Android (based on the Linux Kernel) is from Google Inc.
• CyanogenMod and Cyanogen OS are based on the open source Android Open Source
Project(AOSP).
• Fire OS is an operating system launched by Amazon based on Google's AOSP.
• iOS (previously known as iPhone OS) is from Apple Inc.
• Windows Phone (Soon to be Windows 10 Mobile) is from Microsoft.
• BlackBerry 10 (based on the QNX OS) is from BlackBerry.
• Firefox OS is from Mozilla.
Introduction to Android
History of Android
• The code names of android ranges from A to L currently, such as Aestro, Blender, etc…
Fig.: The compiling and packaging process from the source file
Dalvik Virtual Machine (DVM)
• The javac tool compiles the java source file into the class file.
• The dx tool takes all the class files of your application and generates a single .dex file. It is a
platform-specific tool.
• The Android Assets Packaging Tool (aapt) handles the packaging process.
Difference between JVM and DVM
DVM (Dalvik Virtual Machine) JVM (Java Virtual Machine)
It is Register based which is designed to run on low
It is Stack based.
memory.
DVM uses its own byte code and runs “.Dex” file.
JVM uses java byte code and runs “.class” file
From Android 2.2 SDK Dalvik has got a Just in
having JIT (Just In Time).
Time compiler
DVM supports Android operating system only. JVM supports multiple operating systems.
For DVM very few Re-tools are available. For JVM many Re-tools are available.
There is constant pool for every application. It has constant pool for every class.
To complete the installation, leave Start Android Studio box checked and click Finish.
Running Android Studio
The first time Android Studio runs, it presents a Complete Installation dialog box that offers the option of
importing settings from a previous installation.
choose not to import settings (the default selection) and click OK, the following splash screen will appear:
Running Android Studio
You will observe the following Finding Available SDK Components message box.
Running Android Studio
Android Studio will present the following Android Studio Setup Wizard dialog box:
Running Android Studio
Click Next, and the wizard will invite you to select an installation type. Keep the default standard setting.
Running Android Studio
Then you can choose a user interface theme.
Running Android Studio
You can choose whichever you want and click Next. Android Studio will next provide the opportunity to
verify settings.
Running Android Studio
click Finish and Android Studio will begin the process of downloading SDK components.
Running Android Studio
It can take several minutes for this part of the setup to finish.
Running Android Studio
Finally, click Finish to complete the wizard. The Welcome to Android Studio dialog box appear.
This dialog box is used to start up a new Android Studio project, work with an existing project, and more. It can be
accessed by selecting Android Studio from the Windows Start menu, or the equivalent on another platform.
Thank You