0% found this document useful (0 votes)
43 views17 pages

Android Programming Notes UNIT- I

The document provides an overview of Android, a mobile operating system developed by Google, detailing its features, specifications, and version history from its initial release in 2008 to the latest version, Android 14. It highlights key functionalities such as application frameworks, media support, and various enhancements introduced in each version, including user interface improvements and security features. The document serves as a comprehensive guide for understanding the evolution and capabilities of Android OS.

Uploaded by

vshra120626
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views17 pages

Android Programming Notes UNIT- I

The document provides an overview of Android, a mobile operating system developed by Google, detailing its features, specifications, and version history from its initial release in 2008 to the latest version, Android 14. It highlights key functionalities such as application frameworks, media support, and various enhancements introduced in each version, including user interface improvements and security features. The document serves as a comprehensive guide for understanding the evolution and capabilities of Android OS.

Uploaded by

vshra120626
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

Mobile Application Development

B.Sc. VI Sem.

Unit- I

(Introduction) What is Android


Ans.
Android is a mobile operating system (OS) that runs on smartphones, tablets, and other
devices. It's the most widely used OS in the world. Android is Google’s open source and free
Java-based platform for mobile development. It enables developers to build real-world mobile
applications using the Android SDK and publish them on Google Play. The source code for
Android is available under free and open source software licenses. Google publishes most of
the code under the Apache License version 2.0 and the rest, Linux kernel changes, under the
GNU General Public License version 2.
Android is a mobile operating system based on a modified version of the Linux kernel and
other open-source software, designed primarily for touchscreen-based mobile devices such as
smartphones and tablets. Android has historically been developed by a consortium of
developers known as the Open Handset Alliance, but its most widely used version is
primarily developed by Google. First released in 2008, Android is the world's most widely
used operating system; the latest version, released on October 15, 2024, is Android 15.

(Ref: https://en.wikipedia.org/wiki/Android_(operating_system)

Some of the current features and specifications of android are:


a) Application framework
b) Dalvik Virtual machine (Dalvik Virtual Machine (DVM) was a software program that ran
Android apps on devices like phones and tablets.)
c) Integrated Browser
d) Optimized graphics
e) SQLite (SQLite is an open-source, embedded database engine that's used in many
operating systems, web browsers, and mobile apps.)
f) Media Support
g) GSM Technology(GSM(Global System for Mobile Communications) is a digital cellular
network technology that allows mobile devices to communicate with each other. )
h) Bluetooth, EDGE(Enhanced Data rates for GSM Evolution (EDGE) is a digital mobile
phone technology that allows for improved data transfer rates.), 3G/4G/5G, Wi-fi
i) Open Source
j) Multi-touch — Supports multi-touch screens
k) Multi-tasking — Supports multi-tasking applications.
l) Camera, GPS, Compass etc.
(Ref: Android Application Development by Qanita Zakir)

Android Versions and its Feature Set


Ans.
Android 1.0: Alpha (API 1)
The initial version of Android was released on September 23, 2008, known as Android 1.0.
This alpha version had many loopholes, including the necessity of physical keyboards or
hardware buttons. It has an Android API (application program interface) level 1. API level is
the integer value that identifies the API framework revision provided by the version of the
Android platform. API framework includes the core set of classes, packages, XML elements,
intents, and permissions that the application can request.
Features
• Google Maps, browser, calendar
• Camera and scroll down the notification bar
• Gmail integration, Contacts, and Google Synchronization.
• Wireless supports – Wi-Fi and Bluetooth.

Android 1.1: Petit Four Beta (API 2)


Android Beta version was released on February 9, 2009, with API changes and resolved
issues encountered in 1.0. This Android version was released for T-Mobile G1 devices only.
Features
• Display details and reviews for locations
• Add a Save attachment in the message
• Provide detailed information by clicking on the business

Android 1.5: Cupcake (API 3)


It was released on April 30, 2009, with the first official public code name and amazing
features as compared to the old versions. Moreover, it also brought the third-party app
widgets that were the most distinguishing and valuable feature.
Features
• on-screen keyboard and search function
• Uploading videos and images
• Copy and paste facility and video recordings
• Support for MPEG4 and 3GP formats

