SlideShare a Scribd company logo
COLLEGE OF ENGINEERING
AND TECHNOLOGY
ANDROID
AN OPEN HANDSET ALLIANCE
Submitted By:
Shubhangi Arora
10ECTCS111
Submitted To:
Mrs.Sunita Choudhary
(H.O.D. )
1
INDEX
 What is Android?
 Features of Android
 Android versions
 Technology used
 Setup
 Emulator
 AVD
 Activity
 Creating a project
 Project components
 Xml
 R class
 ListView
 Intent
 SharedPrefrences
 Gallery
 SQLite Database
2
WHAT IS ANDROID……..?
 Android is an open source operating system
 Mobile apps
 Linux based (2.6 kernel)
 Create by Google and Open Handset Alliance.
3
FEATURES OF ANDROID
 Messaging
 Web browser
 Multi-touch
 Multitasking
 Video calling
 Multiple language support
 Connectivity
 Bluetooth
 Media support
 External storage
 Java support 4
ANDROID VERSIONS
 Android 1.5 Cupcake(API Level 3)
 Android 1.6 Donut(API Level 4)
 Android 2.0 Eclair(API Level 5)
 Android 2.0.1 Eclair(API Level 6)
 Android 2.1 Eclair(API Level 7)
 Android 2.2 Froyo(API Level 8)
 Android 2.3 Gingerbread(API Level 9)
 Android 2.3.3 Gingerbread(API Level 10)
 Android 3.0 Honeycomb(API Level 11)
 Android 3.1 Honeycomb (API Level 12)
 Android 3.2 Honeycomb (API Level 13)
 Android 4.0 Ice Cream Sandwich(API Level 14)
 Android 4.0.3 Ice Cream Sandwich (API Level 15)
 Android 4.1 Jelly Bean(API Level 16)
 Android 4.2 Jelly Bean (API Level 17)
 Android 4.3 Jelly Bean (API Level 18)
 Android 4.4 Kit Kat(API Level 19)
5
TECHNOLOGY & TOOLS USED
 DataBase used: SQLite
 Programming Languages: XML && java
 IDE :Eclipse,ADT
6
SETUP
 Download the Android SDK.
 Install the ADT plugin for Eclipse (if you’ll use the
Eclipse IDE).
 Download the latest SDK tools and platforms using
the SDK Manager.
7
EMULATOR
 A virtual mobile device.
 Develop and test Android applications without using a
physical device.
8
AVD MANAGER
9
AVD
Creation of AVD Default AVD
10
Activity
An Activity is an application component that provides
a screen with which users can interact in order to do
something, such as dial the phone, take a
photo, send an email. Each activity is gives a window
in which to draw its user interface.
An Application usually consists of multiple activities
that are loosely bounded to each other.
11
12
CREATING A PROJECT
13
PROJECT COMPONENTS
 src – your source code
 gen – auto-generated code (usually just
R.java)
 Included libraries
 Resources
 Drawables (like .png images)
 Layouts
 Values (like strings)
 Manifest file 14
XML
 Used to define some of the resources
 Layouts (UI)
 Strings
 Manifest file
 Shouldn’t usually have to edit it
directly, Eclipse can do that for you
 Preferred way of creating UIs
 Separates the description of the layout
from any actual code that controls it
 Can easily take a UI from one platform to
another 15
R CLASS
 Auto-generated: you shouldn’t edit it
 Contains IDs of the project resources
 Enforces good software engineering
 Use findViewById and Resources object to
get access to the resources
 Ex. Button b =
(Button)findViewById(R.id.button1)
 Ex.
getResources().getString(R.string.hello));
16
LISTVIEW
ListView is a view group that displays a list of scrollable items.
17
INTENT
Intent are asynchronous messages which allow application
components to request functionality from other Android
components. Intents allow you to interact with components from
the own and other applications. For example an activity can start
an external activity for taking a picture.
Ex. Intent in=new Intent(Act.this,Klm.class);
startActivity();
current
class
reference
new
Activity
where we
have to go
18
19
SHAREDPREFERENCES
For any particular set of preferences, there is a single instance of this
class that all clients share. Modifications to the preferences must go
through an SharedPreferences.Editor object to ensure the preference
values remain in a consistent state and control when they are committed
to storage.
20
ABOUT SQLITE
 SQLite is an embedded SQL database engine.
 SQLite does not have a separate server process.
 SQLite reads and writes directly to ordinary disk files.
