SlideShare ist ein Scribd-Unternehmen logo
1 von 19
TOPS Technologies
http://www.tops-int.com
+91-99747 55006
ANDROID TRAINING – 7 EASY
STEPS TO CREATE AN
ANDROID APPLICATION
PROJECT USING ECLIPSE IDE
ANDROID TRAINING – 7 EASY STEPS
TO CREATE AN ANDROID
APPLICATION PROJECT USING
ECLIPSE IDE
INTRODUCTION
Android is a software
stack for mobile
devices that includes
an operating system,
middleware and key
applications.
IN DETAILS
• One of the basic things taught at an Android training class would be the
creation of an Android project. The aim of this article is to help the novice
readers or Android learners get knowhow of how actually are the Android
projects are created by the developers in actual work environment using the
Eclipse plug-in or the command line tools.
• So before we start creating an Android Project, let us first learn what actually
it is. An android project is like a container that stores application source code,
directories and files such as AndroidManifest.xml, build.xml,
project.properties, ant.properties etc. These projects can be created using the
Eclipse tool and ADT or can also be generated using the SDK tools from
command line. Once this project is developed, it gets eventually stored in .apk
file format which can be installed on the device.
• However there are some pre-requisite tools or software that your PC should
contain in order to support this development of Android applications project.
Hence you should install the following software before actually starting the
development process.
• Complete Android SDK environment along with packages
• Eclipse IDE with ADT Plugin
5
The Android™ was built upon the open Linux kernel, and
developed by Android, Inc., which is owned by Google.
Understand the structure of Android
development
Open Handset Alliance - to develop open standards for
mobile devices
Architecture
7
APPLICATIONS
 Android provides a set of core applications:
 Email
 SMS Program
 Calendar
 Maps
 Browser
 Contacts
 Etc
 All applications are written using the Java language.
8
code
images
files
UI layouts
constants
Autogenerated
resource list
Common file structure for Apps
9
GUI
10
APPLICATION FRAMEWORK
 Enabling and simplifying the reuse of components
 Developers have full access to the same framework
APIs used by the core applications.
 Users are allowed to replace components.
 Each application can publish its capabilities which
other apps can use
11
LIBRARIES
 Including a set of C/C++ libraries used by
components of the Android system
 Exposed to developers through the Android
application framework
12
RUNTIME
 Core Libraries
 Providing most of the functionality available in the core
libraries of the Java language
 APIs
 Data Structures
 Utilities
 File Access
 Network Access
 Graphics etc.
13
RUNTIME
 Software Development kit (Dalvik Virtual Machine )
 Providing environment on which every Android application runs
 Each Android application runs in its own process, with its own
instance of the Dalvik VM.
 Dalvik has been written such that a device can run multiple
VMs efficiently.
.dex format is optimized for minimal memory footprint.
Steps to Create an Android Project using Eclipse
IDE
•In order to create a new Android project in Eclipse IDE, one would
need to start up with selection of New option in the tool bar.
•This action will open up a window containing an Android folder.
Double-click on this folder to open it and then select the option
“Android Application Project” followed by “Next”. This will open
up a form in window titled as “New Android Application”
•The form will prompt the user to enter the details like the
application name, project name and package name. The user will
have to select an option for the minimum required SDK, target
SDK, compile with and theme boxes in the form
NEXT STEP
• In the application name, you can enter any name
which you want to give and is relevant to your
application. The project name you enter besides the
project name text will be the name of the project
directory you are creating and hence will be visible
in Eclipse. Package name text box field will take a
namespace as its value and hence you need to
enter the namespace for the app you are creating.
The name should be unique adhering to the rules
that are usually followed in naming the packages
created in Java.
THEN…
• The minimum required SDK indicates the lowest android version that
the application created can support. Set this value to the lowest
android version, in order to support as many devices as possible for
your application project.
• Find out the highest Android version your application project and can
support and hence enter the value of this version in the field opposite
to the target SDK. Update this option, after testing your application
whenever the newer Android versions are introduced. This will give
you benefit of being able to use the latest features of the new
platform.
• “Compile with” as the name suggests is the Android version or
platform with which you want to compile your application. Be default
this value will be set to the latest version of Android supported by
your SDK installed in your PC.
• Theme is the style you want to apply for your application.
AFTER ENTERING THE VALUES IN THE FORM, CLICK
ON NEXT BUTTON TO MOVE FORWARD WITH
PROJECT CREATION PROCESS.
 The next button will lead you to a screen that will contain your project
configuration details. A better option to handle this would be to keep
the default selections as it is and just click on the Next button.
 The next screen will prompt you to create an icon for your
