SlideShare ist ein Scribd-Unternehmen logo
1 von 18
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

Weitere ähnliche Inhalte

Was ist angesagt?

Os Tibbittstutorial
Os TibbittstutorialOs Tibbittstutorial
Os Tibbittstutorialoscon2007
 
Android development-tutorial
Android development-tutorialAndroid development-tutorial
Android development-tutorialilias ahmed
 
Android application development workshop day1
Android application development workshop   day1Android application development workshop   day1
Android application development workshop day1Borhan Otour
 
Android basic principles
Android basic principlesAndroid basic principles
Android basic principlesHenk Laracker
 
Android Development
Android DevelopmentAndroid Development
Android Developmentvishalkrv
 
Os eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdfOs eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdfweerabahu
 
Android Development
Android DevelopmentAndroid Development
Android Developmentmclougm4
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorialmaster760
 
Android installation guide
Android installation guideAndroid installation guide
Android installation guidemagicshui
 
Android Programming Basics
Android Programming BasicsAndroid Programming Basics
Android Programming BasicsEueung Mulyana
 
Basic of Android App Development
Basic of Android App DevelopmentBasic of Android App Development
Basic of Android App DevelopmentAbhijeet Gupta
 
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 perspectiveGunjan Kumar
 

Was ist angesagt? (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
 

Ähnlich wie How to create android applications

Introduction to android sessions new
Introduction to android   sessions newIntroduction to android   sessions new
Introduction to android sessions newJoe Jacob
 
Android Studio development model and.pptx
Android Studio development model and.pptxAndroid Studio development model and.pptx
Android Studio development model and.pptxVaibhavKhunger2
 
Android dev o_auth
Android dev o_authAndroid dev o_auth
Android dev o_authlzongren
 
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 ApplicationNandini Prabhu
 
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 WorkshopKasun Dananjaya Delgolla
 
Android app development by abhi android
Android app development by abhi androidAndroid app development by abhi android
Android app development by abhi androidsusijanny
 
Android app development
Android app developmentAndroid app development
Android app developmentAbhishek Saini
 
Android Application Development Using Java
Android Application Development Using JavaAndroid Application Development Using Java
Android Application Development Using Javaamaankhan
 
Android app development lesson 1
Android app development lesson 1Android app development lesson 1
Android app development lesson 1Kalluri 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 OverviewAhsanul Karim
 
Android tutorial ppt
Android tutorial pptAndroid tutorial ppt
Android tutorial pptRehna Renu
 
Seminar on android app development
Seminar on android app developmentSeminar on android app development
Seminar on android app developmentAbhishekKumar4779
 
Android deep dive
Android deep diveAndroid deep dive
Android deep diveAnuSahniNCI
 

Ähnlich wie 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 by abhi android
Android app development by abhi androidAndroid app development by abhi android
Android app development by abhi android
 
Android app development
Android app developmentAndroid app development
Android app development
 
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
Android tutorialAndroid tutorial
Android tutorial
 
Android tutorial ppt
Android tutorial pptAndroid tutorial ppt
Android tutorial ppt
 
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
 

Mehr von TOPS Technologies

Learn java objects inheritance-overriding-polymorphism
Learn java objects  inheritance-overriding-polymorphismLearn java objects  inheritance-overriding-polymorphism
Learn java objects inheritance-overriding-polymorphismTOPS 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 technologiesTOPS Technologies
 
Software testing and quality assurance
Software testing and quality assuranceSoftware testing and quality assurance
Software testing and quality assuranceTOPS Technologies
 
Learn advanced java programming
Learn advanced java programmingLearn advanced java programming
Learn advanced java programmingTOPS Technologies
 
How to create android applications
How to create android applicationsHow to create android applications
How to create android applicationsTOPS 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 developmetnTOPS Technologies
 
Software testing live project training
Software testing live project trainingSoftware testing live project training
Software testing live project trainingTOPS Technologies
 
Web designing live project training
Web designing live project trainingWeb designing live project training
Web designing live project trainingTOPS 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 technologiesTOPS 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 phoneTOPS Technologies
 
GTU PHP Project Training Guidelines
GTU PHP Project Training GuidelinesGTU PHP Project Training Guidelines
GTU PHP Project Training GuidelinesTOPS Technologies
 
GTU Asp.net Project Training Guidelines
GTU Asp.net Project Training GuidelinesGTU Asp.net Project Training Guidelines
GTU Asp.net Project Training GuidelinesTOPS Technologies
 
GTU Guidelines for Project on JAVA
GTU Guidelines for Project on JAVAGTU Guidelines for Project on JAVA
GTU Guidelines for Project on JAVATOPS Technologies
 

Mehr von 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
 

Kürzlich hochgeladen

Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 

Kürzlich hochgeladen (20)

Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 

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