21
SQLITE DATABASE
 SQLiteDatabase has methods to create, delete, execute SQL
commands, and perform other common database
management tasks.
 Database names must be unique within an application, not
across all applications.
22
23

More Related Content

What's hot

My android
My androidMy android
My android
Prince Bhanwra
 
Day 2 android internals a quick overview
Day 2 android internals a quick overviewDay 2 android internals a quick overview
Day 2 android internals a quick overview
Ahsanul Karim
 
Android basic principles
Android basic principlesAndroid basic principles
Android basic principles
Henk Laracker
 
Android studio 2.0: default project structure
Android studio 2.0: default project structureAndroid studio 2.0: default project structure
Android studio 2.0: default project structure
Vyara Georgieva
 
Android development tutorial
Android development tutorialAndroid development tutorial
Android development tutorial
nazzf
 
Android overview
Android overviewAndroid overview
Android overview
Alexey Ustenko
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
donnfelker
 
Industrial Training in Android Application
Industrial Training in Android ApplicationIndustrial Training in Android Application
Industrial Training in Android Application
Arcadian Learning
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
Techacademy Software
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
Ed Zel
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
katayoon_bz
 
Android
AndroidAndroid
Android
Jesus_Aguirre
 
Android Basics
Android BasicsAndroid Basics
Android Basics
Arvind Sahu
 
Android Workshop Day 1 Part 2
Android Workshop Day 1 Part 2Android Workshop Day 1 Part 2
Android Workshop Day 1 Part 2
Ahsanul Karim
 
Ui layout (incomplete)
Ui layout (incomplete)Ui layout (incomplete)
Ui layout (incomplete)
Ahsanul Karim
 
IntroToAndroid
IntroToAndroidIntroToAndroid
IntroToAndroid
Quickoffice Test
 
Android basics
Android basicsAndroid basics
Android basics
Syed Luqman Quadri
 
Google Android
Google AndroidGoogle Android
Google Android
Michael Angelo Rivera
 
Android - From Zero to Hero @ DEVit 2017
Android - From Zero to Hero @ DEVit 2017Android - From Zero to Hero @ DEVit 2017
Android - From Zero to Hero @ DEVit 2017
Ivo Neskovic
 
Asj session 2 - kirthik
Asj   session 2 - kirthikAsj   session 2 - kirthik
Asj session 2 - kirthik
19TUIT038KAVIARASUM
 

What's hot (20)

My android
My androidMy android
My android
 
Day 2 android internals a quick overview
Day 2 android internals a quick overviewDay 2 android internals a quick overview
Day 2 android internals a quick overview
 
Android basic principles
Android basic principlesAndroid basic principles
Android basic principles
 
Android studio 2.0: default project structure
Android studio 2.0: default project structureAndroid studio 2.0: default project structure
Android studio 2.0: default project structure
 
Android development tutorial
Android development tutorialAndroid development tutorial
Android development tutorial
 
Android overview
Android overviewAndroid overview
Android overview
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
 
Industrial Training in Android Application
Industrial Training in Android ApplicationIndustrial Training in Android Application
Industrial Training in Android Application
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Android
AndroidAndroid
Android
 
Android Basics
Android BasicsAndroid Basics
Android Basics
 
Android Workshop Day 1 Part 2
Android Workshop Day 1 Part 2Android Workshop Day 1 Part 2
Android Workshop Day 1 Part 2
 
Ui layout (incomplete)
Ui layout (incomplete)Ui layout (incomplete)
Ui layout (incomplete)
 
IntroToAndroid
IntroToAndroidIntroToAndroid
IntroToAndroid
 
Android basics
Android basicsAndroid basics
Android basics
 
Google Android
Google AndroidGoogle Android
Google Android
 
Android - From Zero to Hero @ DEVit 2017
Android - From Zero to Hero @ DEVit 2017Android - From Zero to Hero @ DEVit 2017
Android - From Zero to Hero @ DEVit 2017
 
