You are on page 1of 8

Android Development(Android

Studio) training guidelines

Contents
1. What is Android?..................................................................................................3
2. Android technology..............................................................................................3
3. Programming languages for Android.................................................................3
3.1.

Java..................................................................................................................4

3.1.1.

About Java.................................................................................................4

3.1.2.

Android SDK..............................................................................................4

3.2.

C++...................................................................................................................4

3.2.1.

About C++.................................................................................................4

3.2.2.

Android NDK..............................................................................................5

4. How to learn Android development with Java programming language.........6


4.1.

Step 1...............................................................................................................6

Figure 1. The Android SDK Manager shows the SDK packages that are available,
already installed, or for which an update...................................................................7
4.2.

Step 2...............................................................................................................8

5. Git...........................................................................................................................8

1 What is Android?
Android is the name of the mobile operating system made by American company
Google. It most commonly comes installed on a variety of smartphones and tablets
from a host of manufacturers offering users access to Googles own services like
Search, YouTube, Maps, Gmail and more.

2 Android technology
Android operating system(OS) is based on the Linux kernel. With a user interface
based on direct manipulation, Android is designed primarily for touchscreen mobile
devices such as smartphones and tablet computers, with specilalized user interface
for televisions(Android TV), cars(Android Auto), and wirst watches(Android Wear).
The OS uses touch inputs that loosely corrrespond to real-world actions, like swiping,
tapping, pinching, and reverse pinching to manipulate on-screen objects, and a vitual
keyboard. Despite being primarily designed for touchscreen input, it has also been
used in game console, digital cameras, regular PCs, and other electronics. As of
2015, Android has the largest installed base of all operating systems. Android is
popular with technology companies which require a ready-made, low-cost and
customizable operating system for high-tech devices. Android's open nature has
encouraged a large community of developers and enthusiasts to use the opensource code as a foundation for community-driven projects, which add new features
for advanced users or bring Android to devices which were officially released running
other operating systems. The operating system's success has made it a target for
patent litigation as part of the so-called "smartphones wars" between technology
companies.

3 Programming languages for Android


1
1

Java
About Java

Java is a general-purpose computer programming language that is concurrent, classbased, object-oriented, and specifically designed to have as few implementation
dependecies as possible. It is intended to let application developers write once, run
anywhere (WORA), meaning that compiled Java code can run on all platforms that
support Java without the need for recompilation. Java applications are compiled to
bytecode that can run on any Java virtual machine (JVM) regardless od computer
architecture. As of 2015, Java is most populared programing languages in use,
practiculary for client-server web applicarions, with a reported 9 million developers.
2

Android SDK

The Android software development kit (SDK) includes a comprehensive set of


development tools. These include a debugger, libraries, a handset emulator based
on QEMU, documentation, sample code, and tutorials. Currently supported
development platforms include computers running Linux (any modern desktop Linux
distribution), Mac OS X 10.5.8 or later, and Windows XP or later. As of March 2015,
the SDK is not available on Android itself, but the software development is possible
by using specialized Android applications.
Until around the end of 2014, the officially supported integrated development
environment (IDE) was Eclipse using the Android Development Tools (ADT) Plugin,
though IntelliJ IDEA IDE (all editions) fully supports Android development out of the
box, and NetBeans IDE also supports Android development via a plugin.
As of 2015, Android Studio, made by Google and powered by IntelliJ, is the official
IDE however, developers are free to use others. Additionally, developers may use
any text editor to edit Java and XML files, then use command line tools (Java
Development Kit and Apache Ant are required) to create, build and debug Android
applications as well as control attached Android devices (e.g., triggering a reboot,
installing software package(s) remotely).

2
1

C++
About C++

C++ (pronounced as cee plus plus), is a general-purpose programming language. It