Android 1.6: Donut (API 4)


The Android 1.6 version was released on September 15, 2009, was many valuable changes
including the ability to operate on several different screen resolutions and sizes. Donut
provides the voice and text entry search including bookmark history, and the ability to select
multiple images for deletion.
Features
• Power Control widget for handling Wi-Fi, Bluetooth, GPS, etc.
• Gallery and Camera quick toggling features
• WVGA screen resolution speed
• Technology support for CDMA/EVDO, 802.1x, VPNs, and a text-to-speech engine
• Speed improvements for camera and searching applications
• Quick Search Box

Android 2.0: Eclair (API 5)


Éclair 2.0 – 2.1 was released on December 3, 2009, with multiple account synchronizations of
email and contacts. Moreover, there are many new features were added including flash
support, scene mode, white balance, color effect, macro focus, and digital zoom. Android 2.1
version brought bug fixes and stability improvements to the Éclair. The most valuable feature
was real-time traffic information and voice-guided turn-by-turn navigation.
Features
• Update UI (User Interfaces)
• Support Bluetooth 2.1
• Improve Google map
• Minor API Changes
• Support Live and animated Wallpapers
• Ability to add contact’s photo and select to call, message, or email

Android 2.2: Froyo (API 8)


Android version 2.2 was released on May 20, 2010, with speed, memory, and performance
improvements. It was introduced with enhanced Bluetooth functionality and compatibility
with docks, a portable WiFi hotspot for sharing the 3G connection. Google Nexus One was
the first smartphone to have an Android 2.2 Android version. The Android version list
provides you the complete historical knowledge of Android operating system updates and
improvements.
Features
• Support for Animated GIFs and multiple keyboard languages
• Speed and performance improvements
• Upload file support in the browser
• Support numeric & alphanumeric passwords to enhance security
• Increased Compatibility with car kits and headsets
• Wi-Fi Support Hotspot functionality

Android 2.3: Gingerbread (API 9)


Gingerbread exists in the 7th position in the Android version list that was released on
December 6, 2010. The main enhanced feature was the introduction of gaming API with
improved graphical intense gaming, so it has boomed the mobile games.
Features
• Improve Copy and Paste Facility
• Updated UI design
• Support for VP8 and WebM video format
• Video calling and Social Networking Supports
• Easy to use a keyboard with faster and intuitive typing

Android 3.0: Honeycomb (API 11)


Honeycomb from the Android version list was released in 2011 which was a tablet-only
release to launch the Motorola Xoom. It was also suitable for those mobiles having a larger
view than current smartphones.
Features
• Gmail, contacts, camera, and gallery improvements
• Support for passwords with complex characters
• encrypted storage and updated 3D UI
• Supports multiprocessors and recent apps for easy visual multitasking
• Media Sync from SD Card
• Action bar for application control
• System bar for global status and notifications
• Google eBooks and Talk Video Chat
• Support Adobe Flash in Browser
• More sensor support
• High-performance Wi-Fi Connections and Lock
• Chinese handwriting and redesigned keyboard

Android 4.0: Ice Cream Sandwich (API 14)


The ice cream sandwich was released on October 19, 2011, with many enhanced features to
enter the era of modern design. The snapshot was introduced to take screenshots by holding
the volume and power button. Android version list has a variety of Android operating systems
but as compared to all older versions, ice cream sandwich widgets are more robust and re-
sizable.
Features
• Spelling check feature
• Wi-Fi Direct
• Photo Decor facility and on-screen buttons
• Unlocking with face-fixing.
• Card-like appearance for app-switching
• Improved video recording with high-resolution
• Better Camera performance
• Ability to open up to 16 tabs in the web browser

Android 4.1: Jelly Bean (API 16)


The better version of Android known as Jelly Bean was released in June 2012 with Google
Digital Assistant technology accessible from the home screen. The spectacular predictive
intelligence utility provides expandable and interactive notifications. Moreover, users can
enjoy multi-user support into play and many other valuable features.
Features
• Voice search and typing
• Panorama
• Project Butter
• Expandable notifications
• Daydream as a screensaver
• Power control
• Support USB audio
• Improved camera app
• Security improvements
• New gestures and accessibility features
• Multiple user accounts (Only for tablets)
• 4k resolution support
• Supporting Bluetooth with low-energy
• Bi-directional text and different language support
• Set or adjust the volume of incoming calls and show a message alert
• Google displays relevant content based on your search history
• Native emoji support

