SlideShare une entreprise Scribd logo
1  sur  26
Getting start on Android
                - By Amit Yadav
Topics covered


Why Android?
Introduction to Android
How to get started?
Emulator
Dive in
Resource available
Q&A
Why Android?

Open market place
Instant publishing & feedback
You can create anything
Create background apps(mail notifications, FB
updates, twitter etc)
Why Android? (cont…)


Develop on ANY platform FREE
  Windows
  Linux
  Mac
Introduction to Android


Open software platform for mobile development
A complete stack – OS, Middleware, Applications
An Open Handset Alliance (OHA) project
Powered by Linux operating system
Fast application development in Java
Open source under the Apache 2 license
Why Android? (cont…)


Android can run on multiple platforms
  Mobiles
  Notebook
  Desktop
Android Architecture
Linux Kernel

Works as a HAL(H/w Acceleration Layer)
Device drivers
Memory management
Process management
Networking
Libraries

C/C++ libraries
Interface through Java
Surface manager – Handling UI Windows
2D and 3D graphics
Media codecs, SQLite, Browser engine
Android Runtime

Dalvik VM
   Dex files
   Compact and efficient than class files
   Limited memory and battery power
Core Libraries
   Java 5 Std edition
   Collections, I/O etc…
Application Framework

API interface
Activity manager – manages application life cycle.
Applications

Built in and user apps
Can replace built in apps
How to get started? (cont…)

Things to start with
  Java Developer Kit(JDK)
  Eclipse
  Android SDK
  Android Developer Tool(ADT)
How to get started? (cont…)
Emulator
Dive in…

Create new Android Application Project
   Application Name
   Project Name
   Package Name
   Minimum Required SDK
   Target SDK
   Compile With
   Theme


android create project --target <target-id> --name MyFirstApp  --path <path-to-workspace>/MyFirstApp --
activity MainActivity  --package com.example.myfirstapp
Dive in…(Application Building Blocks)


AndroidManifest.XML
Activities
Views & ViewGroup
Intents
Services
Notifications
Content Providers
Dive in…(Manifest File)
The manifest file describes the fundamental characteristics of
the app and defines each of its components.
Dive in…(Activities)

This represents the presentation layer of an Android
Application e.g. a screen which user sees.
An Android app can have several activities and the
app can switch between these activities during
runtime
Dive in…(Views & ViewGroup)

Views are basic building blocks
Views object are usually UI widgets(buttons, text field
etc)
ViewGroups are invisible containers
Organized as tree to build the GUI
Described as an XML in the layout resource
Dive in…(Intents)


Intents are used to move from Activity to Activity
Describes what an application wants
Provides late runtime bindings
Dive in…(Services)


They run in the background
They don’t interact with users
Run on the main thread of the process
Is kept running as long as
  Is Started
  Has Connections
Dive in…(Notifications)


Notify the users about the events
NotificationManager is used for this purpose
Types
  Persistent icon
  Turning LEDS
  Sound or Vibrations
Dive in…(Content Providers)


ContentProviders are objects that can
  Retrieve Data
  Store Data
Data is available for all the applications
Only way to share data across packages
Backend is SQLite
Resource available

http://androidcore.com/home.html Here you can find more than 300
tutorial for android this is the best site for android.
http://www.androidpeople.com/android-tutorial/ This is the another
good site for android.
http://developer.android.com This is site here you find all the
documentation of Android.
http://en.wikipedia.org/wiki/Android_(operating_system) This is the link
of Wikipedia for Android
http://www.vogella.de/articles/Android/article.html#overview This is the
another good site for Android Development.
http://www.pdftop.com/ebook/android+tutorial/ This is the link here
you find lot of book related to Android
http://code.google.com/p/android-wheel/ This is the side here you find
source code of the projects.
Q&A




  No questions
    please!!!

Contenu connexe

Tendances

Android basic principles
Android basic principlesAndroid basic principles
Android basic principles
Henk Laracker
 
android architecture
android architectureandroid architecture
android architecture
Aashita Gupta
 

Tendances (20)

Android : Architecture & Components
Android : Architecture & ComponentsAndroid : Architecture & Components
Android : Architecture & Components
 
