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

What's hot

Session 2 beccse
Session 2 beccseSession 2 beccse
Session 2 beccse
vin123456gangal
 
Os Tibbittstutorial
Os TibbittstutorialOs Tibbittstutorial
Os Tibbittstutorial
oscon2007
 
Training android
Training androidTraining android
Training android
University of Technology
 
Android session-1-sajib
Android session-1-sajibAndroid session-1-sajib
Android session-1-sajib
Hussain Behestee
 
Android development-tutorial
Android development-tutorialAndroid development-tutorial
Android development-tutorial
ilias ahmed
 
Android Basic- CMC
Android Basic- CMCAndroid Basic- CMC
Android Basic- CMC
Pragati Singh
 
Android application development workshop day1
Android application development workshop   day1Android application development workshop   day1
Android application development workshop day1
Borhan Otour
 
Android basic principles
Android basic principlesAndroid basic principles
Android basic principles
Henk Laracker
 
Android studio
Android studioAndroid studio
Android studio
Željko Plesac
 
Android Development
Android DevelopmentAndroid Development
Android Development
vishalkrv
 
Os eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdfOs eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdf
weerabahu
 
Android Development
Android DevelopmentAndroid Development
Android Development
mclougm4
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
master760
 
Android installation guide
Android installation guideAndroid installation guide
Android installation guide
magicshui
 
Android Programming Basics
Android Programming BasicsAndroid Programming Basics
Android Programming Basics
Eueung Mulyana
 
Android Development
Android DevelopmentAndroid Development
Android Development
John Mark ジョンマーク
 
Basic of Android App Development
Basic of Android App DevelopmentBasic of Android App Development
Basic of Android App Development
Abhijeet Gupta
 
Android installation guide
Android installation guideAndroid installation guide
Android installation guide
Mohamed_Mubarak_Ali
 
Titanium Studio [Updated - 18/12/2011]
Titanium Studio [Updated - 18/12/2011]Titanium Studio [Updated - 18/12/2011]
Titanium Studio [Updated - 18/12/2011]
Sentinel Solutions Ltd
 
Getting started with android dev and test perspective
Getting started with android   dev and test perspectiveGetting started with android   dev and test perspective
Getting started with android dev and test perspective
Gunjan Kumar
 

What's hot (20)

Session 2 beccse
Session 2 beccseSession 2 beccse
Session 2 beccse
 
Os Tibbittstutorial
Os TibbittstutorialOs Tibbittstutorial
Os Tibbittstutorial
 
Training android
Training androidTraining android
Training android
 
Android session-1-sajib
Android session-1-sajibAndroid session-1-sajib
Android session-1-sajib
 
Android development-tutorial
Android development-tutorialAndroid development-tutorial
Android development-tutorial
 
Android Basic- CMC
Android Basic- CMCAndroid Basic- CMC
Android Basic- CMC
 
Android application development workshop day1
Android application development workshop   day1Android application development workshop   day1
Android application development workshop day1
 
Android basic principles
Android basic principlesAndroid basic principles
Android basic principles
 
Android studio
Android studioAndroid studio
Android studio
 
Android Development
Android DevelopmentAndroid Development
Android Development
 
Os eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdfOs eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdf
 
Android Development
Android DevelopmentAndroid Development
Android Development
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Android installation guide
Android installation guideAndroid installation guide
Android installation guide
 
Android Programming Basics
Android Programming BasicsAndroid Programming Basics
Android Programming Basics
 
Android Development
Android DevelopmentAndroid Development
Android Development
 
Basic of Android App Development
Basic of Android App DevelopmentBasic of Android App Development
Basic of Android App Development
 
Android installation guide
Android installation guideAndroid installation guide
Android installation guide
 
Titanium Studio [Updated - 18/12/2011]
Titanium Studio [Updated - 18/12/2011]Titanium Studio [Updated - 18/12/2011]
Titanium Studio [Updated - 18/12/2011]
 
