Eclipse and
Android are two terminologies that enables android app developer to
create a customized development environment. It facilitates the
creation of not only desktop but also mobile and web applications.
Since it is quite a versatile tool, it enables adding different
plug-ins by using different programming languages. These plug-ins
enables to create different platforms for instance Android, windows,
and Blackberry.
Android is the
most powerful tool provided by Google. It is an operating system
designed for the smartphones and tablets. Since it is accessed to
diverse set of hardware and is exposed to continuous changes, and
also to extend, this makes the job of Android app developer
quite challenging. Eclipse which is considered to be the main feature
is best explained setting it up in Android App development.
Workspace
Setup
Eclipse are used
to develop various types of applications whereas workspace is the
folder on the same drive of the computer. This folder consist of
application’s resources and code, code libraries which are used by
the application, and metadata which are utilized to keep track on the
environment information.
Creating up
the project
With the help of
Eclipse, all Android apps are developed within a single project. To
get started with your first app, you have to create the project
first. Developing a new project is followed by stepping a series of
windows and then moving it to make judicious step to configure the
app. SDK which stands for Software Development Kit which is a set of
code libraries to write software for the particular platform. To
provide the functionality, API sets the routine to access the
resources. What an Android device looks for the installing of an app,
there comes SDK into existence. To ensure the latest version of
Android operating system SDK is set. To associate the icon in the app
Configure Launcher Icon is used that enables the app to be displayed
with respective app name. Android apps which run on Android app
device to ensure app’s SDK requirement.
The next step of
configuring the project is to Create Activity Window where an
Activity is considered to be the essential component. All the
essential functionality is ensured by the activity and layout which
is known to be its associated layout.
Components of
the IDE
Editor which is
considered to be the centre section where all the essentials of the
development work is done which includes writing code and UI design.
It enables to switch between XML code and graphical layout which
generates the layout. While working on the monitor Package Explorer
which is left-sided which shows the structure of Android app and
employed to move different components within the app. All the Java
codes files are contained in the Src folder.
Within the
package Explorer it consists of all the res folder. It consists of
various resource files which are essential for the Android app.
These are
followed by the layout folder. For the interface of the app it
contains all the layouts. When a user clicks the menu button all the
menu items are displayed by the menu folder.
All the
configuration data is contained in the values folder which uses this
information for limiting the hard-coding of changeable data. It
enables the android app developer to take the benefit of various OS
capabilities.
Android
Manifest
This is the
independent files which is used to configure the entire app which are
enabled by the multiple apps which are colligated with the manifest
to configure the aspects of the app. It includes the version Code and
Version Name elements. Version code which identifies the new version
of the app and the Version Name identifies the displayed version of
the app. This is done through Interpretation of XML . The ability to
manipulate XML is considered to be the critical skill for the android
app developer which followed by the Configuring the Emulator.
Configuration
of Emulator
Android apps
which are being tested on either Android device or emulator provided
by the Eclipse IDE which stimulates the Android based device i.e.
before the app published.
Setting up Run
Configuration
The final step is
set the testing environment to use this newly built AVD which is
followed by coding the interface, coding App Behaviour and adding
code.
Conclusion:
No comments:
Post a Comment