SlideShare a Scribd company logo
1

http://www.tops-int.com/live-project-training-android.html

1
1. What is Android?
1.1. Android Operation System
1.2. Android Platform components
1.3. Task
1.4. Google Play

2. Android Development Tools
2.1. Android SDK
2.2. Android Developer Tools and Android Studio
http://www.tops-int.com/live-project-training-android.html

2
2.3. Dalvik Virtual Machine
2.4. How to Develop Android Applications

3. Security and Permissions
3.1. Security Concept in Android
3.2. Permission Concept in Android

4. Installation
4.1. Install Android Developer Tools
4.2 Other Eclipse installation options

http://www.tops-int.com/live-project-training-android.html

3
1.1. Android Operation System
• Android is an operating system based on the Linux kernel. The project
responsible for developing the Android system is called the Android Open
Source Project (AOSP) and is primarily lead by Google.
• The Android system supports background processing, provides a rich user
interface library, supports 2-D and 3-D graphics using the OpenGL
standard, access to the file system and provides an embedded SQLite
database.

http://www.tops-int.com/live-project-training-android.html

4
1.2. Android platform Components
The Android System is a full software stack which is typically defined into
the following four areas.

• Applications - The Android Open Source project contains several default
application, like the Browser, Camera, Gallery, Music, Phone and more.
• Application framework - API which allows for high-level interaction with
the Android system from Android applications.
• Libraries and runtime - Libraries for the Application Framework for many
functions (graphic rendering, data storage, web browsing, etc.) and the
Dalvik runtime and the core Java libraries for running Android
applications.
• Linux kernel - Communication layer for the underlying hardware.
http://www.tops-int.com/live-project-training-android.html

5
• This architecture is depicted in the following graphic.

• The developer typically works with the two layers on top to create
new Android applications. The Linux kernel, the libraries and the
runtime are encapsulated by the Application framework.
http://www.tops-int.com/live-project-training-android.html

6
1.3. Task
The reuse of components of other applications leads to the concept of
a task in Android; an application can reuse other Android components to
achieve a task. For example, you can trigger from your application
another application which has registered itself with the Android system
to handle photos. In this other application you select a photo and return
to your application to use the selected photo.

1.4. Google Play
Google offers the Google Play service, a marketplace in which
programmers can offer their Android applications to Android users. End
users use the Google Play application which allows to buy and install
applications from the Google Play service.
http://www.tops-int.com/live-project-training-android.html

7
• Google Play also offers an update service. If a programmer uploads a new
version of his application to Google Play, this service notifies existing
users that an update is available and allows them to install the update.
• Google Play provides access to services and libraries for Android
application programmers, too. For example, it provides a service to use
and display Google Maps and another to synchronize the application
state between different Android installations.
• Providing these services via Google Play has the advantage that they are
available for older Android releases and can be updated by Google
without the need for an update of the Android release on the phone.

http://www.tops-int.com/live-project-training-android.html

8
2.1. Android SDK
• The Android Software Development Kit (Android SDK) contains the
necessary tools to create, compile and package Android applications.
Most of these tools are command line based. The primary way to
develop Android applications is based on the Java programming
language.
• The Android SDK contains the Android debug bridge (adb) which is a tool
that allows you to connect to a virtual or real Android device for the
purpose of managing the device or debugging your application.
http://www.tops-int.com/live-project-training-android.html

9
2.2. Android Developer Tools and Android Studio
• Google provides graphical development environments based on the
Eclipse and IntelliJ IDE to develop new applications.

• The Android Developer Tools (ADT) are based on the Eclipse IDE and
provide additional functionalities to develop Android applications. ADT is
a set of components (plug-ins) which extend the Eclipse IDE with Android
development capabilities.
• Google also supports an IDE called Android Studio for creating Android
applications. This IDE is based on the IntelliJ IDE.
• Both tools contain all required functionality to create, compile, debug
and deploy Android applications from the IDE. They also allow the
developer to create and start virtual Android devices for testing.
http://www.tops-int.com/live-project-training-android.html

