0% found this document useful (0 votes)
14 views

Eclipse IDE for Android App Development

The document provides a step-by-step guide on how to install and set up Eclipse IDE for Android app development using the ADT plugin. It outlines the installation process, including downloading necessary software and configuring the SDK location, as well as the main components of an Android application such as Activities, Services, and Content Providers. The guide concludes with instructions on creating an Android application project within Eclipse IDE.

Uploaded by

jk345647
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

Eclipse IDE for Android App Development

The document provides a step-by-step guide on how to install and set up Eclipse IDE for Android app development using the ADT plugin. It outlines the installation process, including downloading necessary software and configuring the SDK location, as well as the main components of an Android application such as Activities, Services, and Content Providers. The guide concludes with instructions on creating an Android application project within Eclipse IDE.

Uploaded by

jk345647
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

How to Install and Setup Eclipse IDE for

Android App Development?


Android Application Development can be done using Android Studio as well as Eclipse IDE. We can
create android applications in Eclipse IDE using the ADT plugin. Eclipse is preferred for creating
small android applications. Eclipse IDE is an open-source software used by developers, it contains a
variety of plugins to develop software in different programming languages. We will be using Eclipse
IDE to set up Android App Development. First, we need to install Eclipse IDE, and then we will be
setting it up for Android App Development.

Steps to Install Eclipse IDE

1. To install Eclipse IDE, click on Download Eclipse


2. Download JDK (Java Development Kit) and Android Studio as well.
3. In File Explorer, go to Downloads – “Eclipse IDE” will be downloaded.
4. Open Eclipse IDE, choose Eclipse IDE for Java Developers and Install.
5. Eclipse IDE environment is ready, now it’s time to set up Android Development.

Steps to Setup Eclipse IDE for Android App Development

Step 1: Open Eclipse IDE.

Step 2: Select Help, Click on “Install New Software”

Looking to become an expert in Android App Development? Whether you're a student or a


professional aiming to advance your career in mobile app development, our course, "Android App
Development with Kotlin," available exclusively on GeeksforGeeks, is the perfect fit for you.
Step 3: Type “https://dl-ssl.google.com/android/eclipse/” in the “Work With” section and click on
Add. Further, a new Dialog box will appear, type Name – ADT Repository and Click on Add.
Step 4: You can see Developer Tools under Name – tick the box, then click Next. A dialog box will
appear, click on Next and then click on Finish. After that, Installation will begin.
The installation will take some time:
Step 5: After the installation is completed, Eclipse will be restarted. After the restart, a dialog box will
appear for setting up the Preferences. Click on Open Preferences then Click on Proceed. If the dialog
box does not appear then go to Eclipse -> Window -> Preferences.
Step 6: Browse the SDK Location of Android (C:\Program Files\Android\android-sdk) and Click
Apply.

Note 1: SDK Path is also present in Android Studio -> Tools -> SDK Manager -> Copy the Android
SDK Location path and paste it here.

Note 2: If in case after Step 6, if you are facing this issue “Could not find folder ‘tools’ inside SDK”
please refer to this article How to fix Could not find folder ‘tools’ inside SDK in Android?

Step 7: Click on Install new SDK then Next. Another dialog box will appear, Accept all three
packages and Click on Install.
After installation of packages, SDK Manager will appear for API Level Build Tools and System
Images installation. Click on Install.

Step 8: After installation is completed, Go to Eclipse then Select Window then Click on Android
Virtual Device Manager. A dialog box will appear, Select existing AVD and Click on Edit.
Fill in all the details as per the below image. Click OK.

Step 9: To create an android application, Select File -> New -> Other, and then the below dialog box
will appear Select Android -> Android Application Project then Click on Next. Follow the steps and
then click on Finish.
Step 10: Eclipse IDE setup is completed for Android Application Development.
Components of an Android Application
There are some necessary building blocks that an Android application consists of. These loosely coupled
components are bound by the application manifest file which contains the description of each component
and how they interact. The manifest file also contains the app’s metadata, its hardware configuration,
and platform requirements, external libraries, and required permissions. There are the following main
components of an android app:

1. Activities

Activities are said to be the presentation layer of our applications. The UI of our application is built
around one or more extensions of the Activity class. By using Fragments and Views, activities set the
layout and display the output and also respond to the user’s actions. An activity is implemented as a
subclass of class Activity.

2. Services

Services are like invisible workers of our app. These components run at the backend, updating your data
sources and Activities, triggering Notification, and also broadcast Intents. They also perform some tasks
when applications are not active. A service can be used as a subclass of class Service:

3. Content Providers
It is used to manage and persist the application data also typically interacts with the SQL database. They
are also responsible for sharing the data beyond the application boundaries. The Content Providers of a
particular application can be configured to allow access from other applications, and the Content
Providers exposed by other applications can also be configured.
A content provider should be a sub-class of the class ContentProvider.

4. Broadcast Receivers

They are known to be intent listeners as they enable your application to listen to the Intents that satisfy
the matching criteria specified by us. Broadcast Receivers make our application react to any received
Intent thereby making them perfect for creating event-driven applications.

5. Intents

It is a powerful inter-application message-passing framework. They are extensively used throughout


Android. Intents can be used to start and stop Activities and Services, to broadcast messages system-
wide or to an explicit Activity, Service or Broadcast Receiver or to request action be performed on a
particular piece of data.

6. Widgets

These are the small visual application components that you can find on the home screen of the devices.
They are a special variation of Broadcast Receivers that allow us to create dynamic, interactive
application components for users to embed on their Home Screen.

7. Notifications

Notifications are the application alerts that are used to draw the user’s attention to some particular app
event without stealing focus or interrupting the current activity of the user. They are generally used to
grab user’s attention when the application is not visible or active, particularly from within a Service or
Broadcast Receiver. Examples: E-mail popups, Messenger popups, etc.

You might also like