Android 4.4: KitKat (API 19)


Android version 4.4 was released on September 3, 2013, with more focus on better user
experience. KitKat is optimized to run at a larger range of old versions from the Android
version list. The smartphone must have a minimum of 512 MB of RAM.
Features
• Screen Recording
• Contact Prioritization
• GPS Support
• Smarter Caller ID
• Offline music support
• UI updates for alarm and Google map navigation
• Cartoonish ideograms and emojis to the Google keyboard
• KitKat has an ‘OK Google’ feature that allows access to Google to the users without
touching their smartphones.

Android 5.0: Lollipop (API 21)


Lollipop or Android version 5.0 was released on November 12, 2014, with a redesigned user
interface and built with “material design”. It gives a new and modern look extended across all
Android, applications, and Google products. Lollipop from the Android version list comes
with many amazing features including Support for better notification management.
Features
• Support ART
• Better device protection
• Notifications can be flicked away from the lock screen
• Better and improved UI
• Built-in battery saver feature
• New material design
• Revamped navigation bar
• Support for multiple SIM cards
• The high definition of voice call.

Android 6.0: Marshmallow (API 23)


In the year 2015, Google used “Macadamia Nut Cookie” to describe Android version 6.0
before the Marshmallow official announcement.
Features
• Support for Fingerprint readers
• Type C USB support
• Multi-window experience
• Sleep Mode’ for saving battery life
• Clear permission system
• Custom Google tabs and improved Copy-pasting

Android 7.0: Nougat (API 24)


Android 7.0 was released in 2016 with a native split-screen mode, data saver functionality,
and a “bundled-by-app” system to organize notifications.
Features
• Provide multitasking and split-screen mode
• Storage manager enhancements
• Quick setting toggles
• Display touch enhancements
• Better setting application
• Inline reply to messages and notifications without opening applications

Android 8.0: Oreo (API 26)


Oreo was released in the year 2017 having native picture-in-picture mode, notification
snoozing options, and better control over how applications can alert you by notifications.
Features
• Password autofill
• Auto-enable Wi-Fi
• Downloadable fonts
• Multi-display support
• Support Picture-in-Picture
• Notification channels and snooze notification
• Google Play support and new emoji styling
• Adaptive icons and smart text selection

Android 9: Pie (API 28)


The pie was publicly released on August 6, 2018, with plenty of amazing features according
to the users’ interests and requirements. According to a report, Pie is the most widely used
operating system in the Android version list.
Features
• Sound amplifier with select-to-speak options
• Artificial intelligence (AI) compatibility
• Adaptive Battery and Brightness with background restrictions
• Multi-camera support with external camera compatibility
• New Gesture Navigation and App Actions
• New Screenshot Shortcut key and accessibility menu
• Easier Screen Rotation and edge-to-edge screen support
• Volume and Sound enhancements
• Select-able Dark Mode
• HDR, HD audio, multiple Bluetooth connections
• Slices and long press to overview selection
• Improved Security features for extra protection
• Digital well-being with app timers, dashboard, and do-not-disturb options
• Android backups and privacy enhancements
• More Notification Information and easier text selection

Android 10: Android Q (API 29)


Android version 10 was officially released on September 3, 2019, with enhanced features and
functionalities with higher API levels.
Features
• Support for fold-able smartphones with flexible displays
• Dark mode for eye comfort-ability
• Navigation control over gestures is quicker and more intuitive than ever
• Sound amplifier with more clear sound
• Smart reply suggestions for all messaging apps
• Live caption for media playing on a smartphone
• Undo app removal
• Better notification control with many options

Android 11: Red Velvet Cake (API 30)


