Interview :: Android
Android is an open-source, Linux-based operating system used in mobiles, tablets, televisions, etc.
Andy Rubin.
Following is a list of components of Android application architecture:
- Services: Used to perform background functionalities.
- Intent: Used to perform the interconnection between activities and the data passing mechanism.
- Resource Externalization: strings and graphics.
- Notification: light, sound, icon, notification, dialog box and toast.
- Content Providers: It will share the data between applications.
Open-source: It means no license, distribution and development fee.
Platform-independent: It supports Windows, Mac, and Linux platforms.
Supports various technologies: It supports camera, Bluetooth, wifi, speech, EDGE etc. technologies.
Highly optimized Virtual Machine: Android uses a highly optimized virtual machine for mobile devices, called DVM (Dalvik Virtual Machine).
Yes, an android app can be developed in C/C++ also using android NDK (Native Development Kit). It makes the performance faster. It should be used with Android SDK.
Activity is like a frame or window in java that represents GUI. It represents one screen of android.
It is a kind of message or information that is passed to the components. It is used to launch an activity, display a web page, send SMS, send email, etc. There are two types of intents in android:
- Implicit Intent
- Explicit Intent