Getting started with android dev and test perspective
Getting started with android   dev and test perspectiveGetting started with android   dev and test perspective
Getting started with android dev and test perspective
 

Similar to How to create android applications

Introduction to android sessions new
Introduction to android   sessions newIntroduction to android   sessions new
Introduction to android sessions new
Joe Jacob
 
Android Studio development model and.pptx
Android Studio development model and.pptxAndroid Studio development model and.pptx
Android Studio development model and.pptx
VaibhavKhunger2
 
Android dev o_auth
Android dev o_authAndroid dev o_auth
Android dev o_auth
lzongren
 
Developing for Android-Types of Android Application
Developing for Android-Types of Android ApplicationDeveloping for Android-Types of Android Application
Developing for Android-Types of Android Application
Nandini Prabhu
 
Intro to android (gdays)
Intro to android (gdays)Intro to android (gdays)
Intro to android (gdays)
Omolara Adejuwon
 
Java Meetup - 12-03-15 - Android Development Workshop
Java Meetup - 12-03-15 - Android Development WorkshopJava Meetup - 12-03-15 - Android Development Workshop
Java Meetup - 12-03-15 - Android Development Workshop
Kasun Dananjaya Delgolla
 
Notes Unit2.pptx
Notes Unit2.pptxNotes Unit2.pptx
Notes Unit2.pptx
MIT Autonomous Aurangabad
 
Android session 1
Android session 1Android session 1
Android session 1
Ahesanali Suthar
 
Android app development
Android app developmentAndroid app development
Android app development
Abhishek Saini
 
Android app development by abhi android
Android app development by abhi androidAndroid app development by abhi android
Android app development by abhi android
susijanny
 
Android dev o_auth
Android dev o_authAndroid dev o_auth
Android dev o_auth
fantasy zheng
 
Android Application Development Using Java
Android Application Development Using JavaAndroid Application Development Using Java
Android Application Development Using Java
amaankhan
 
Android app development lesson 1
Android app development lesson 1Android app development lesson 1
Android app development lesson 1
Kalluri Vinay Reddy
 
Lecture 2(b) Android Internals A Quick Overview
Lecture 2(b) Android Internals A Quick OverviewLecture 2(b) Android Internals A Quick Overview
Lecture 2(b) Android Internals A Quick Overview
Ahsanul Karim
 
Android tutorial ppt
Android tutorial pptAndroid tutorial ppt
Android tutorial ppt
Rehna Renu
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
Vaiga Nandhakumar
 
Seminar on android app development
Seminar on android app developmentSeminar on android app development
Seminar on android app development
AbhishekKumar4779
 
Android deep dive
Android deep diveAndroid deep dive
Android deep dive
AnuSahniNCI
 
Android Programming
Android ProgrammingAndroid Programming
Android Programming
Pasi Manninen
 
ANDROID PPT 1.pdf
ANDROID PPT 1.pdfANDROID PPT 1.pdf
ANDROID PPT 1.pdf
Siva Krishna Prasad
 

Similar to How to create android applications (20)

Introduction to android sessions new
Introduction to android   sessions newIntroduction to android   sessions new
Introduction to android sessions new
 
Android Studio development model and.pptx
Android Studio development model and.pptxAndroid Studio development model and.pptx
Android Studio development model and.pptx
 
Android dev o_auth
Android dev o_authAndroid dev o_auth
Android dev o_auth
 
Developing for Android-Types of Android Application
Developing for Android-Types of Android ApplicationDeveloping for Android-Types of Android Application
Developing for Android-Types of Android Application
 
Intro to android (gdays)
Intro to android (gdays)Intro to android (gdays)
Intro to android (gdays)
 
Java Meetup - 12-03-15 - Android Development Workshop
Java Meetup - 12-03-15 - Android Development WorkshopJava Meetup - 12-03-15 - Android Development Workshop
Java Meetup - 12-03-15 - Android Development Workshop
 