Asj session 2 - kirthik
Asj   session 2 - kirthikAsj   session 2 - kirthik
Asj session 2 - kirthik
 

Similar to Android overview

Android app development ppt
Android app development pptAndroid app development ppt
Android app development ppt
saitej15
 
Android dev o_auth
Android dev o_authAndroid dev o_auth
Android dev o_auth
fantasy zheng
 
Android
AndroidAndroid
Technology and Android.pptx
Technology and Android.pptxTechnology and Android.pptx
Technology and Android.pptx
muthulakshmi cse
 
Android interview questions and answers
Android interview questions and answersAndroid interview questions and answers
Android interview questions and answers
kavinilavuG
 
android level 1
android level 1android level 1
android level 1
DevMix
 
Arduino - Android Workshop Presentation
Arduino - Android Workshop PresentationArduino - Android Workshop Presentation
Arduino - Android Workshop Presentation
Hem Shrestha
 
Android
Android Android
Android
Nirav Ranpara
 
Android Basic
Android BasicAndroid Basic
Android Basic
Nirav Ranpara
 
Os eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdfOs eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdf
weerabahu
 
Android development tutorial
Android development tutorialAndroid development tutorial
Android development tutorial
Mohammad Taj
 
Android apps development
Android apps developmentAndroid apps development
Android apps development
Raman Pandey
 
Android internals
Android internalsAndroid internals
Android internals
Liran Ben Haim
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
zeelpatel0504
 
My android
My androidMy android
My android
Prince Bhanwra
 
Notes Unit2.pptx
Notes Unit2.pptxNotes Unit2.pptx
Notes Unit2.pptx
MIT Autonomous Aurangabad
 
Android and its feature
Android and its featureAndroid and its feature
Android and its feature
Shubham Kumar
 
Android In A Nutshell
Android In A NutshellAndroid In A Nutshell
Android In A Nutshell
Ted Chien
 
Day: 2 Environment Setup for Android Application Development
Day: 2 Environment Setup for Android Application DevelopmentDay: 2 Environment Setup for Android Application Development
Day: 2 Environment Setup for Android Application Development
Ahsanul Karim
 
Android OS
Android OSAndroid OS

Similar to Android overview (20)

Android app development ppt
Android app development pptAndroid app development ppt
Android app development ppt
 
Android dev o_auth
Android dev o_authAndroid dev o_auth
Android dev o_auth
 
Android
AndroidAndroid
Android
 
Technology and Android.pptx
Technology and Android.pptxTechnology and Android.pptx
Technology and Android.pptx
 
Android interview questions and answers
Android interview questions and answersAndroid interview questions and answers
Android interview questions and answers
 
android level 1
android level 1android level 1
android level 1
 
Arduino - Android Workshop Presentation
Arduino - Android Workshop PresentationArduino - Android Workshop Presentation
Arduino - Android Workshop Presentation
 
Android
Android Android
Android
 
Android Basic
Android BasicAndroid Basic
Android Basic
 
Os eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdfOs eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdf
 
Android development tutorial
Android development tutorialAndroid development tutorial
Android development tutorial
 
Android apps development
Android apps developmentAndroid apps development
Android apps development
 
Android internals
Android internalsAndroid internals
Android internals
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
My android
My androidMy android
My android
 
Notes Unit2.pptx
Notes Unit2.pptxNotes Unit2.pptx
Notes Unit2.pptx
 
Android and its feature
Android and its featureAndroid and its feature
Android and its feature
 
Android In A Nutshell
Android In A NutshellAndroid In A Nutshell
Android In A Nutshell
 
Day: 2 Environment Setup for Android Application Development
Day: 2 Environment Setup for Android Application DevelopmentDay: 2 Environment Setup for Android Application Development
Day: 2 Environment Setup for Android Application Development
 
Android OS
Android OSAndroid OS
Android OS
 

Recently uploaded

Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Zilliz
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Vladimir Iglovikov, Ph.D.
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 

Recently uploaded (20)

Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 