has imperative, object-orientedand generic programming
features,
while
also
providing facilities for low-level memory manipulation.
It is designed with a bias toward system programming and embedded, resourceconstrained and large systems, with performance, efficiency and flexibility of use as
its design highlights. C++ has also been found useful in many other contexts, with
key strengths being software
infrastructure
and
resource-constrained
applications, including desktop
applications,
servers
(e.g. e-commerce,web
search or SQL servers),
performance-critical
applications
(e.g. telephone
switches or space probes), and entertainment software. C++ is a compiled language,
with implementations of it available on many platforms and provided by various
organizations, including the FSF, LLVM, Microsoft and Intel.
2

Android NDK

Libraries
written
in C, C++ and
other
languages
can
be
compiled
to ARM, MIPS or x86 native code and installed using the Android Native
Development Kit (NDK). Native classes can be called from Java code running under
the Dalvik VM using the System.loadLibrary call, which is part of the standard
Android Java classes.
Complete applications can be compiled and installed using traditional development
tools. However, according to the Android documentation, NDK should not be used
solely for developing applications only because the developer prefers to program in
C/C++, as using NDK increases complexity while most applications would not benefit
from using it.
The ADB debugger gives a root shell under the Android Emulator which allows ARM,
MIPS or x86 native code to be uploaded and executed. Native code can be compiled
using GCC or the Intel C++ Compiler on a standard PC. Running native code is
complicated by Android's use of a non-standard C library (libc, known as Bionic). The
graphics library that Android uses to arbitrate and control access to this device is
called the Skia Graphics Library (SGL), and it has been released under an open
source licence. Skia has backends for both Win32 and Unix, allowing the
development of cross-platform applications, and it is the graphics engine underlying
the Google Chrome web browser.

4 How to learn Android


programming language
1

development

with

Java

Step 1

Run on windows
Download Java JDK
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads2133151.html
If JDK is installed in C:\jdk, the following line needs to be added to C:\autoexec.bat
file.
set PATH=C:\jdk_version\bin;%PATH%
set JAVA_HOME=C:\jdk_version
Alternatively, you could also right-click on My Computer, select Properties,
then Advanced, then Environment Variables. Then, you would update the PATH
value and press the OK button.
Download Java JRE
http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads2133155.html
Download AndroidStudio
http://developer.android.com/sdk/index.html
Go to SDK manager, select Tools->Android->SDK Manager
You can select which packages you want to download by toggling the checkboxes on
the left, then click Install to install the selected packages.

Figure 1. The Android SDK Manager shows the SDK packages that are available, already installed, or
for which an update is available.

There are several different packages available for the Android SDK. The table below
describes most of the available packages and where they're located in your SDK
directory once you download them.
SDK Tools
Required. Your new SDK installation already has the latest version. Make sure you
keep this up to date.
SDK Platform-tools
Required. You must install this package when you install the SDK for the first time.
SDK Platform
Required.You must download at least one platform into your environment so you're
able to compile your application. In order to provide the best user experience on the
latest devices, we recommend that you use the latest platform version as your build
target. You'll still be able to run your app on older versions, but you must build against
the latest version in order to use new features when running on devices with the
latest version of Android.

To get started, download the latest Android version, plus the lowest version you plan
to support (we recommend Android 2.2 for your lowest version).

Step 2

This is the link for the Android development training.


http://www.tutorialspoint.com/android/
Tutorial have 4 groups of tasks.
-Android Basics(5 days)
-Android - User Interface(5 days)
-Android Advanced Concepts(3 days)
-Android Useful Examples(20 days)

5 Git
Git is a distributed revision control system with an emphasis on speed, data integrity,
and support for distributed, non-linear workflows. Git was initially designed and
developed by Linus Torvalds for Linux kernel development in 2005, and has since
become the most widely adopted version control system for software development.
As with most other distributed revision control systems, and unlike most client
server systems, every Git working directory is a full-fledged repository with complete
history and full version-tracking capabilities, independent of network access or a
central server. Like the Linux kernel, Git is free software distributed under the terms
of the GNU General Public License version 2.
To learn git, you should use Lynda tutorial for git. At the moment of writing this
document, Lynda GIT Essential Training files can be found on the external hard drive
of the company.

You might also like