application. Just customize your icon in such a way that it is
appropriate for your application. Once you are done with icon
creation, just click on Next.
 You can now start building your app by selecting an activity template.
Select the option Blank Activity in the project and click Next.
 The next screen will be the configuration or details of the activity
template which can be left as it is. Finally click on finish and you
have accomplished the activity of creating an Android application
project.
NOTE
• Hence you have successfully created an Android
application project which by default will have a few
files in it. You can start building your own app in
order to add on to this project.
• To learn this process in detail or under the guidance
of experts, take up the Android training course
offered at a reputed Android training institute in your
city like TOPS. TOPS Technologies is a leading IT
training institute in India with over 18 branches
across different cities. Hence you can easily find a
TOPS training branch for your Android learning
needs.
ADDRESS
• Baroda Office
• 301 Saffron Complex,
Fatehgunj,
Baroda.
97253 55009

Weitere ähnliche Inhalte

Mehr von TOPS Technologies

Web designing live project training
Web designing live project trainingWeb designing live project training
Web designing live project training
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
 

Mehr von TOPS Technologies (20)

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
 
How to create android applications
How to create android applicationsHow to create android applications
How to create android applications
 
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
 
GTU Guidelines for Project on Android
GTU Guidelines for Project on AndroidGTU Guidelines for Project on Android
GTU Guidelines for Project on Android
 
GTU MCA PHP Interview Questions And Answers for freshers
GTU MCA PHP  Interview Questions And Answers for freshersGTU MCA PHP  Interview Questions And Answers for freshers
GTU MCA PHP Interview Questions And Answers for freshers
 
GTU Web Designing Interview Questions And Answers for freshers
GTU Web Designing Interview Questions And Answers for freshersGTU Web Designing Interview Questions And Answers for freshers
GTU Web Designing Interview Questions And Answers for freshers
 
Most Asked Java Interview Question and Answer
Most Asked Java Interview Question and AnswerMost Asked Java Interview Question and Answer
Most Asked Java Interview Question and Answer
 
How to use User Interface (UI) appearance of text and controls in iPhone appl...
How to use User Interface (UI) appearance of text and controls in iPhone appl...How to use User Interface (UI) appearance of text and controls in iPhone appl...
How to use User Interface (UI) appearance of text and controls in iPhone appl...
 
The JAVA Training Workshop in Ahmedabad
The JAVA Training Workshop in AhmedabadThe JAVA Training Workshop in Ahmedabad
The JAVA Training Workshop in Ahmedabad
 

Kürzlich hochgeladen

Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
SanaAli374401
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
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
QucHHunhnh
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
MateoGardella
 

Kürzlich hochgeladen (20)

Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
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
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).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
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 