Android overview

  • 1. COLLEGE OF ENGINEERING AND TECHNOLOGY ANDROID AN OPEN HANDSET ALLIANCE Submitted By: Shubhangi Arora 10ECTCS111 Submitted To: Mrs.Sunita Choudhary (H.O.D. ) 1
  • 2. INDEX  What is Android?  Features of Android  Android versions  Technology used  Setup  Emulator  AVD  Activity  Creating a project  Project components  Xml  R class  ListView  Intent  SharedPrefrences  Gallery  SQLite Database 2
  • 3. WHAT IS ANDROID……..?  Android is an open source operating system  Mobile apps  Linux based (2.6 kernel)  Create by Google and Open Handset Alliance. 3
  • 4. FEATURES OF ANDROID  Messaging  Web browser  Multi-touch  Multitasking  Video calling  Multiple language support  Connectivity  Bluetooth  Media support  External storage  Java support 4
  • 5. ANDROID VERSIONS  Android 1.5 Cupcake(API Level 3)  Android 1.6 Donut(API Level 4)  Android 2.0 Eclair(API Level 5)  Android 2.0.1 Eclair(API Level 6)  Android 2.1 Eclair(API Level 7)  Android 2.2 Froyo(API Level 8)  Android 2.3 Gingerbread(API Level 9)  Android 2.3.3 Gingerbread(API Level 10)  Android 3.0 Honeycomb(API Level 11)  Android 3.1 Honeycomb (API Level 12)  Android 3.2 Honeycomb (API Level 13)  Android 4.0 Ice Cream Sandwich(API Level 14)  Android 4.0.3 Ice Cream Sandwich (API Level 15)  Android 4.1 Jelly Bean(API Level 16)  Android 4.2 Jelly Bean (API Level 17)  Android 4.3 Jelly Bean (API Level 18)  Android 4.4 Kit Kat(API Level 19) 5
  • 6. TECHNOLOGY & TOOLS USED  DataBase used: SQLite  Programming Languages: XML && java  IDE :Eclipse,ADT 6
  • 7. SETUP  Download the Android SDK.  Install the ADT plugin for Eclipse (if you’ll use the Eclipse IDE).  Download the latest SDK tools and platforms using the SDK Manager. 7
  • 8. EMULATOR  A virtual mobile device.  Develop and test Android applications without using a physical device. 8
  • 10. AVD Creation of AVD Default AVD 10
  • 11. Activity An Activity is an application component that provides a screen with which users can interact in order to do something, such as dial the phone, take a photo, send an email. Each activity is gives a window in which to draw its user interface. An Application usually consists of multiple activities that are loosely bounded to each other. 11
  • 12. 12
  • 14. PROJECT COMPONENTS  src – your source code  gen – auto-generated code (usually just R.java)  Included libraries  Resources  Drawables (like .png images)  Layouts  Values (like strings)  Manifest file 14
  • 15. XML  Used to define some of the resources  Layouts (UI)  Strings  Manifest file  Shouldn’t usually have to edit it directly, Eclipse can do that for you  Preferred way of creating UIs  Separates the description of the layout from any actual code that controls it  Can easily take a UI from one platform to another 15
  • 16. R CLASS  Auto-generated: you shouldn’t edit it  Contains IDs of the project resources  Enforces good software engineering  Use findViewById and Resources object to get access to the resources  Ex. Button b = (Button)findViewById(R.id.button1)  Ex. getResources().getString(R.string.hello)); 16
  • 17. LISTVIEW ListView is a view group that displays a list of scrollable items. 17
  • 18. INTENT Intent are asynchronous messages which allow application components to request functionality from other Android components. Intents allow you to interact with components from the own and other applications. For example an activity can start an external activity for taking a picture. Ex. Intent in=new Intent(Act.this,Klm.class); startActivity(); current class reference new Activity where we have to go 18
  • 19. 19
  • 20. SHAREDPREFERENCES For any particular set of preferences, there is a single instance of this class that all clients share. Modifications to the preferences must go through an SharedPreferences.Editor object to ensure the preference values remain in a consistent state and control when they are committed to storage. 20
  • 21. ABOUT SQLITE  SQLite is an embedded SQL database engine.  SQLite does not have a separate server process.  SQLite reads and writes directly to ordinary disk files. 21
  • 22. SQLITE DATABASE  SQLiteDatabase has methods to create, delete, execute SQL commands, and perform other common database management tasks.  Database names must be unique within an application, not across all applications. 22
  • 23. 23