Anda di halaman 1dari 10

A N D R O ID

D EV ELO P M EN T

Well-defined
framework for app
development
Apps are typically
coded using Java
syntax, but other
platforms are also
used
Some standard
Java SE or ME APIs

A N D R O ID
D EV ELO P M EN T

Standard development environment is Eclipse +


Android Development Tools plugin + Android SDK
Development requires either an Android OS device
or an emulator
Emulator has limitations:

Performance is poor
Camera, etc., simulated using your computers
hardware
No real phone calls or texts
GPS data, battery readings, etc. must be simulated

Real device is affected by specific hardware and


software configuration

A N D R O ID V S . O TH ER M O B ILE O S

I was able to choose what kind of smart phone to get


according to which platform I wanted to use to try
mobile development

Android:

I had Java backend code ready to go for a first project


Interesting platform:
Familiar programming environment
Currently the market leader
Broad market, unlike more focused iOS,
Blackberry, and (Palm) webOS
Development tools are open source and are free
even for commercial use, unlike Visual Studio

A N D R O ID D EP LO Y M EN T
Apps are packaged in .apk format,
variant of .jar, then downloaded to
device and installed
.apks contain .dex files (bytecode),
manifest and various other files
Manifest contains security and link
info, hardware access info, minimum
OS release info, etc.

Engineers Calculator
This App will be capable of

calculating many electronic


quantities of different elements:

Resistance (Using Color Code

Method)
Star to delta transformation
Polar Vs Rectangular

M enu
This activity is initiated by

splash activity. It simply


contains the list of the
functions of the application.
E.g. Polar vs Rectangular,
Star Delta Transformation,
Resistance color code etc.
The Screen Shot and XML is
as under.
When we click any of these
following application it
takes us to the desired
activity.

Polar Vs Rectangular
This activity is initiated when we

tab on the Polar vs


Rectangular menu item in
Menu activity.
It converts the rectangular
coordinates to polar coordinates
and vice versa. It use same
activity for both the operations
just these two functions are
toggled using a toggle button.
When the toggle button is on it
converts rectangular
coordinates into polar and when
it is in off state it converts polar
coordinates into rectangular
coordinates.

R esistance C olor C ode


This activity is initiated

when we tab on the


Resistance Color
Code menu item in Menu
activity. This activity gives
the value resistance value
of resistor simply by
entering its color bands.
This is the last activity of
this application further
exampl1, example2,
example3 are inserted into
the menu for later updates
for the application.

Star D elta Transform ation


This activity is initiated

when we tab on the Star


to Delta Transformation
menu item in Menu
activity. It converts the
resistances in present in
electrical or electronic
circuits in Y pattern to
delta pattern and vice
versa.
Note: There is no toggle
button used between
these two functions of the
activity. Each function can
be accessed simply.

Anda mungkin juga menyukai