Android developers are continually working to provide more advanced applications as per the
user requirements. Most of the developers are searching for Android Developer vs Web
Developer to choose a trending field.
Features
The following are the new features that you will experience in the new Android 11 that is
going to be released and will be the latest version in the Android version list.
• Native screen recording
• Muting notifications during video
• Increase touch sensitivity
• Notification History
• Auto-revoke app permissions
Following are the Revamped or updated features:
• Revamped menu and screenshot shortcuts
• New text selection mode from one app to another
• Undoing recently cleared applications
• Airplane mode doesn’t kill Bluetooth anymore
• Face Unlock will require you to open your eyes in pixel 4
• App pinning in the share menu
• Improved notification conversation shades
• Conversation bubbles and context-aware dark mode
• Improved one-time permissions

Android 12: Snow Cone (API 31)


Android 12 (API 31) provides even more personalized, secure, and seamless experiences on
your smartphone. Featuring a completely rebuilt UI specifically for you, fresh privacy
features meant to keep you safe and in control, and additional intuitive methods to go directly
to your gaming or even move to a different device.
Even the widgets have been thoroughly updated, so your favorite people are always there on
your mobile phone home screen. Android 12 is also supposed to be more user-friendly, with a
more roomy layout, color contrast enhancements, and new capabilities to assist individuals
with low vision.
Features
Android 12 has the following new features you must know because it will blow your mind:
• Scrolling Screenshots
• AppSearch
• Improved Auto-Rotate
• Easier WiFi Sharing
• One-Handed Mode
• Rich Content Insertion
• Overview Suggestions
• Game Mode APIs
Following are the updated features as compared to Android 11:
• Better Dashboard
• New Updated Design (Material You)
• Camera and Microphone Indicators
• Revamped Notifications
• App Hibernation
• Smooth Motion

Android 13: Tiramisu (API 33)


The most recent version for Android is Android 13. It is the most reliable and powerful
operating system available today. It combines ambition and subtlety. Android 13 included a
new user interface design for newer mobile devices.
The version also serves as the base for multi-functional items. It is preparing for larger
displays and decisions, which will eventually debut on the forthcoming Google Pixel tablet.
This OS generation has achieved significant improvements in terms of security, privacy, and
speed.
Features
Android 13 has the following new features you must know because it will blow your mind:
• Improved Security Features
• New Reading Mode
• Digital Car Keys
• Native LE Bluetooth Support
• Additional Material You Theme Options
• QR Code Scanner Support
Following are the updated features as compared to Android 12:
• Improved Privacy Features
• New Gaming Features
• Better Battery Life
• New Camera Features
• Updated Accessibility Features
• Updated Communication Tools
Android 14: Upside Down Cake (API 34)
Google crammed numerous important enhancements into Android 14, enhancing the
customize-ability, proximity, and privacy of compatible devices, as well as making minor
interface tweaks that smoothed off several long-standing rough spots.
In the most recent “The Android Show” podcast, Google’s Vice President of Engineering for
Android, Dave Burke, stated that the Android 14 system has altered both the memory and the
processor burden balancing mechanism. He claims that this not only increases gadget
performance but also the battery life.
Features
Android 14 has the following new features you must know because it will blow your mind:
• Smarter Scaling and Large Fonts
• Notification Flashes
• Restrictions for Photo and Video Access
• Protected PIN
• Data Protection
• Regional Preferences
• Predictive Back Gestures
• Health Connect
Following are the updated features as compared to Android 13:
• More Customization
• Improved Battery Life
• Improved Hearing Aid Supports
• Better Support for Larger Screens
• Improved Security
• Improved Share Options

Android 15: Vanilla Ice Cream (API 35)


The latest Android version 15 named “Vanilla Ice Cream” was launched in September 2024.
It is packed with new and amazing features. In terms of Android 15, the update brings several
notable new features, including a system-level Private Space option that allows you to keep
critical apps hidden and only accessible with authentication.
The software also improves the multitasking mechanisms introduced in Android 13 by adding
the option of maintaining the large-screen-exclusive Android taskbar visible at all times and
the ability to launch specific pairings of apps into a simultaneously split-screen with a single
tap.
Key Features
Below are the new Android 15 having the amazing following features:
• A private space from which you can hide sensitive apps.
• Boosted performance profiling to analyze the overall application performance.
• Improved Multitasking
• Updated focused service behavior
• Loudness controller which will reduce noise from the video.
Here are the upgraded features as compared to the Android 14:
• More camera features i.e. bokeh and low light (night) mode
• Edge-to-edge UI Support for Apps
• Updated the SQLite version to 3.44.3 (Previously 3.40.1 in Android 14)
• Refined background performance
Android 16: Baklava (Coming Soon)