10
2.3 Davlik Virtual Machine
• The Android system uses a special virtual machine, i.e., the Dalvik Virtual
Machine to run Java based applications. Dalvik uses a custom byte code
format which is different from Java byte code.
• Therefore you cannot run Java class files on Android directly; they need
to get converted in the Dalvik byte code format.

2.4. How to Develop Android Applications
• Android applications are primarily written in the Java programming
language.
• During development the developer creates the Android specific
configuration files and writes the application logic in the Java
programming language. The Java source files are converted to Java class
files by the Java compiler.
http://www.tops-int.com/live-project-training-android.html

11
• The Android SDK contains a tool called dx which converts Java class files
into a .dex (Dalvik Executable) file. All class files of one application are
placed in one compressed .dex file. During this conversion process
redundant information in the class files are optimized in the .dex file. For
example, if the same String is found in different class files, the .dexfile
contains only one reference of this String.

• These .dex files are therefore much smaller in size than the
corresponding class files.
• The .dex file and the resources of an Android project, e.g., the images
and XML files, are packed into an .apk(Android Package) file. The
program aapt (Android Asset Packaging Tool) performs this packaging.
• The resulting .apk file contains all necessary data to run the Android
application and can be deployed to an Android device via the adb tool.

• The ADT and Android Studio tools perform these steps transparently to
the user, i.e., if the user selects that the application should be deployed,
the whole Android application (.apk file) is created, deployed and started.
http://www.tops-int.com/live-project-training-android.html

12
3.1. Security Concept in Android
• The Android system installs every Android application with a unique
user and group ID. Each application file is private to this generated
user, e.g., other applications cannot access these files. In addition
each Android application is started in its own process.

• Therefore, by means of the underlying Linux kernel, every Android
application is isolated from other running applications.
• If data should be shared, the application must do this explicitly, e.g.,
via a service or a content provider.

3.2. Permission Concept in Android
http://www.tops-int.com/live-project-training-android.html

13
• Android contains a permission system and predefines permissions for
certain tasks. Every application can request required permissions and
also define new permissions. For example, an application may declare
that it requires access to the Internet.

• Permissions have different levels. Some permissions are automatically
granted by the Android system, some are automatically rejected. In
most cases the requested permissions are presented to the user
before installing the application. The user needs to decide if these
permissions shall be given to the application.
• If the user denies a required permission, the related application
cannot be installed. The check of the permission is only performed
during installation, permissions cannot be denied or granted after the
installation.
http://www.tops-int.com/live-project-training-android.html

14
4.1. Install Android Developer Tools
4.1.1. Download packaged Android Developer Tools
Google provides a packaged and configured Android development
environment based on the Eclipse IDE called Android Developer Tools.
Under the following URL you find an archive file which includes all
required tools for Android development: Getting the Android SDK.

4.1.2. Stand-alone ADT installation
Extract the zip file and start the Android Developer Tools (Eclipse)
which are located in the eclipse folder. You can do this by doubleclicking on the eclipse native launcher.
(e.g., eclipse.exe under Windows).
http://www.tops-int.com/live-project-training-android.html

15
4.1.3. Update an existing Eclipse IDE
See for a description on how to update your existing Eclipse IDE to
perform Android development.

4.2. Other Eclipse installation Options
The simplest way to start Android development with Eclipse is to
download a complete and pre-configured bundle as described
in Section 4.1.1, “Download packaged Android Developer Tools”. It is
also possible to update an existing Eclipse installation. Please
see Android installation for a detailed description

http://www.tops-int.com/live-project-training-android.html

16
http://www.tops-int.com/live-project-training-android.html

17
http://www.tops-int.com/live-project-training-android.html

18

More Related Content

PPTX
03 Beginning Android Application Development
PPTX
Android App development III
PPTX
Android App development I
PPTX
Android chapter02-setup1-sdk
PDF
Android application development
PPTX
Android
PPTX
Android Basic
PPT
Industrial Training in Android Application
03 Beginning Android Application Development
Android App development III
Android App development I
Android chapter02-setup1-sdk
Android application development
Android
Android Basic
Industrial Training in Android Application

What's hot (20)