Notes Unit2.pptx
Notes Unit2.pptxNotes Unit2.pptx
Notes Unit2.pptx
 
Android session 1
Android session 1Android session 1
Android session 1
 
Android app development
Android app developmentAndroid app development
Android app development
 
Android app development by abhi android
Android app development by abhi androidAndroid app development by abhi android
Android app development by abhi android
 
Android dev o_auth
Android dev o_authAndroid dev o_auth
Android dev o_auth
 
Android Application Development Using Java
Android Application Development Using JavaAndroid Application Development Using Java
Android Application Development Using Java
 
Android app development lesson 1
Android app development lesson 1Android app development lesson 1
Android app development lesson 1
 
Lecture 2(b) Android Internals A Quick Overview
Lecture 2(b) Android Internals A Quick OverviewLecture 2(b) Android Internals A Quick Overview
Lecture 2(b) Android Internals A Quick Overview
 
Android tutorial ppt
Android tutorial pptAndroid tutorial ppt
Android tutorial ppt
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Seminar on android app development
Seminar on android app developmentSeminar on android app development
Seminar on android app development
 
Android deep dive
Android deep diveAndroid deep dive
Android deep dive
 
Android Programming
Android ProgrammingAndroid Programming
Android Programming
 
ANDROID PPT 1.pdf
ANDROID PPT 1.pdfANDROID PPT 1.pdf
ANDROID PPT 1.pdf
 

More from TOPS Technologies

Learn java objects inheritance-overriding-polymorphism
Learn java objects  inheritance-overriding-polymorphismLearn java objects  inheritance-overriding-polymorphism
Learn java objects inheritance-overriding-polymorphism
TOPS Technologies
 
Surat tops conducted one hour seminar on “corporate basic skills”
Surat tops conducted  one hour seminar on “corporate basic skills”Surat tops conducted  one hour seminar on “corporate basic skills”
Surat tops conducted one hour seminar on “corporate basic skills”
TOPS Technologies
 
Word press interview question and answer tops technologies
Word press interview question and answer   tops technologiesWord press interview question and answer   tops technologies
Word press interview question and answer tops technologies
TOPS Technologies
 
How to install android sdk
How to install android sdkHow to install android sdk
How to install android sdk
TOPS Technologies
 
Software testing and quality assurance
Software testing and quality assuranceSoftware testing and quality assurance
Software testing and quality assurance
TOPS Technologies
 
Basics in software testing
Basics in software testingBasics in software testing
Basics in software testing
TOPS Technologies
 
Learn advanced java programming
Learn advanced java programmingLearn advanced java programming
Learn advanced java programming
TOPS Technologies
 
How to create android applications
How to create android applicationsHow to create android applications
How to create android applications
TOPS Technologies
 
What is ui element in i phone developmetn
What is ui element in i phone developmetnWhat is ui element in i phone developmetn
What is ui element in i phone developmetn
TOPS Technologies
 
Java live project training
Java live project trainingJava live project training
Java live project training
TOPS Technologies
 
Software testing live project training
Software testing live project trainingSoftware testing live project training
Software testing live project training
TOPS Technologies
 
Web designing live project training
Web designing live project trainingWeb designing live project training
Web designing live project training
TOPS Technologies
 
Php live project training
Php live project trainingPhp live project training
Php live project training
TOPS Technologies
 
iPhone training in ahmedabad by tops technologies
iPhone training in ahmedabad by tops technologiesiPhone training in ahmedabad by tops technologies
iPhone training in ahmedabad by tops technologies
TOPS Technologies
 
Php training in ahmedabad
Php training in ahmedabadPhp training in ahmedabad
Php training in ahmedabad
TOPS Technologies
 
Java training in ahmedabad
Java training in ahmedabadJava training in ahmedabad
Java training in ahmedabad
TOPS Technologies
 
