Android Summer Training Report
Android Summer Training Report
Android Summer Training Report
REPORT
on
Submitted by
(Name of student)
Registration No..
(June-July, 2017)
DECLARATION
I hereby declare that I have completed my six weeks summer training at __________________(name and location of
organization) from ______(start date) to _____(end date) under the guidance of (Name of Industry coordinator). I have
declare that I have worked with full dedication during these six weeks of training and my learning outcomes fulfill the
requirements of training for the award of degree of ____________(Relevant Degree ), Lovely Professional University,
Phagwara.
(Signature of student)
Name of Student
Registration no:
Date: ___________________
ACKNOWLEDGEMENT
I sincerely thank H.Sudheer sir, our IP co-ordinator for their guidance and
encouragement to do my internship.He also help me by updating us about the
information of what to do and not to do during our internship and help us with
all.I also thanks my friend for helping me with my problem that I face in my project.
TABLEOFCONTENT
PAGENO.
CHAPTER 1. Introduction 1-2
...................................................................
1.1 App .................................................................................................... 1
1.2 Android .............................................................................................. 1
1.3 History ............................................................................................... 1
1.4 Android Version ................................................................................. 2
Conclusion ................................................................................................... 31
Bibliography .................................................................................................
Chapter 1
Introduction
Android was initially developed by Android Inc., the code names of android ranges
from A to N.
Founded by Andy Rubin in Palo Alto,California, United States in Oct 2003.
Android word is actually reffered to as robot
Android was named after the nickname of Andy Rubin by their co-workers for his
love for robot.
Google acquired android Incorporation on 17th Aug,2005.
Android was developed by the Open Handset Alliance(OHA) for camera phone, led by
Google, and other companies.
But shifted to smart-phones due to low market of cameras at that time.
HTC launches the first android mobile.
In 2010,Google launched its Nexus series of devices in smart-phone world with
android OS.
We will start our Android application development on any of the following operating
systems:
Microsoft Window XP or later version.
Mac OS X 10.5.8 or later version with Intel chip
Linux including GNU Library with Intel chip.
3.1 Overview
Android applications are freely available and can be downloaded from the Web.
Following is the list of software's you will need before you start your Android
application programming.
This all software required in the installation of Android application.This setup is
required for the configuration with RAM less or more than 4gb:
Java JDK5 or JDK6
Download the latest version of Java JDK and install the JDK and set the
environmental path for it.
Android SDK
Download Android SDK from Androids official website :
http://developer.android.com/sdk/index.html
If you install SDK either on Mac OS or Linux, follow the instruction and setup the
environment path.
Launch Android SDK Manager using option All Program>Android SDK Tools>SDK
Manager
Eclipse IDE for Java Developers
Check for the version that is compatible with your device and install it.
Or, Android Development Tools (ADT) Eclipse Plugin
This step will help you in setting Android Development Tool plugin for Eclipse.
Let's start with launching Eclipse and then, choose Help > Software Updates > Install
New Software
3.2 Android Virtual Device
To test our android application we will need a virtual Android device. Before start
writing our code we create an Android Virtual Device Android operating system is a
stack of software components which is roughly divided into five sections and four
main layers :
Application
You will find all the Android application at the top layer. You will write your
application to be installed on this layer only
Application Framework
The Application Framework layer provides many higher-level services to applications in
the form of Java classes.
Libraries
There is a set of libraries including open-source Web browser engine WebKit, well known
library libc, SQLite database,etc.
And , Android Runtime :
This is the third section of the architecture and available on the second layer from the
bottom. This section provides a key component called Dalvik Virtual Machine which is
a kind of Java Virtual Machine specially designed and optimized for Android
Linux Kernel
At the bottom of the layers is Linux,This provides basic system functionality like process
management, memory management, device management like camera, keypad, display
etc.
Following four main component that can be used within an Android application :
1) Activities :- They dictate the UI and handle the user interaction to the smartphone
screen public class MainActivity extends Activity
{ }
2)Services :- They handle background processing associated with an application
public class MyService extends Service
{ }
The first step is to create a simple Android Application using Android Studio.Follow
the option File -> New -> New Project ->Enter application name in the pop-up
window.Then select a Empty activity->next->Activity name->Finish.
Before going to project that I made we need to know some basic concept of Android
for better understanding.
Since every project that we do in android studio must contain this files:-
.java file
.xml file
AndroidMenifest file
4.1 .javaFile :
This file include all the codes and logic written in it.
We can open it in the android project -> app -> java ->
com.example.username.filename -> MainActivity.java
When we run our program methods that are called :
- onCreate(Bundle) :- It is used to initialize our activity.
-setContentView(int) :- It is a layout resource defining our User
Interface.
-findViewById(int) :- It is used to retrieve widgets in the that UI that
we need to interact.
-onPause() :- Where we deal with the user leaving activity.
4.2 .xmlFile :
It is used to define the actual User Interface of our application.
We can open the .xml from app -> res ->layout -> ActivityName.xml
We can find all the elements or the tools that we want to use in our project.
It has two different layout i.e; a coding layout where we can code for our required
elements needed like buttons, text views,etc.
Or, we can directly drag and drop the required elements in the given design layout.
The Android framework gives us the flexibility to use either or both
of these methods for declaring and managing our apps UI.
4.6 Camera :
We can directly integrate the camera into your application via the Camera API.
Using the camera on the Android device can be done via integration of the
existing Camera application. In this case you would start the existing Camera
application via an Intent and to get the data after the user returns to our
application.
4.7 Permission given:
In the manifest file we give the following permission to the application to access
the hardware component i.e; camera :
<uses-feature
android:name="android.hardware.Camera"/
>
<uses-permission android:name="android.permission.CAMERA" />
After giving permission to the app we also have to give the special permission to
the app through our device to the location ,
Setting -> apps -> open app -> permission -> camera allow -> close setting
4.8 EXAMPLE
After completing this project, I concluded that this project was the
good opportunity to implement my information that I have learnt
during my internship program.This project is more informative and
more helpful for understanding the concept of the android app
development.This project is only a small and easy one but it is enough
to implement my concept. I can further try much harder to make
much more efficient and useful app that can benefit to other.
Bibliography
Following are the links from which all the information have been taken :
1. https://developer.android.com/training/basics/index.html
2. https://developer.android.com/training/basics/concept/creating-
project.html
3. http://www.hiddenbrains.com/android-application-development.html
4. http://www.letsnurture.com/services/mobile/android-mobile-
application-devel opment.html
5. https://www.tutorialspoint.com/android/