PPTX
Session 2 beccse
PDF
Os Tibbittstutorial
PDF
Training android
PPTX
Android session-1-sajib
PPTX
Android development-tutorial
PDF
Android Basic- CMC
PDF
Android application development workshop day1
PPTX
Android basic principles
PDF
Android studio
PDF
Android Development
PDF
Os eclipse-androidwidget-pdf
PDF
Android Development
PDF
Android tutorial
PDF
Android Programming Basics
PDF
Android Development
PPTX
Basic of Android App Development
PPTX
Android installation guide
PPTX
Titanium Studio [Updated - 18/12/2011]
PPT
Getting started with android dev and test perspective
PDF
Top React Native Developer Tools and Component Libraries (For Easy and Speedy...
Session 2 beccse
Os Tibbittstutorial
Training android
Android session-1-sajib
Android development-tutorial
Android Basic- CMC
Android application development workshop day1
Android basic principles
Android studio
Android Development
Os eclipse-androidwidget-pdf
Android Development
Android tutorial
Android Programming Basics
Android Development
Basic of Android App Development
Android installation guide
Titanium Studio [Updated - 18/12/2011]
Getting started with android dev and test perspective
Top React Native Developer Tools and Component Libraries (For Easy and Speedy...
Ad

Similar to How to create android applications (20)

ODP
Java Meetup - 12-03-15 - Android Development Workshop
PPT
Android presentation slide
DOC
Google android white paper
PDF
report A K Maurya.pdf
PPTX
3. Android Architecture.pptx
PPTX
Seminar on android app development
PPT
Android development tutorial
PPTX
Android development classes in chandigarh : Big Boxx Academy
PPTX
Android Overview
PPTX
Android development tutorial
PPTX
Androidoverview 100405150711-phpapp01
PPTX
Android by LAlitha
PDF
MAD Unit - 1 Introduction of Android IT Department
PPTX
this is PPT for mobail application development
PDF
Android and its feature
PPT
Mobile appliaction w android week 1 by osama
PPT
PPT Companion to Android
PPTX
What is Android
PDF
Introduction to android
PPTX
Introduction to android mobile app development.pptx
Java Meetup - 12-03-15 - Android Development Workshop
Android presentation slide
Google android white paper
report A K Maurya.pdf
3. Android Architecture.pptx
Seminar on android app development
Android development tutorial
Android development classes in chandigarh : Big Boxx Academy
Android Overview
Android development tutorial
Androidoverview 100405150711-phpapp01
Android by LAlitha
MAD Unit - 1 Introduction of Android IT Department
this is PPT for mobail application development
Android and its feature
Mobile appliaction w android week 1 by osama
PPT Companion to Android
What is Android
Introduction to android
Introduction to android mobile app development.pptx
Ad

More from TOPS Technologies (20)

PPSX
Learn java objects inheritance-overriding-polymorphism
PDF
Surat tops conducted one hour seminar on “corporate basic skills”
PPT
Word press interview question and answer tops technologies
PPT
How to install android sdk
PPTX
Software testing and quality assurance
PPTX
Basics in software testing
PPTX
Learn advanced java programming
PPTX
How to create android applications
PPTX
What is ui element in i phone developmetn
PPTX
Java live project training
PPTX
Software testing live project training
PPTX
Web designing live project training
PPTX
Php live project training
PPT
iPhone training in ahmedabad by tops technologies
PPT
Php training in ahmedabad
PPT
Java training in ahmedabad
PPT
08 10-2013 gtu projects - develop final sem gtu project in i phone
PPT
GTU PHP Project Training Guidelines
PPT
GTU Asp.net Project Training Guidelines
PPT
GTU Guidelines for Project on JAVA
Learn java objects inheritance-overriding-polymorphism
Surat tops conducted one hour seminar on “corporate basic skills”
Word press interview question and answer tops technologies
How to install android sdk
Software testing and quality assurance
Basics in software testing
Learn advanced java programming
How to create android applications
What is ui element in i phone developmetn
Java live project training
Software testing live project training
Web designing live project training
Php live project training
iPhone training in ahmedabad by tops technologies
Php training in ahmedabad
Java training in ahmedabad
08 10-2013 gtu projects - develop final sem gtu project in i phone
GTU PHP Project Training Guidelines
GTU Asp.net Project Training Guidelines
GTU Guidelines for Project on JAVA

Recently uploaded (20)

PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Institutional Correction lecture only . . .
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PPTX
master seminar digital applications in india
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Cell Structure & Organelles in detailed.
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPTX
Cell Types and Its function , kingdom of life
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
Lesson notes of climatology university.
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
RMMM.pdf make it easy to upload and study
Abdominal Access Techniques with Prof. Dr. R K Mishra
Institutional Correction lecture only . . .
102 student loan defaulters named and shamed – Is someone you know on the list?
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
master seminar digital applications in india
Supply Chain Operations Speaking Notes -ICLT Program
Cell Structure & Organelles in detailed.
Microbial disease of the cardiovascular and lymphatic systems
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Cell Types and Its function , kingdom of life
Microbial diseases, their pathogenesis and prophylaxis
Lesson notes of climatology university.
STATICS OF THE RIGID BODIES Hibbelers.pdf
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
RMMM.pdf make it easy to upload and study

How to create android applications

  • 2. 1. What is Android? 1.1. Android Operation System 1.2. Android Platform components 1.3. Task 1.4. Google Play 2. Android Development Tools 2.1. Android SDK 2.2. Android Developer Tools and Android Studio http://www.tops-int.com/live-project-training-android.html 2
  • 3. 2.3. Dalvik Virtual Machine 2.4. How to Develop Android Applications 3. Security and Permissions 3.1. Security Concept in Android 3.2. Permission Concept in Android 4. Installation 4.1. Install Android Developer Tools 4.2 Other Eclipse installation options http://www.tops-int.com/live-project-training-android.html 3
  • 4. 1.1. Android Operation System • Android is an operating system based on the Linux kernel. The project responsible for developing the Android system is called the Android Open Source Project (AOSP) and is primarily lead by Google. • The Android system supports background processing, provides a rich user interface library, supports 2-D and 3-D graphics using the OpenGL standard, access to the file system and provides an embedded SQLite database. http://www.tops-int.com/live-project-training-android.html 4
  • 5. 1.2. Android platform Components The Android System is a full software stack which is typically defined into the following four areas. • Applications - The Android Open Source project contains several default application, like the Browser, Camera, Gallery, Music, Phone and more. • Application framework - API which allows for high-level interaction with the Android system from Android applications. • Libraries and runtime - Libraries for the Application Framework for many functions (graphic rendering, data storage, web browsing, etc.) and the Dalvik runtime and the core Java libraries for running Android applications. • Linux kernel - Communication layer for the underlying hardware. http://www.tops-int.com/live-project-training-android.html 5
  • 6. • This architecture is depicted in the following graphic. • The developer typically works with the two layers on top to create new Android applications. The Linux kernel, the libraries and the runtime are encapsulated by the Application framework. http://www.tops-int.com/live-project-training-android.html 6
  • 7. 1.3. Task The reuse of components of other applications leads to the concept of a task in Android; an application can reuse other Android components to achieve a task. For example, you can trigger from your application another application which has registered itself with the Android system to handle photos. In this other application you select a photo and return to your application to use the selected photo. 1.4. Google Play Google offers the Google Play service, a marketplace in which programmers can offer their Android applications to Android users. End users use the Google Play application which allows to buy and install applications from the Google Play service. http://www.tops-int.com/live-project-training-android.html 7
  • 8. • Google Play also offers an update service. If a programmer uploads a new version of his application to Google Play, this service notifies existing users that an update is available and allows them to install the update. • Google Play provides access to services and libraries for Android application programmers, too. For example, it provides a service to use and display Google Maps and another to synchronize the application state between different Android installations. • Providing these services via Google Play has the advantage that they are available for older Android releases and can be updated by Google without the need for an update of the Android release on the phone. http://www.tops-int.com/live-project-training-android.html 8
  • 9. 2.1. Android SDK • The Android Software Development Kit (Android SDK) contains the necessary tools to create, compile and package Android applications. Most of these tools are command line based. The primary way to develop Android applications is based on the Java programming language. • The Android SDK contains the Android debug bridge (adb) which is a tool that allows you to connect to a virtual or real Android device for the purpose of managing the device or debugging your application. http://www.tops-int.com/live-project-training-android.html 9
  • 10. 2.2. Android Developer Tools and Android Studio • Google provides graphical development environments based on the Eclipse and IntelliJ IDE to develop new applications. • The Android Developer Tools (ADT) are based on the Eclipse IDE and provide additional functionalities to develop Android applications. ADT is a set of components (plug-ins) which extend the Eclipse IDE with Android development capabilities. • Google also supports an IDE called Android Studio for creating Android applications. This IDE is based on the IntelliJ IDE. • Both tools contain all required functionality to create, compile, debug and deploy Android applications from the IDE. They also allow the developer to create and start virtual Android devices for testing. http://www.tops-int.com/live-project-training-android.html 10
  • 11. 2.3 Davlik Virtual Machine • The Android system uses a special virtual machine, i.e., the Dalvik Virtual Machine to run Java based applications. Dalvik uses a custom byte code format which is different from Java byte code. • Therefore you cannot run Java class files on Android directly; they need to get converted in the Dalvik byte code format. 2.4. How to Develop Android Applications • Android applications are primarily written in the Java programming language. • During development the developer creates the Android specific configuration files and writes the application logic in the Java programming language. The Java source files are converted to Java class files by the Java compiler. http://www.tops-int.com/live-project-training-android.html 11
  • 12. • The Android SDK contains a tool called dx which converts Java class files into a .dex (Dalvik Executable) file. All class files of one application are placed in one compressed .dex file. During this conversion process redundant information in the class files are optimized in the .dex file. For example, if the same String is found in different class files, the .dexfile contains only one reference of this String. • These .dex files are therefore much smaller in size than the corresponding class files. • The .dex file and the resources of an Android project, e.g., the images and XML files, are packed into an .apk(Android Package) file. The program aapt (Android Asset Packaging Tool) performs this packaging. • The resulting .apk file contains all necessary data to run the Android application and can be deployed to an Android device via the adb tool. • The ADT and Android Studio tools perform these steps transparently to the user, i.e., if the user selects that the application should be deployed, the whole Android application (.apk file) is created, deployed and started. http://www.tops-int.com/live-project-training-android.html 12
  • 13. 3.1. Security Concept in Android • The Android system installs every Android application with a unique user and group ID. Each application file is private to this generated user, e.g., other applications cannot access these files. In addition each Android application is started in its own process. • Therefore, by means of the underlying Linux kernel, every Android application is isolated from other running applications. • If data should be shared, the application must do this explicitly, e.g., via a service or a content provider. 3.2. Permission Concept in Android http://www.tops-int.com/live-project-training-android.html 13
  • 14. • Android contains a permission system and predefines permissions for certain tasks. Every application can request required permissions and also define new permissions. For example, an application may declare that it requires access to the Internet. • Permissions have different levels. Some permissions are automatically granted by the Android system, some are automatically rejected. In most cases the requested permissions are presented to the user before installing the application. The user needs to decide if these permissions shall be given to the application. • If the user denies a required permission, the related application cannot be installed. The check of the permission is only performed during installation, permissions cannot be denied or granted after the installation. http://www.tops-int.com/live-project-training-android.html 14
  • 15. 4.1. Install Android Developer Tools 4.1.1. Download packaged Android Developer Tools Google provides a packaged and configured Android development environment based on the Eclipse IDE called Android Developer Tools. Under the following URL you find an archive file which includes all required tools for Android development: Getting the Android SDK. 4.1.2. Stand-alone ADT installation Extract the zip file and start the Android Developer Tools (Eclipse) which are located in the eclipse folder. You can do this by doubleclicking on the eclipse native launcher. (e.g., eclipse.exe under Windows). http://www.tops-int.com/live-project-training-android.html 15
  • 16. 4.1.3. Update an existing Eclipse IDE See for a description on how to update your existing Eclipse IDE to perform Android development. 4.2. Other Eclipse installation Options The simplest way to start Android development with Eclipse is to download a complete and pre-configured bundle as described in Section 4.1.1, “Download packaged Android Developer Tools”. It is also possible to update an existing Eclipse installation. Please see Android installation for a detailed description http://www.tops-int.com/live-project-training-android.html 16