24 09-2013 android training – 7 steps to create an android application using eclipse ide

  • 1. TOPS Technologies http://www.tops-int.com +91-99747 55006 ANDROID TRAINING – 7 EASY STEPS TO CREATE AN ANDROID APPLICATION PROJECT USING ECLIPSE IDE
  • 2. ANDROID TRAINING – 7 EASY STEPS TO CREATE AN ANDROID APPLICATION PROJECT USING ECLIPSE IDE
  • 3. INTRODUCTION Android is a software stack for mobile devices that includes an operating system, middleware and key applications.
  • 4. IN DETAILS • One of the basic things taught at an Android training class would be the creation of an Android project. The aim of this article is to help the novice readers or Android learners get knowhow of how actually are the Android projects are created by the developers in actual work environment using the Eclipse plug-in or the command line tools. • So before we start creating an Android Project, let us first learn what actually it is. An android project is like a container that stores application source code, directories and files such as AndroidManifest.xml, build.xml, project.properties, ant.properties etc. These projects can be created using the Eclipse tool and ADT or can also be generated using the SDK tools from command line. Once this project is developed, it gets eventually stored in .apk file format which can be installed on the device. • However there are some pre-requisite tools or software that your PC should contain in order to support this development of Android applications project. Hence you should install the following software before actually starting the development process. • Complete Android SDK environment along with packages • Eclipse IDE with ADT Plugin
  • 5. 5 The Android™ was built upon the open Linux kernel, and developed by Android, Inc., which is owned by Google. Understand the structure of Android development Open Handset Alliance - to develop open standards for mobile devices
  • 7. 7 APPLICATIONS  Android provides a set of core applications:  Email  SMS Program  Calendar  Maps  Browser  Contacts  Etc  All applications are written using the Java language.
  • 10. 10 APPLICATION FRAMEWORK  Enabling and simplifying the reuse of components  Developers have full access to the same framework APIs used by the core applications.  Users are allowed to replace components.  Each application can publish its capabilities which other apps can use
  • 11. 11 LIBRARIES  Including a set of C/C++ libraries used by components of the Android system  Exposed to developers through the Android application framework
  • 12. 12 RUNTIME  Core Libraries  Providing most of the functionality available in the core libraries of the Java language  APIs  Data Structures  Utilities  File Access  Network Access  Graphics etc.
  • 13. 13 RUNTIME  Software Development kit (Dalvik Virtual Machine )  Providing environment on which every Android application runs  Each Android application runs in its own process, with its own instance of the Dalvik VM.  Dalvik has been written such that a device can run multiple VMs efficiently. .dex format is optimized for minimal memory footprint.
  • 14. Steps to Create an Android Project using Eclipse IDE •In order to create a new Android project in Eclipse IDE, one would need to start up with selection of New option in the tool bar. •This action will open up a window containing an Android folder. Double-click on this folder to open it and then select the option “Android Application Project” followed by “Next”. This will open up a form in window titled as “New Android Application” •The form will prompt the user to enter the details like the application name, project name and package name. The user will have to select an option for the minimum required SDK, target SDK, compile with and theme boxes in the form
  • 15. NEXT STEP • In the application name, you can enter any name which you want to give and is relevant to your application. The project name you enter besides the project name text will be the name of the project directory you are creating and hence will be visible in Eclipse. Package name text box field will take a namespace as its value and hence you need to enter the namespace for the app you are creating. The name should be unique adhering to the rules that are usually followed in naming the packages created in Java.
  • 16. THEN… • The minimum required SDK indicates the lowest android version that the application created can support. Set this value to the lowest android version, in order to support as many devices as possible for your application project. • Find out the highest Android version your application project and can support and hence enter the value of this version in the field opposite to the target SDK. Update this option, after testing your application whenever the newer Android versions are introduced. This will give you benefit of being able to use the latest features of the new platform. • “Compile with” as the name suggests is the Android version or platform with which you want to compile your application. Be default this value will be set to the latest version of Android supported by your SDK installed in your PC. • Theme is the style you want to apply for your application.
  • 17. AFTER ENTERING THE VALUES IN THE FORM, CLICK ON NEXT BUTTON TO MOVE FORWARD WITH PROJECT CREATION PROCESS.  The next button will lead you to a screen that will contain your project configuration details. A better option to handle this would be to keep the default selections as it is and just click on the Next button.  The next screen will prompt you to create an icon for your application. Just customize your icon in such a way that it is appropriate for your application. Once you are done with icon creation, just click on Next.  You can now start building your app by selecting an activity template. Select the option Blank Activity in the project and click Next.  The next screen will be the configuration or details of the activity template which can be left as it is. Finally click on finish and you have accomplished the activity of creating an Android application project.
  • 18. NOTE • Hence you have successfully created an Android application project which by default will have a few files in it. You can start building your own app in order to add on to this project. • To learn this process in detail or under the guidance of experts, take up the Android training course offered at a reputed Android training institute in your city like TOPS. TOPS Technologies is a leading IT training institute in India with over 18 branches across different cities. Hence you can easily find a TOPS training branch for your Android learning needs.
  • 19. ADDRESS • Baroda Office • 301 Saffron Complex, Fatehgunj, Baroda. 97253 55009

Hinweis der Redaktion

  1. Android is a complete operating environment based upon the Linux® V2.6 kernel. Initially, the deployment target for Android was the mobile-phone arena, including smart phones and lower-cost flip-phone devices. However, Android's full range of computing services and rich functional support have the potential to extend beyond the mobile-phone market. Android can be useful for other platforms and applications. In this article, get an introduction to the Android platform and learn how to code a basic Android application.
  2. • 2001 search service for wireless device • 2005 – Acquire Android(Andy Rubin: Danger CEO, Development Sidekick of T-Mobile) – Acquire Skia (2D Graphics for mobile device) – Acquire RegWireless (Browser and Email for mobile device) – Move Engineers from PlamSource (Dianne Hackborn, etc…) • 2007 Nov 5: Android announced • 2007 Nov 12: Android SDK released by OHA • 2007 Dec 14: Bug-fix SDK released • 2008 Jan 3: Android Developer Challenge I starts accepting submissions • 2008 Feb 13: m5-rc15 SDK released • 2008 Apr 14: 1788 total submissions for Challenge I • 2008 May 12: Top 50 Applications in Challenge I announced • 2008 Nov: Android Phone(G1 Phone by HTC/T-mobile) • 2008 Nov: Full Source Open • 2009 Apr: HTC Magic • 2009 July: HTC Hero, Samsung i7500, Android Netbook, Set-top…… • 2009 Aug: Android Developer Challenge II