What Is APK ? APK - Android Package Kit
What Is APK ? APK - Android Package Kit
What Is APK ? APK - Android Package Kit
APK – Android Package Kit, Android Package (APK) is the Android application package file
format used by the Android operating system, and a number of other Android-based
operating systems for distribution and installation of mobile apps, mobile games and
middleware.
3. What is Gradle?
Gradle is first file which is made on the creation of new project, Android Studio uses
Gradle, an advanced build toolkit, to automate and manage the build process, while allowing
you to define flexible custom build configurations. Each build configuration can define its
own set of code and resources, while reusing the parts common to all versions of your app.
4. What is seekbar ?
A SeekBar is an extension of ProgressBar that adds a draggable thumb. The user can touch
the thumb and drag left or right to set the current progress level or use the arrow keys.
Placing focusable widgets to the left or right of a SeekBar is discouraged.
5. What is ProgreeBar ?
A user interface element that indicates the progress of an operation. Progress bar supports
two modes to represent progress: determinate, and indeterminate. For a visual overview of
the difference between determinate and indeterminate progress modes, see Progress &
activity. Display progress bars to a user in a non-interruptive way. Show the progress bar in
your app's user interface or in a notification instead of within a dialog.
6. Architecture of the android operating system ?
1. linux kernel
2. native libraries (middleware),
3. Android Runtime
4. Application Framework
5. Applications
1. Linux Kernel
It is the heart of android architecture that exists at the root of android architecture. Linux
kernel is responsible for device drivers, power management, memory management, device
management and resource access.
2. Native Libraries
On the top of linux kernel, their are Native libraries such as WebKit, OpenGL, FreeType,
SQLite, Media, C runtime library (libc) etc. The WebKit library is responsible for browser
support, SQLite is for database, FreeType for font support, Media for playing and recording
audio and video formats.
3. Android Runtime
In android runtime, there are core libraries and DVM (Dalvik Virtual Machine) which is
responsible to run android application. DVM is like JVM but it is optimized for mobile
devices. It consumes less memory and provides fast performance.
4. Android Framwork
On the top of Native libraries and android runtime, there is android framework. Android
framework includes Android API's such as UI (User Interface), telephony, resources,
locations, Content Providers (data) and package managers. It provides a lot of classes and
interfaces for android application development.
5. Applications
On the top of android framework, there are applications. All applications such as home,
contact, settings, games, browsers are using android framework that uses android runtime and
libraries. Android runtime and native libraries are using linux kernel.
Activity
View
A view is the UI element such as button, label, text field etc. Anything that you see is
a view.
Intent
For example, you may write the following code to view the webpage.
1. Intent intent =new Intent(Intent.ACTION_VIEW);
2. intent.setData(Uri.parse(“www.google.com));
3. startActivity(intent);
Service
There are two types of services local and remote. Local service is accessed from
within the application whereas remote service is accessed remotely from other
applications running on the same device.
Content Providers
Fragments are like parts of activity. An activity can display one or more fragments on
the screen at the same time.
AndroidManifest.xml
It is used to test the android application without the need for mobile or tablet etc. It
can be created in different configurations to emulate different types of real devices.
1. Progress Bar –
Rating Star –
Splash –
Time Peaker –
Login Page –
Menu –
SMS –