SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

Más de TOPS 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
 
How to create android applications
How to create android applicationsHow to create android applications
How to create android applicationsTOPS 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
 
GTU Guidelines for Project on Android
GTU Guidelines for Project on AndroidGTU Guidelines for Project on Android
GTU Guidelines for Project on AndroidTOPS Technologies
 
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 freshersTOPS Technologies
 
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 freshersTOPS Technologies
 
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 AnswerTOPS Technologies
 
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...TOPS Technologies
 
The JAVA Training Workshop in Ahmedabad
The JAVA Training Workshop in AhmedabadThe JAVA Training Workshop in Ahmedabad
The JAVA Training Workshop in AhmedabadTOPS Technologies
 

Más de 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
 

Último

Championnat de France de Tennis de table/
Championnat de France de Tennis de table/Championnat de France de Tennis de table/
Championnat de France de Tennis de table/siemaillard
 
MOOD STABLIZERS DRUGS.pptx
MOOD     STABLIZERS           DRUGS.pptxMOOD     STABLIZERS           DRUGS.pptx
MOOD STABLIZERS DRUGS.pptxPoojaSen20
 
The Liver & Gallbladder (Anatomy & Physiology).pptx
The Liver &  Gallbladder (Anatomy & Physiology).pptxThe Liver &  Gallbladder (Anatomy & Physiology).pptx
The Liver & Gallbladder (Anatomy & Physiology).pptxVishal Singh
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project researchCaitlinCummins3
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code ExamplesPeter Brusilovsky
 
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinhĐề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinhleson0603
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...Nguyen Thanh Tu Collection
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....Ritu480198
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024Borja Sotomayor
 
How to Analyse Profit of a Sales Order in Odoo 17
How to Analyse Profit of a Sales Order in Odoo 17How to Analyse Profit of a Sales Order in Odoo 17
How to Analyse Profit of a Sales Order in Odoo 17Celine George
 
Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
 Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatmentsaipooja36
 
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...Nguyen Thanh Tu Collection
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...Nguyen Thanh Tu Collection
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...EduSkills OECD
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjMohammed Sikander
 
PSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxPSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxMarlene Maheu
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...Nguyen Thanh Tu Collection
 
The Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFThe Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFVivekanand Anglo Vedic Academy
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxneillewis46
 

Último (20)

Championnat de France de Tennis de table/
Championnat de France de Tennis de table/Championnat de France de Tennis de table/
Championnat de France de Tennis de table/
 
MOOD STABLIZERS DRUGS.pptx
MOOD     STABLIZERS           DRUGS.pptxMOOD     STABLIZERS           DRUGS.pptx
MOOD STABLIZERS DRUGS.pptx
 
The Liver & Gallbladder (Anatomy & Physiology).pptx
The Liver &  Gallbladder (Anatomy & Physiology).pptxThe Liver &  Gallbladder (Anatomy & Physiology).pptx
The Liver & Gallbladder (Anatomy & Physiology).pptx
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
 
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinhĐề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
 
How to Analyse Profit of a Sales Order in Odoo 17
How to Analyse Profit of a Sales Order in Odoo 17How to Analyse Profit of a Sales Order in Odoo 17
How to Analyse Profit of a Sales Order in Odoo 17
 
Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
 Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
 
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
 
PSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxPSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptx
 
Mattingly "AI and Prompt Design: LLMs with NER"
Mattingly "AI and Prompt Design: LLMs with NER"Mattingly "AI and Prompt Design: LLMs with NER"
Mattingly "AI and Prompt Design: LLMs with NER"
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
 
The Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFThe Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDF
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 

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

Notas del editor

  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