sumbited by heena saini
TRANSCRIPT
![Page 1: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/1.jpg)
Sumbited by-Heena saini
Information techonlogy 4th year,7th
sem
Pratical traning session
![Page 2: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/2.jpg)
ANDROIDFROM
HPES(jaipur )
I did my traning in
![Page 3: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/3.jpg)
Objective of traning I want to do my summer training in any useful and new
technology.
So I choosed new mobile technology “ANDROID”.
![Page 4: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/4.jpg)
About hp Hewlett-Packard Company or HP is an American
multinational hardware and software corporation headquartered in Palo Alto, California, United States.
It provides products, technologies, software, solutions and services to consumers, small- and medium-sized businesses (SMBs) and large enterprises, including customers in the government, health and education sectors.
HP has successful lines of printers, scanners, digital cameras, calculators, PDAs, servers, workstation computers, and computers for home and small business use.
![Page 5: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/5.jpg)
About hpes Hpes stands for hp education services.
HP Education Services is the most reputed name in the Technical Education.
Hp is largest IT solution and largest UNIX training company worldwide.
hp Has been in the education business for over 28 years. Present in more than 400 HP education centers and partner locations.
Hp has trained professionals and provide training for soft skills and technical and also customized program according to need of fresher's.
![Page 6: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/6.jpg)
ANDROID Android is mobile operating system such as smart phones and
tablet computers.
Based on modified version of Linux.
Android developed the Google and later Open Handset Alliance(OHA).
Android is open source apache license, means open technology.
Android allows developers to write managed code in java language.
Supports DVM.
![Page 7: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/7.jpg)
HISTORY 2005 -Google acquired android inc.
5 nov 2007 –OHA formed
12 nov 2007-OHA released preview of the OHA android.
23 sep 2008- android’s first mobile lunched.
First product of OHA is android.
![Page 8: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/8.jpg)
Versions version Code name
1.5 Cupcake
1.6 Donut
2.1 Eclair
2.2 Froyo
2.3-2.3.7 Gingerbread
3.1-3.2 Honeycomb
4.0-4.0.4 Ice Cream Sandwich
4.1 Jelly Bean
![Page 9: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/9.jpg)
Features of android Storage- uses SQLite, a lightweight relational database, is
used for dada storage purposes.
Handset support- accelerometer sensor , camera , digital compass, GPS etc.
Connectivity- supports Bluetooth , wifi .
Messaging- supports both MMS and SMS.
Web browser- based on the open-source Web kit , coupled with Chorme’s V8 javascriptengine.
![Page 10: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/10.jpg)
Multi-touch- supports multi touch screen.
Multi-tasking-supports multitasking applications.
Tethering-supports sharing of internet connections as a wired/wireless hotspot.
Java support-Java classes are compiled into Dalvik executables and run on Dalvik.
External storage- supports in the form of SD card.
Media support- android supports H.263,H.264,MPEG-4 SP,MP3 ETC.
![Page 11: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/11.jpg)
Open handset alliance
on nov 5,2007, OHA , a consortium of several companies which include HTC, Samsung electronics , LG , Google , Intel etc.
The goal of OHA is to develop open standards for mobile devices.
On the same day, the Open Handset Alliance also unveiled its first product, Android, a mobile device platform built on the Linux kernel version 2.6.
On December 9, 2008, 14 new members joined OHA.
![Page 12: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/12.jpg)
Open source technology The Android Open Source project(AOSP) is led by Google,
and is tasked with the maintenance and development of
Android.
The goal of the AOSP is to create a successful real-world product that improves the mobile experience for end users.
AOSP creates Android Compatibility as can run any application written by third-party developers using the Android SDK .
![Page 13: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/13.jpg)
Android Architecture
![Page 14: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/14.jpg)
Applcation
-This layer is the top layer of the architecture.
-In this layer we find application that ship with the android device application such as phone , contacts etc.
-This layer also ship with the application downloaded from android market.
![Page 15: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/15.jpg)
Application framework
-Framework elements are-intent, content providers , views and manger.
-this layer has been designed for facilitate the reuse of component in android.
![Page 16: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/16.jpg)
Libraries
This layer contains all the code that provides main features of the android OS.
![Page 17: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/17.jpg)
Android Runtime
-At the same level of libraries.
- Application Developed language : Java
-Dalvik Virtual Machine Instruction set : Dalvik Executable.
-Java Standard Library Compile java code to Dalvik Executable
![Page 18: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/18.jpg)
Linux kernal
Android is based on the Linux Kernel. This layer contains the low levelDevice drivers.
![Page 19: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/19.jpg)
Development toolsEclipse
Android SDK
ADT
Emulator
![Page 20: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/20.jpg)
Eclipse As a IDE(integrated development environment) android
use ECLIPSE.
Eclipse is multi language development environment, develop many applications using various languages such as java, c , cpp etc.
For android development we should have eclipse IDE for java EE developers.
Six editions are available such as windows(32 and 64 bit), Linux(32 and 64 bit) etc.
![Page 21: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/21.jpg)
Android SDK SDK stands for software development kit.
A SDK that enables developers to create application for the Android platform.
The Android SDK includes sample projects with source code , development tools, an emulator , documentation , tutorials and required libraries to build Android applications.
We can download SDK from http://developer.android.com/sdk/index.html
![Page 22: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/22.jpg)
ADT ADT stands for android development tools.
ADT plug-in for eclipse is an extension to the eclipse IDE that supports the creation and debugging of apps.
Using ADT in eclipse we can-(a) Create new android app.(b) Access the tools for accessing our android emulators and
devise.(c) Compile and debug android app.(d) Export android apps into APK.
![Page 23: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/23.jpg)
Emulator
Android application may be run on a real device or on the android emulator , which ships with the android SDK
![Page 24: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/24.jpg)
DVM DVM is open source software.
DVM stands for Dalvik virtual machine Google's Android operating system.
It is the software that runs the apps on Android devices.
Dalvik is thus an integral part of Android, which is typically used on mobile devices such as mobile phones and tablet computers.
![Page 25: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/25.jpg)
Steps of creating new android project
To creating new android project select-project.
Give project name then select finish.
Then do coding in .java file, layout file, main XML file.
After completion project is ready to run on emulator.
Then run it thorough selecting run as –android project.
Then project runs on android emulator.
![Page 26: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/26.jpg)
Activity An activity is a single, focused thing that the user can do.
Almost all activities interact with the user, so the Activity class takes care of creating a window for us in which we can place our UI with setContentView(View).
Activity life cycle-Activities in the system are managed as an activity stack. When a new activity is started, it is placed on the top of the stack and becomes the running activity -- the previous activity always remains below it in the stack, and will not come to the foreground again until the new activity exits.
![Page 27: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/27.jpg)
![Page 28: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/28.jpg)
Phonebook During my training I create android project “phonebook”.
![Page 29: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/29.jpg)
Introduction to the project This project aims at storing our important contacts on our
android device.
This application is mainly designed for those who want to store there important contacts on their mobile device itself.
![Page 30: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/30.jpg)
SOME SPECIAL FEATURES We can create , delete , view and search our contacts which
we have stored earlier.
It helps in easily remembering our important contacts which we want to use in our daily work.
In this project we can easily set our important contact details like birthday , email address , home and office phone number separately and much more .
![Page 31: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/31.jpg)
SOME SNAPSHOTS OF THIS PROJECT – HOME WINDOW
![Page 32: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/32.jpg)
Welcoming screen of phonebook
![Page 33: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/33.jpg)
Home screen of the Phone Book
![Page 34: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/34.jpg)
Window where we can add our contacts
![Page 35: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/35.jpg)
Adding window cont..
![Page 36: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/36.jpg)
Search window – For searching the contacts
![Page 37: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/37.jpg)
![Page 38: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/38.jpg)
View window – For viewing our contacts
![Page 39: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/39.jpg)
View window - Added to contacts
![Page 40: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/40.jpg)
Search window
![Page 41: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/41.jpg)
Contact delete window
![Page 42: Sumbited by heena saini](https://reader031.vdocuments.mx/reader031/viewer/2022013114/555ab202d8b42ad0538b5102/html5/thumbnails/42.jpg)
Thank you