Since the new Android 15 version was introduced in September 2024, since then there has
been a heated debate about the next upcoming and amazing Android version 16. Google is
mixing things up a bit with the release of Android 16. While we usually see a new version of
Android in the second half of the year, 2025 will mark the start of a new annual release
schedule. The software behemoth has pushed the release date of the next major OS update by
a quarter, putting it squarely in Q2. As a result, the Android 15 release cycle will be cut short
by a few months. Stay tuned to find the best features the Android 16 is introducing.

(Ref: https://www.temok.com/blog/android-version-list/)

Various Android Devices on the Market


Ans.
Android devices come in all shapes and sizes. As of late November 2011, the Android
OS powers the following types of devices:
● Smartphones
Smart Phone Manufacture
Asus ZenFone Asus
BlackBerry BlackBerry Mobile
Black Shark Xiaomi
Xiaomi 14 Civi Xiaomi
HTC U24 Pro HTC
Honor X30 Honor
Honor 10X Lite Huawei
Huawei Nova Y61 Huawei
iQOO Neo9 Vivo
Vivo S18/Pro/e Vivo
Lenovo Legion Y70 Lenovo
LG W41/+/Pro LG Electronics
Meizu 18X Meizu
Motorola Edge (2021) Motorola Mobility
Nubia Neo 2 ZTE
ZTE Voyage 20 Pro ZTE
Nokia G210 HMD Global
OnePlus 10 Pro OnePlus
Oppo K10 Oppo
Pixel 9/Pro/Pro XL Google
POCO M6 Xiaomi
Realme GT3 Realme
Redmi Note 13/5G/Pro Xiaomi
Samsung Galaxy M52 5G Samsung Electronics
Sony Xperia 1 III Sony Mobile
TCL 10 Plus TCL
Surface Duo 2 Microsoft
Tecno Phantom V Flip Tecno Mobile

● Tablets
● Smart Watch
● E-reader devices (a device for reading electronic books, newspapers, and documents.
They are similar in size to tablets, but often use electronic paper)
● Netbooks (a type of laptop that is slimmer, lighter, and offers a more simplified set of
tools. It's often referred to as a “notebook,” but many people call it a “laptop” as
well.)
● MP4 players
● Internet TVs (Smart TV)
● Interactive Board ( a large touchscreen display that allows teachers and students to
interact with digital content )

(Ref: https://en.wikipedia.org/wiki/List_of_Android_smartphones)
Android Market Application Store
Ans.
The Android Market app store is now called the Google Play Store. It's the official app store
for Android devices.
What does the Google Play Store offer?
Apps, games, and digital content
Movies, TV shows, e-books, and audiobooks
Free and paid apps
Instant apps that don't require installation
How do I access the Google Play Store?
The Google Play Store app comes pre-installed on Android devices that support
Google Play It can also be downloaded on some Chromebooks
How can I publish an app to the Google Play Store?
Create a Google Play Console Developer Account
Set up a Google Merchant Account
Create an application
Add app store listing details
Rate the content
Create and upload the app to Google Play

(Ref: https://support.google.com › googleplay › answer)

Android Development Environment System Requirements


Ans.
To set up an Android development environment, you typically need a system with at least
8GB of RAM, a 64-bit operating system (Windows, macOS, or Linux), a 2nd generation Intel
Core processor or equivalent, and at least 8GB of free disk space to install the Android Studio
IDE and necessary SDK components; a higher RAM capacity is recommended for smoother
performance, especially when using the Android Emulator.

Key system requirements:


Operating System:
Windows: 64-bit Windows 8/10 or newer
macOS: macOS 10.14 or newer
Linux: Any 64-bit Linux distribution with Gnome, KDE, or Unity DE
Processor:
2nd generation Intel Core or equivalent (AMD CPU with compatible virtualization
support)
RAM:
Minimum: 8GB
Recommended: 16GB or more
Disk Space:
Minimum: 8GB
Screen Resolution:
Minimum: 1280 x 800

(Ref: https://google.com )

Android SDK
Ans.
Android SDK stands for Android Software Development Kit which is developed by Google
for Android Platform. With the help of Android SDK, we can create android Apps easily.
Android SDK is a collection of libraries and Software Development tools that are essential
for Developing Android Applications. Whenever Google releases a new version or update of
Android Software, a corresponding SDK also releases with it. In the updated or new version
of SDK, some more features are included which are not present in the previous version.
Android SDK consists of some tools which are very essential for the development of Android
Application. These tools provide a smooth flow of the development process from developing
and debugging. Android SDK is compatible with all operating systems such as Windows,
Linux, macOS, etc.
Components of Android SDK
Android SDK Components play a major role in the Development of Android applications.
Below are the important components:
1. Android SDK Tools
Android SDK tool is an important component of Android SDK. It consists of a complete set
of development and debugging tools. Below are the SDK developer tools:
Android SDK Build tool.
Android Emulator.
Android SDK Platform-tools.
Android SDK Tools.
2. Android SDK Build-Tools
Android SDK build tools are used for building actual binaries of Android App. The main
functions of Android SDK Build tools are built, debug, run and test Android applications. The
latest version of the Android SDK Build tool is 30.0.3. While downloading or updating
Android in our System, one must ensure that its latest version is download in SDK
Components.
3. Android Emulator
An Android Emulator is a device that simulates an Android device on your system. Suppose
we want to run our android application that we code. One option is that we will run this on
our Android Mobile by Enabling USB Debugging on our mobile. Another option is using
Android Emulator. In Android Emulator the virtual android device is shown on our system on
which we run the Android application that we code.
Thus, it simply means that without needing any physical device Android SDK component
“Android Emulator” provides a virtual device on the System where we run our Application.
The emulator’s come with the configuration for Various android phones, tablets and Android
TV devices.
In Android Virtual Emulator all functions that are feasible on real Android mobile is works
on virtual Device like: phone calls, text messages. stimulate different network speeds.
specify the location of a device access on google play store and lot’s more.
But there is one disadvantage of this emulator is that. It is very slow when System’s PC has
less RAM. It works fine when a maximum GB of RAM is present on our device.
4. Android SDK Platform-tools
Android SDK Platform-tools is helpful when we are working on Project and they will show
the error messages at the same time. It is specifically used for testing. It includes:
Android Debug Bridge (ADB), is a command-line tool that helps to communicate with the
device. It allows us to perform an action such as Installing App and Debugging App etc.
5. Android SDK Tools
Android SDK tool is a component of SDK tool. It consists of a set of tools which and other
Utilities which are crucial for the development of Android Application. It contains the
complete set of Debugging and Development tools for android.
6. SDK Platforms
For Each Android Software, one SDK platform is available .
These are numbered according to the android version. The new version of the SDK platform
has more features and more compatible but the old version is less compatible with fewer
features. Like in Android 11.0(R) have more compatible and have more feature but the below
versions like Android 10.0(Q), Android4.4(KitKat) have less feature and is less compatible.
7. SDK Update Sites
In SDK Update Sites, some sites are embedded in it which will check for Android SDK
Updates Tools. In this, one must ensure we don’t unclick the button below because these are
checked by default which will check for updates if we will unclick it then it doesn’t check
updates for those.

(Ref: https://www.geeksforgeeks.org/android-sdk-and-its-components/)

Installing Java and ADT(Android Development Tools) bundle


Ans.
The Android software development kit (SDK) works on Windows, Linux, and Mac OS X.
The applications you create, of course, can be deployed on any Android device. Before you
start coding, you need to install Java, an IDE, and the Android SDK.
It is recommended to get the latest Sun JDK update from the Sun download site.To install
Java for Android development, you need to download and install the Java Development Kit
(JDK) from Oracle's website, making sure to choose the version ( JDK 7 or 8 is required)
compatible with your operating system.
Go to the Oracle website: Navigate to the Java SE Downloads page on the Oracle website.
Choose your version: Select the latest stable version of the Java Development Kit (JDK).
Download the installer: Download the installer that matches your operating system
(Windows, macOS, Linux).
Run the installer: Execute the downloaded file and follow the on-screen instructions to
complete the installation process.
Check your Java version:
After installation, open a command prompt and type
java -version to verify if Java is installed correctly and check the version number.
Set environment variables (if necessary):
Depending on your operating system, you might need to set the
JAVA_HOME environment variable to point to your Java installation directory.

Setting Up the ADT Bundle


The ADT Bundle provides everything you need to start developing apps, including a version of the
Eclipse IDE with built-in ADT (Android Developer Tools) to streamline your Android app
development. If you haven't already, go download the Android ADT Bundle. Android offers a custom
plugin for the Eclipse IDE, called Android Development Tools(ADT) that is designed to give you a
powerful, integrated environment in which to build Android applications .

Install the SDK and Eclipse IDE


This bundle includes the necessary Eclipse IDE with pre-installed Android Developer Tools (ADT) and
the Android SDK. Unpack the ZIP file (named adt-bundle-<os_platform>.zip) and save it to an
appropriate location, such as a "Development" directory in your home directory.
Open the adt-bundle-<os_platform>/eclipse/ directory and launch eclipse.

To add the ADT plugin to Eclipse:


Start Eclipse, then select Help > Install New Software.
Click Add, in the top-right corner.
In the Add Repository dialog that appears, enter ADT Plugin for the Name and the following URL
for the Location: https://dl-ssl.google.com/android/eclipse/
Click OK.
In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
In the next window, you'll see a list of the tools to be downloaded.
Click Next.
Read and accept the license agreements, then click Finish. If you get a security warning saying
that the authenticity or validity of the software can't be established, click OK. When the installation
completes, restart Eclipse.
(Ref: Hello, Android Introducing Google’s Mobile Development Platform,Fourth Edition Ed Burnette )
(https://www.google.com )

Eclipse Integrated Development Environment (IDE)


Ans.
Eclipse is an integrated development environment (IDE) for developing applications using
the Java programming language and other programming languages such as C/C++, Python,
PERL, Ruby etc.
The Eclipse platform which provides the foundation for the Eclipse IDE is composed of plug-
ins and is designed to be extensible using additional plug-ins. Developed using Java, the
Eclipse platform can be used to develop rich client applications, integrated development
environments and other tools. Eclipse can be used as an IDE for any programming language
for which a plug-in is available.
Selecting a Workspace
In Eclipse, all of your code will live
under a workspace A workspace is
nothing more than a location where we
will store our source code and where
Eclipse will write out our preferences
Eclipse allows you to have multiple
workspaces – each tailored in its own
way Choose a location where you want
to store your files, then click OK

Eclipse IDE Components


Set-up Android Development Tools (ADT) Plug-in

This step will help you in setting


Android Development Tool plug-in
for Eclipse. Let's start with launching
Eclipse and then, choose Help >
Software Updates > Install New
Software. This will display the
following dialogue box.
Now use Add button to add ADT
Plug-in as name and https://dl-
ssl.google.com/android/eclipse/ as
the location. Then click OK to add
this location, as soon as you will
click OK button to add this location,
Eclipse starts searching for the plug-
in available the given location and
finally lists down the found plug-ins.
Now select all the listed plug-ins
using Select All button and click
Next button which will guide you ahead to install Android Development Tools and other
required plug-ins.
Ref: https://www.tutorialspoint.com/eclipse/eclipse_overview.htm
https://www.tutorialspoint.com/android/android_eclipse.htm )
Creating Android Virtual Devices (AVDs)
Ans.
Create Android Virtual Device
To test your Android applications you will need a
virtual Android device. So before we start writing
our code, let us create an Android virtual device.

Launch Android AVD Manager using Eclipse menu options Window > AVD Manager> which
will launch Android AVD Manager. Use New button to create a new Android Virtual Device
and enter the following information, before clicking Create AVD button. If your AVD is
created successfully it means your environment is ready for Android application
development. If you like, you can close this window using top-right cross button. Better you
re-start your machine and once you are done with this last step, you are ready to proceed for
your first Android example but before that we will see few more important concepts related to
Android Application Development.
(Ref: https://www.tutorialspoint.com/android/android_eclipse.htm )

You might also like