Android Training Report
Android Training ReportAndroid Training Report
Android Training Report
 
Introduction to Android
Introduction to Android Introduction to Android
Introduction to Android
 
Android Development Training
Android Development TrainingAndroid Development Training
Android Development Training
 
PPT Companion to Android
PPT Companion to AndroidPPT Companion to Android
PPT Companion to Android
 
Android My Seminar
Android My SeminarAndroid My Seminar
Android My Seminar
 
Android seminar report
Android seminar reportAndroid seminar report
Android seminar report
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
 
Basic of Android App Development
Basic of Android App DevelopmentBasic of Android App Development
Basic of Android App Development
 
Android Platform Architecture
Android Platform ArchitectureAndroid Platform Architecture
Android Platform Architecture
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development ppt
 
Internship in android development-no appendix
Internship in android development-no appendixInternship in android development-no appendix
Internship in android development-no appendix
 
Android basic principles
Android basic principlesAndroid basic principles
Android basic principles
 
Short notes of android
Short notes of androidShort notes of android
Short notes of android
 
Android app development
Android app developmentAndroid app development
Android app development
 
Android basics
Android basicsAndroid basics
Android basics
 
Introduction to Android - Seminar
Introduction to Android - SeminarIntroduction to Android - Seminar
Introduction to Android - Seminar
 
android architecture
android architectureandroid architecture
android architecture
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Android Overview
Android OverviewAndroid Overview
Android Overview
 

En vedette (6)

Android Database Tutorial
Android Database TutorialAndroid Database Tutorial
Android Database Tutorial
 
BroadcastReceivers in Android
BroadcastReceivers in AndroidBroadcastReceivers in Android
BroadcastReceivers in Android
 
Data Handning with Sqlite for Android
Data Handning with Sqlite for AndroidData Handning with Sqlite for Android
Data Handning with Sqlite for Android
 
(続) Effective SQLite for Android
(続) Effective SQLite for Android(続) Effective SQLite for Android
(続) Effective SQLite for Android
 
Sqlite Multiple Table
Sqlite Multiple TableSqlite Multiple Table
Sqlite Multiple Table
 
Evrdi : Social Diary ( iOS and Android )
Evrdi : Social Diary ( iOS and Android )Evrdi : Social Diary ( iOS and Android )
Evrdi : Social Diary ( iOS and Android )
 

Similaire à Getting Started With ANDROID

Android seminar-presentation
Android seminar-presentationAndroid seminar-presentation
Android seminar-presentation
connectshilpa
 

Similaire à Getting Started With ANDROID (20)

Android Tutorial For Beginners Part-1
Android Tutorial For Beginners Part-1Android Tutorial For Beginners Part-1
Android Tutorial For Beginners Part-1
 
Introduction to Android Development Part 1
Introduction to Android Development Part 1Introduction to Android Development Part 1
Introduction to Android Development Part 1
 
Android overview
Android overviewAndroid overview
Android overview
 
Android basics
Android basicsAndroid basics
Android basics
 
Android my
Android myAndroid my
Android my
 
Android Introduction by Kajal
Android Introduction by KajalAndroid Introduction by Kajal
Android Introduction by Kajal
 
First Steps with Android - An Exciting Introduction
First Steps with Android - An Exciting IntroductionFirst Steps with Android - An Exciting Introduction
First Steps with Android - An Exciting Introduction
 
Intro To Android App Development
Intro To Android App DevelopmentIntro To Android App Development
Intro To Android App Development
 
architecture of android.pptx
architecture of android.pptxarchitecture of android.pptx
architecture of android.pptx
 
Android dev o_auth
Android dev o_authAndroid dev o_auth
Android dev o_auth
 
Android 1-intro n architecture
Android 1-intro n architectureAndroid 1-intro n architecture
Android 1-intro n architecture
 
Android beginners David
Android beginners DavidAndroid beginners David
Android beginners David
 
Android seminar-presentation
Android seminar-presentationAndroid seminar-presentation
Android seminar-presentation
 
Technology and Android.pptx
Technology and Android.pptxTechnology and Android.pptx
Technology and Android.pptx
 
Android app development India
Android app development IndiaAndroid app development India
Android app development India
 
