What is application Widgets in Android?
Application widgets are miniature application views that can be embedded in other applications and receive periodic updates.
What is intent?
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
What is fragment?
The fragment is a part of Activity by which we can display multiple screens on one activity.
Define Android Architecture?
The Android architecture consists of 4 components:
- Linux Kernal
- Libraries
- Android Framework
- Android Applications
What is the use of LINUX ID in android?
A unique Linux ID is assigned to each application in android. It is used for the tracking of a process.
What are the code names of android?
- Aestro
- Blender
- Cupcake
- Donut
- Eclair
- Froyo
- Gingerbread
- Honeycomb
- Ice Cream Sandwich
- Jelly Bean
- KitKat
- Lollipop
- Marshmallow
What are the advantages of Android?
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).
What is ADT in Android?
ADT stands for Android Development Tool. It is used to develop the applications and test the applications.
How to call another activity in android?
Intent i = new Intent(getApplicationContext(), ActivityTwo.class);
startActivity(i);
Which types of flags are used to run an application on Android?
Following are two types of flags to run an application in Android:
- FLAG_ACTIVITY_NEW_TASK
- FLAG_ACTIVITY_CLEAR_TOP