Professional Documents
Culture Documents
What Is Android?
What Is Android?
What is Android?
It is an open-sourced operating system that is used primarily on mobile
devices, such as cell phones and tablets.
Linux Kernel
Libraries
Android Framework
Android Applications
What is AAPT?
AAPT is short for Android Asset Packaging Tool. This tool provides
developers with the ability to deal with zip-compatible archives, which
includes creating, extracting as well as viewing its contents.
Describe Activities.
These are the essential items that are present each time an Android project
is created:
AndroidManifest.xml
build.xml
bin/
src/
res/
assets/
What are containers?
What is Orientation?
What is adb?
intent filters are used to filter out intents that these components are
willing to receive.
What is AIDL?
What is a Fragment?
What is an action?
What is DDMS?
OnCreate(): It is called when activity is created. Using this, the views are
created and data is collected from bundles.
OnStart(): It is called if the activity is becoming visible to the user. It may be
succeeded by onResume() if the activity comes to the foreground, or onStop() if it
becomes hidden.
OnResume(): It is called when the activity will start an interaction with the user.
OnPause(): This is called when the activity is moving to the background but
hasn’t been killed yet.
OnStop(): This is called when an activity is no longer visible to the user.
OnDestroy(): This is called when the activity is finished or destroyed.
OnRestart(): This is called after the activity has been stopped, prior to it being
started again.
dialog boxes
AlertDialog:
DatePickerDialog:.
TimePickerDialog:
ProgressDialog:
What is a Toast?
Toast is a message that pops up on the screen.
What is context?
The context in Android is the context of the current state of the application or object.
Style $ Theme
LinearLayout
A layout that arranges other views either horizontally in a single column or vertically
in a single row.
AbsoluteLayout
A layout that lets you specify exact locations (x/y coordinates) of its children.
FrameLayout
FrameLayout is designed to block out an area on the screen to display a single item.
RelativeLayout
It is a view group that displays child views in relative positions. The position of each view
can be specified as relative to sibling elements or in positions relative to the parent area.
ContraintLayout
A ConstraintLayout is a ViewGroup which allows you to position and size widgets in a
flexible way.
Menus
Types of Menus
Web View
WebView is a view that display web pages inside your application. You can also
specify HTML string and can show it inside your application using WebView.
WebView makes turns your application to a web application.
Sroll View
List View
Android ListView is a view which groups several items and display them in vertical
scrollable list. The list items are automatically inserted to the list using
an Adapter that pulls content from a source such as an array or database.
RecyclerView
Card View
CardView is a new widget in Android that can be used to display any sort of data
by providing a rounded corner layout along with a specific elevation. CardView is
the view that can display views on top of each other.
Introduction of Fragment:
Android Fragment is the part of activity, it is also known as sub-activity. There can be
more than one fragment in an activity. Fragments represent multiple screen inside
one activity.
Types of Fragment
Shared Preferences
Android provides many ways of storing data of an application. One of this way is
called Shared Preferences. Shared Preferences allow you to save and retrieve data
in the form of key,value pair.
Android provides facility to integrate Google map in our application. Google map
displays your current location, navigate location direction, search location etc. We
can also customize Google map according to our requirement.
SQLiteDatabase
Content URL
A content URI is a URI that identifies data in a provider. Content URIs include the
symbolic name of the entire provider (its authority) and a name that points to a table
(a path).
Content Reslover
The Content Resolver is the single, global instance in your application that
provides access to your (and other applications') content providers. ... This
design is important, as it allows a simple and secure means of accessing other
applications' Content Providers.
Content Provider
AsyncTasks
AsyncTask is an abstract class, which means you must subclass it in order to use
it.
Json pasring
Telephony api
Goggle api