Android Basic Concept
Android Basic Concept Android Basic Concept
Android Basic Concept
 
Android platform
Android platform Android platform
Android platform
 
Android terminologies
Android terminologiesAndroid terminologies
Android terminologies
 
Mobile app
Mobile appMobile app
Mobile app
 
Android Introduction on Java Forum Stuttgart 11
Android Introduction on Java Forum Stuttgart 11 Android Introduction on Java Forum Stuttgart 11
Android Introduction on Java Forum Stuttgart 11
 

Dernier

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Dernier (20)

MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 

Getting Started With ANDROID

  • 1. Getting start on Android - By Amit Yadav
  • 2. Topics covered Why Android? Introduction to Android How to get started? Emulator Dive in Resource available Q&A
  • 3. Why Android? Open market place Instant publishing & feedback You can create anything Create background apps(mail notifications, FB updates, twitter etc)
  • 4. Why Android? (cont…) Develop on ANY platform FREE Windows Linux Mac
  • 5. Introduction to Android Open software platform for mobile development A complete stack – OS, Middleware, Applications An Open Handset Alliance (OHA) project Powered by Linux operating system Fast application development in Java Open source under the Apache 2 license
  • 6. Why Android? (cont…) Android can run on multiple platforms Mobiles Notebook Desktop
  • 8. Linux Kernel Works as a HAL(H/w Acceleration Layer) Device drivers Memory management Process management Networking
  • 9. Libraries C/C++ libraries Interface through Java Surface manager – Handling UI Windows 2D and 3D graphics Media codecs, SQLite, Browser engine
  • 10. Android Runtime Dalvik VM Dex files Compact and efficient than class files Limited memory and battery power Core Libraries Java 5 Std edition Collections, I/O etc…
  • 11. Application Framework API interface Activity manager – manages application life cycle.
  • 12. Applications Built in and user apps Can replace built in apps
  • 13. How to get started? (cont…) Things to start with Java Developer Kit(JDK) Eclipse Android SDK Android Developer Tool(ADT)
  • 14. How to get started? (cont…)
  • 16. Dive in… Create new Android Application Project Application Name Project Name Package Name Minimum Required SDK Target SDK Compile With Theme android create project --target <target-id> --name MyFirstApp --path <path-to-workspace>/MyFirstApp -- activity MainActivity --package com.example.myfirstapp
  • 17. Dive in…(Application Building Blocks) AndroidManifest.XML Activities Views & ViewGroup Intents Services Notifications Content Providers
  • 18. Dive in…(Manifest File) The manifest file describes the fundamental characteristics of the app and defines each of its components.
  • 19. Dive in…(Activities) This represents the presentation layer of an Android Application e.g. a screen which user sees. An Android app can have several activities and the app can switch between these activities during runtime
  • 20. Dive in…(Views & ViewGroup) Views are basic building blocks Views object are usually UI widgets(buttons, text field etc) ViewGroups are invisible containers Organized as tree to build the GUI Described as an XML in the layout resource
  • 21. Dive in…(Intents) Intents are used to move from Activity to Activity Describes what an application wants Provides late runtime bindings
  • 22. Dive in…(Services) They run in the background They don’t interact with users Run on the main thread of the process Is kept running as long as Is Started Has Connections
  • 23. Dive in…(Notifications) Notify the users about the events NotificationManager is used for this purpose Types Persistent icon Turning LEDS Sound or Vibrations
  • 24. Dive in…(Content Providers) ContentProviders are objects that can Retrieve Data Store Data Data is available for all the applications Only way to share data across packages Backend is SQLite
  • 25. Resource available http://androidcore.com/home.html Here you can find more than 300 tutorial for android this is the best site for android. http://www.androidpeople.com/android-tutorial/ This is the another good site for android. http://developer.android.com This is site here you find all the documentation of Android. http://en.wikipedia.org/wiki/Android_(operating_system) This is the link of Wikipedia for Android http://www.vogella.de/articles/Android/article.html#overview This is the another good site for Android Development. http://www.pdftop.com/ebook/android+tutorial/ This is the link here you find lot of book related to Android http://code.google.com/p/android-wheel/ This is the side here you find source code of the projects.
  • 26. Q&A No questions please!!!