08 10-2013 gtu projects - develop final sem gtu project in i phone
08 10-2013 gtu projects - develop final sem gtu project in i phone08 10-2013 gtu projects - develop final sem gtu project in i phone
08 10-2013 gtu projects - develop final sem gtu project in i phone
TOPS Technologies
 
GTU PHP Project Training Guidelines
GTU PHP Project Training GuidelinesGTU PHP Project Training Guidelines
GTU PHP Project Training Guidelines
TOPS Technologies
 
GTU Asp.net Project Training Guidelines
GTU Asp.net Project Training GuidelinesGTU Asp.net Project Training Guidelines
GTU Asp.net Project Training Guidelines
TOPS Technologies
 
GTU Guidelines for Project on JAVA
GTU Guidelines for Project on JAVAGTU Guidelines for Project on JAVA
GTU Guidelines for Project on JAVA
TOPS Technologies
 

More from TOPS Technologies (20)

Learn java objects inheritance-overriding-polymorphism
Learn java objects  inheritance-overriding-polymorphismLearn java objects  inheritance-overriding-polymorphism
Learn java objects inheritance-overriding-polymorphism
 
Surat tops conducted one hour seminar on “corporate basic skills”
Surat tops conducted  one hour seminar on “corporate basic skills”Surat tops conducted  one hour seminar on “corporate basic skills”
Surat tops conducted one hour seminar on “corporate basic skills”
 
Word press interview question and answer tops technologies
Word press interview question and answer   tops technologiesWord press interview question and answer   tops technologies
Word press interview question and answer tops technologies
 
How to install android sdk
How to install android sdkHow to install android sdk
How to install android sdk
 
Software testing and quality assurance
Software testing and quality assuranceSoftware testing and quality assurance
Software testing and quality assurance
 
Basics in software testing
Basics in software testingBasics in software testing
Basics in software testing
 
Learn advanced java programming
Learn advanced java programmingLearn advanced java programming
Learn advanced java programming
 
How to create android applications
How to create android applicationsHow to create android applications
How to create android applications
 
What is ui element in i phone developmetn
What is ui element in i phone developmetnWhat is ui element in i phone developmetn
What is ui element in i phone developmetn
 
Java live project training
Java live project trainingJava live project training
Java live project training
 
Software testing live project training
Software testing live project trainingSoftware testing live project training
Software testing live project training
 
Web designing live project training
Web designing live project trainingWeb designing live project training
Web designing live project training
 
Php live project training
Php live project trainingPhp live project training
Php live project training
 
iPhone training in ahmedabad by tops technologies
iPhone training in ahmedabad by tops technologiesiPhone training in ahmedabad by tops technologies
iPhone training in ahmedabad by tops technologies
 
Php training in ahmedabad
Php training in ahmedabadPhp training in ahmedabad
Php training in ahmedabad
 
Java training in ahmedabad
Java training in ahmedabadJava training in ahmedabad
Java training in ahmedabad
 
08 10-2013 gtu projects - develop final sem gtu project in i phone
08 10-2013 gtu projects - develop final sem gtu project in i phone08 10-2013 gtu projects - develop final sem gtu project in i phone
08 10-2013 gtu projects - develop final sem gtu project in i phone
 
GTU PHP Project Training Guidelines
GTU PHP Project Training GuidelinesGTU PHP Project Training Guidelines
GTU PHP Project Training Guidelines
 
GTU Asp.net Project Training Guidelines
GTU Asp.net Project Training GuidelinesGTU Asp.net Project Training Guidelines
GTU Asp.net Project Training Guidelines
 
GTU Guidelines for Project on JAVA
GTU Guidelines for Project on JAVAGTU Guidelines for Project on JAVA
GTU Guidelines for Project on JAVA
 

Recently uploaded

Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
Bisnar Chase Personal Injury Attorneys
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 

Recently uploaded (20)

Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 

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