SlideShare a Scribd company logo
1 of 31
Workshop India
» Android is a mobile phone operating system
  maintained by google.

» Open Source Software Stack that hardware
  manufacturers can use free of cosr on their
  devices.

» Allows software developers a unified framework in
  developing and distributing mobile applications
» Android is simply a linux kernel modified and
  developed for maintaining mobile devices.

» Linux Kernel:
   ˃ provides abstraction between the hardware and the rest of the stack,
   ˃ responsible for device drivers (Camera , Wi Fi, etc…),
   ˃ resources management , power management, security and net working



» C/C++ Libraries:
   ˃ such as SQL lite, Graphics libraries OpenGL ES, media framework and
     webkit layout engine.
» The Core libraries provide most of java libraries +
  additional Android libraries.

» The Dalvik VM provides (Just In Time) JIT
  compilation.

» Each Java application accessing the core libraries
  has its own VM.
   ˃ This VM is based on the Java bytecoding engine.
» The Android Application Framework:
   ˃ Provides classes required to develop an Android application
   ˃ abstraction between hardware access
   ˃ the Android Java API’s main library include telephony, content providers
     (data), resources, locations and UI.


» Application Layer: all Android applications(native
  or third party) are built on the application layer
  using the same API

» The core subsystem does not distinguish between
  native (already on the phone) and 3rd party (what
  could be installed by user)
» Each Android version has a name of a dessert.

»   Android 1.x (Cup Cake).
»   Android 1.x (Donut).
»   Android 2.x (Eclair).
»   Android 2.x (Froyo).
»   Android 2.x (Gingerbread).
»   Android 3.x (Honeycomb)
»   Android 4.x (Ice Cream Sandwich)
»   Android 5.x (JellyBean)
» Any hardware developer can use android on a device,
  provided he can get the linux drivers for android
  working on his hardware.

» Google phones always use the latest android update.
  Everybody else waits and develops .

» Most 3rd party OEMs use older versions of android.

» Android can be used as a platform for any handheld
  mobile hardware device usable by anybody in the
  market for free.
» Android application follow complete java
  development standards.

» All applications run inside a Java virtual machine.

» First thing to do is to get an updated version of
  java onto your system

» Make sure you have the latest jdk installed on
  your system. (7u5 as of now..)
» Android has a software development kit manager.

» Different versions of Android support different
  platforms.

» You need to compile your android application
  against the SDK version you want to support on
  the device.

» We have an SDK manager that would help us do
  the needful.
» http://developer.android.com/sdk/index.html

» Once you’ve installed it, an SDK manager should appear in
  the windows menu. Open it.

» Check the following entries
   ˃   Tools/Android SDK tools
   ˃   Tools/Android SDK platform-tools
   ˃   Android 3.2 (API13)/SDK platform
   ˃   Android 3.2 (API13)/Samples for SDK
   ˃   Android 3.2 (API13)/Google APIs


» And click install. Select Agree in the window and install.

» Default installation location : …appdatalocalandroid
» Eclipse is the tool of choice as purported by
  google.

» IntelliJ IDEA IDE also has good android
  development support and is as good to use.

» Either of the IDE’s is acceptable.
» Start Eclipse, then select Help > Software Updates > Find and Install….
» In the dialog that appears, select Search for new features to
  install and press Next.
» Press New Remote Site.
» In the resulting dialog box, enter a name for the remote site (e.g.
  Android Plugin) and enter this as its URL:
    ˃ https://dl-ssl.google.com/android/eclipse/.
» Press OK.

» Wait for completion.

» Select Window > Preferences… to open the Preferences panel. (Mac
  OS X: Eclipse >Preferences)
  Select Android from the left panel.
  For the SDK Location in the main panel, press Browse... and find the
  SDK root directory.
» Press Apply, then OK
» If you do not have an Android Hardware Device,
  you can use the AVM to emulate an android
  device and test applications on your computer.

» You will learn patience by using the AVM.

» AVM Manager can be launched from
   ˃ Tools > Manage AVDs from the SDK manager application
   ˃ Eclipse menu (ex : find it yourself)
»   Give a nice name to your AVD

»   Target will be available depending on what all
    SDK have been downloaded onto your
    system.

»   ENABLE SNAPSHOT (for faster loading)
                                                     ENABLE THIS!!
»   In hardware,
     ˃   Increase device RAM to suitable level
     ˃   Leave hardware settings to default


» Add avd and click start in the manager it!

» ..patience..

» You can keep the emulator running
  throughout your development period or as
  long as it keeps functioning.
This is best option..
» Install VirtualBox

» Install Android Inside Virtual Box

» Connect eclipse to the android instance inside Vbox

» http://www.bobbychanblog.com/2011/07/faster-
  android-emulator-alternative-using-virtualbox/

» http://www.andreybutov.com/2011/10/14/how-to-
  set-up-a-faster-android-emulator/
» For more details..
» Android devices come in all different sizes.

» Stretch and compress your layouts to
  accommodate various heights and widths.

» Be flexible and creative.

» Should look GOOD!
» ICS is first OS that unified both tablet and phone
  experience.

» ICS however uses these features prominently with
  some minor changes.
Persistent Action bar on top




                             Tablets have a different potrait
                             – landscape view so apps must
                             be designed accordingly.




Honeycomb,ICS hardware requirements ask for NO buttons except for power
and volume.
Hence, the menu – time – back and recent buttons are combined in the bottom
black bar.
» In ICS, notifications can be made the center of the
  user’s experience, with real time updates and
  specificatons.

» A new builder class will allow you to create
  notifications with
  • large and small icons,
  • a title,
  • a priority flag,

» These notifications build upon the expanded set of UI
  Widgets that will now be available as remote Views.
» This new feature is a platform that includes flexible
  animation framework that makes it easy for you to
  animate the properties of UI elements like
»
  • Views,
  • Widgets,
  • Fragments,
  • Drawables,
  • or any arbitrary object.

» These animations can fade between states, add
  movement, loop an animated image or an already
  moving animation, change item colors, and more.
» This framework lends both the API for building 3D
  scenes and a platform-independent shader language
  for max performance.

» With Renderscript you’ll be able to accelerate both
  data processing and graphics operations,
   ˃ With multiprocessor
   ˃ And GPU support


» Supported Applications:
  • Canvas,
  • Paint,
  • Xfermode,
  • ColorFilter,
  • Shader,
» Tablets offer more space in which your application
  can present multiple sets of information at once,

» handset device usually requires that you split
  those sets apart and display them separately.

» http://developer.android.com/guide/practices/scr
  eens_support.html

» Creativity. Design -> Development
» Social API
   ˃ A shared social provider and API provide a new unified store for contacts,
     profile data, stream items, and photos



» Calendar API
   ˃ A shared calendar content provider and framework API make it easier for
     developers to add calendar services to their apps.


» Android Beam
   ˃ Android Beam is an NFC-based feature that lets users instantly share
     information about the apps they are using, just by touching two NFC-
     enabled phones together.
» Low-level streaming multimedia
   ˃ Android 4.0 provides a direct, efficient path for low-level streaming
     multimedia. The new path is ideal for applications that need to maintain
     complete control over media data before passing it to the platform for
     presentation


» New camera capabilities
   ˃ Developers can take advantage of a variety of new camera features in Android
     4.0. ZSL exposure, continuous focus, and image zoom let apps capture better
     still and video images, including during video capture


» Wi-Fi Direct
   ˃ Developers can use a framework API to discover and connect directly to
     nearby devices over a high-performance, secure Wi-Fi Direct connection. No
     internet connection or hotspot is needed.
» KEEP READING THE INTERNET!!

» Go to various android news sites, keep in touch with latest
  android news and announcements over there.

» Learn things outside this course. Lots of tutorials available
  online

» Try things in the emulator patiently..
   ˃   Try Try Try and then Try again once more…
   ˃   And then once again..
   ˃   And again..
   ˃   Till you accomplish what you need.

» Ask people online for advice
   ˃ (only after your research is over!!)

More Related Content

What's hot

Introducing linux: a short expedition to the debian environment
Introducing linux: a short expedition to the debian environmentIntroducing linux: a short expedition to the debian environment
Introducing linux: a short expedition to the debian environment
Md. Zahid Hossain Shoeb
 
Linux [2005]
Linux [2005]Linux [2005]
Linux [2005]
Raul Soto
 
Usergroup 02 Berlin Windows7
Usergroup 02 Berlin Windows7Usergroup 02 Berlin Windows7
Usergroup 02 Berlin Windows7
mspgermany
 

What's hot (20)

The Future of the Operating System - Keynote LinuxCon 2015
The Future of the Operating System -  Keynote LinuxCon 2015The Future of the Operating System -  Keynote LinuxCon 2015
The Future of the Operating System - Keynote LinuxCon 2015
 
Building Embedded Linux Systems Introduction
Building Embedded Linux Systems IntroductionBuilding Embedded Linux Systems Introduction
Building Embedded Linux Systems Introduction
 
Introducing linux: a short expedition to the debian environment
Introducing linux: a short expedition to the debian environmentIntroducing linux: a short expedition to the debian environment
Introducing linux: a short expedition to the debian environment
 
Embedded Os [Linux & Co.]
Embedded Os [Linux & Co.]Embedded Os [Linux & Co.]
Embedded Os [Linux & Co.]
 
Embedded Linux On A R M
Embedded  Linux On  A R MEmbedded  Linux On  A R M
Embedded Linux On A R M
 
Linux Kernel and Driver Development Training
Linux Kernel and Driver Development TrainingLinux Kernel and Driver Development Training
Linux Kernel and Driver Development Training
 
Linux1
Linux1Linux1
Linux1
 
Course 102: Lecture 19: Using Signals
Course 102: Lecture 19: Using Signals Course 102: Lecture 19: Using Signals
Course 102: Lecture 19: Using Signals
 
Android rpi-csimmonds-fosdem-2019
Android rpi-csimmonds-fosdem-2019Android rpi-csimmonds-fosdem-2019
Android rpi-csimmonds-fosdem-2019
 
Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 1
Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 1Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 1
Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 1
 
Embedded Android : System Development - Part I
Embedded Android : System Development - Part IEmbedded Android : System Development - Part I
Embedded Android : System Development - Part I
 
Nachos
NachosNachos
Nachos
 
Linux [2005]
Linux [2005]Linux [2005]
Linux [2005]
 
Advancement on embedded linux-v2
Advancement on embedded linux-v2Advancement on embedded linux-v2
Advancement on embedded linux-v2
 
Window architecture
Window architecture Window architecture
Window architecture
 
Android Things : Building Embedded Devices
Android Things : Building Embedded DevicesAndroid Things : Building Embedded Devices
Android Things : Building Embedded Devices
 
Embedded Linux Kernel - Build your custom kernel
Embedded Linux Kernel - Build your custom kernelEmbedded Linux Kernel - Build your custom kernel
Embedded Linux Kernel - Build your custom kernel
 
Embedded Android : System Development - Part III
Embedded Android : System Development - Part IIIEmbedded Android : System Development - Part III
Embedded Android : System Development - Part III
 
Usergroup 02 Berlin Windows7
Usergroup 02 Berlin Windows7Usergroup 02 Berlin Windows7
Usergroup 02 Berlin Windows7
 
Tuning Android for low RAM
Tuning Android for low RAMTuning Android for low RAM
Tuning Android for low RAM
 

Viewers also liked (13)

OpenCV @ Droidcon 2012
OpenCV @ Droidcon 2012OpenCV @ Droidcon 2012
OpenCV @ Droidcon 2012
 
03 layouts & ui design - Android
03   layouts & ui design - Android03   layouts & ui design - Android
03 layouts & ui design - Android
 
05 content providers - Android
05   content providers - Android05   content providers - Android
05 content providers - Android
 
02 hello world - Android
02   hello world - Android02   hello world - Android
02 hello world - Android
 
04 activities - Android
04   activities - Android04   activities - Android
04 activities - Android
 
5 User Mgmt in Drupal
5 User Mgmt in Drupal5 User Mgmt in Drupal
5 User Mgmt in Drupal
 
LinuxWeek 2010 - Client Side Attacks
LinuxWeek 2010 - Client Side AttacksLinuxWeek 2010 - Client Side Attacks
LinuxWeek 2010 - Client Side Attacks
 
6 Special Howtos for Drupal
6 Special Howtos for Drupal6 Special Howtos for Drupal
6 Special Howtos for Drupal
 
4.content mgmt
4.content mgmt4.content mgmt
4.content mgmt
 
Curso de Desenvolvimento Mobile - Android - Activities
Curso de Desenvolvimento Mobile - Android - ActivitiesCurso de Desenvolvimento Mobile - Android - Activities
Curso de Desenvolvimento Mobile - Android - Activities
 
OpenCV with android
OpenCV with androidOpenCV with android
OpenCV with android
 
2 Installation of Drupal
2  Installation of Drupal2  Installation of Drupal
2 Installation of Drupal
 
Freshman Fileshare
Freshman FileshareFreshman Fileshare
Freshman Fileshare
 

Similar to 01 introduction & setup - Android

Introduction to android sessions new
Introduction to android   sessions newIntroduction to android   sessions new
Introduction to android sessions new
Joe Jacob
 

Similar to 01 introduction & setup - Android (20)

Introduction to android sessions new
Introduction to android   sessions newIntroduction to android   sessions new
Introduction to android sessions new
 
Introduction_to_android_and_android_studio
Introduction_to_android_and_android_studioIntroduction_to_android_and_android_studio
Introduction_to_android_and_android_studio
 
Developing for Android-Types of Android Application
Developing for Android-Types of Android ApplicationDeveloping for Android-Types of Android Application
Developing for Android-Types of Android Application
 
Intro to android (gdays)
Intro to android (gdays)Intro to android (gdays)
Intro to android (gdays)
 
Android Application Development Using Java
Android Application Development Using JavaAndroid Application Development Using Java
Android Application Development Using Java
 
Android Application Development Training by NITIN GUPTA
Android Application Development Training by NITIN GUPTA Android Application Development Training by NITIN GUPTA
Android Application Development Training by NITIN GUPTA
 
Android and its feature
Android and its featureAndroid and its feature
Android and its feature
 
Overview of Adroid Architecture.pptx
Overview of Adroid Architecture.pptxOverview of Adroid Architecture.pptx
Overview of Adroid Architecture.pptx
 
Android
AndroidAndroid
Android
 
Android ppt
Android ppt Android ppt
Android ppt
 
Android Applications
Android ApplicationsAndroid Applications
Android Applications
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Android Seminar BY Suleman Khan.pdf
Android Seminar BY Suleman Khan.pdfAndroid Seminar BY Suleman Khan.pdf
Android Seminar BY Suleman Khan.pdf
 
Android app development by abhi android
Android app development by abhi androidAndroid app development by abhi android
Android app development by abhi android
 
Android app development
Android app developmentAndroid app development
Android app development
 
Android 3.1 - Portland Code Camp 2011
Android 3.1 - Portland Code Camp 2011Android 3.1 - Portland Code Camp 2011
Android 3.1 - Portland Code Camp 2011
 
Android 3.0 Portland Java User Group 2011-03-15
Android 3.0 Portland Java User Group 2011-03-15Android 3.0 Portland Java User Group 2011-03-15
Android 3.0 Portland Java User Group 2011-03-15
 
Gl android platform
Gl android platformGl android platform
Gl android platform
 
Presentation1
Presentation1Presentation1
Presentation1
 
My androidpresentation
My androidpresentationMy androidpresentation
My androidpresentation
 

More from Wingston (12)

C game programming - SDL
C game programming - SDLC game programming - SDL
C game programming - SDL
 
C programming - Pointers
C programming - PointersC programming - Pointers
C programming - Pointers
 
Introduction to Basic C programming 02
Introduction to Basic C programming 02Introduction to Basic C programming 02
Introduction to Basic C programming 02
 
Introduction to Basic C programming 01
Introduction to Basic C programming 01Introduction to Basic C programming 01
Introduction to Basic C programming 01
 
04 Arduino Peripheral Interfacing
04   Arduino Peripheral Interfacing04   Arduino Peripheral Interfacing
04 Arduino Peripheral Interfacing
 
03 analogue anrduino fundamentals
03   analogue anrduino fundamentals03   analogue anrduino fundamentals
03 analogue anrduino fundamentals
 
02 General Purpose Input - Output on the Arduino
02   General Purpose Input -  Output on the Arduino02   General Purpose Input -  Output on the Arduino
02 General Purpose Input - Output on the Arduino
 
Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the Arduino
 
8 Web Practices for Drupal
8  Web Practices for Drupal8  Web Practices for Drupal
8 Web Practices for Drupal
 
7 Theming in Drupal
7 Theming in Drupal7 Theming in Drupal
7 Theming in Drupal
 
3 Configuring Drupal
3 Configuring Drupal3 Configuring Drupal
3 Configuring Drupal
 
1 Introduction to Drupal Web Development
1 Introduction to Drupal Web Development1 Introduction to Drupal Web Development
1 Introduction to Drupal Web Development
 

Recently uploaded

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
SoniaTolstoy
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 

Recently uploaded (20)

General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 

01 introduction & setup - Android

  • 2. » Android is a mobile phone operating system maintained by google. » Open Source Software Stack that hardware manufacturers can use free of cosr on their devices. » Allows software developers a unified framework in developing and distributing mobile applications
  • 3. » Android is simply a linux kernel modified and developed for maintaining mobile devices. » Linux Kernel: ˃ provides abstraction between the hardware and the rest of the stack, ˃ responsible for device drivers (Camera , Wi Fi, etc…), ˃ resources management , power management, security and net working » C/C++ Libraries: ˃ such as SQL lite, Graphics libraries OpenGL ES, media framework and webkit layout engine.
  • 4. » The Core libraries provide most of java libraries + additional Android libraries. » The Dalvik VM provides (Just In Time) JIT compilation. » Each Java application accessing the core libraries has its own VM. ˃ This VM is based on the Java bytecoding engine.
  • 5. » The Android Application Framework: ˃ Provides classes required to develop an Android application ˃ abstraction between hardware access ˃ the Android Java API’s main library include telephony, content providers (data), resources, locations and UI. » Application Layer: all Android applications(native or third party) are built on the application layer using the same API » The core subsystem does not distinguish between native (already on the phone) and 3rd party (what could be installed by user)
  • 6. » Each Android version has a name of a dessert. » Android 1.x (Cup Cake). » Android 1.x (Donut). » Android 2.x (Eclair). » Android 2.x (Froyo). » Android 2.x (Gingerbread). » Android 3.x (Honeycomb) » Android 4.x (Ice Cream Sandwich) » Android 5.x (JellyBean)
  • 7. » Any hardware developer can use android on a device, provided he can get the linux drivers for android working on his hardware. » Google phones always use the latest android update. Everybody else waits and develops . » Most 3rd party OEMs use older versions of android. » Android can be used as a platform for any handheld mobile hardware device usable by anybody in the market for free.
  • 8. » Android application follow complete java development standards. » All applications run inside a Java virtual machine. » First thing to do is to get an updated version of java onto your system » Make sure you have the latest jdk installed on your system. (7u5 as of now..)
  • 9. » Android has a software development kit manager. » Different versions of Android support different platforms. » You need to compile your android application against the SDK version you want to support on the device. » We have an SDK manager that would help us do the needful.
  • 10. » http://developer.android.com/sdk/index.html » Once you’ve installed it, an SDK manager should appear in the windows menu. Open it. » Check the following entries ˃ Tools/Android SDK tools ˃ Tools/Android SDK platform-tools ˃ Android 3.2 (API13)/SDK platform ˃ Android 3.2 (API13)/Samples for SDK ˃ Android 3.2 (API13)/Google APIs » And click install. Select Agree in the window and install. » Default installation location : …appdatalocalandroid
  • 11.
  • 12. » Eclipse is the tool of choice as purported by google. » IntelliJ IDEA IDE also has good android development support and is as good to use. » Either of the IDE’s is acceptable.
  • 13. » Start Eclipse, then select Help > Software Updates > Find and Install…. » In the dialog that appears, select Search for new features to install and press Next. » Press New Remote Site. » In the resulting dialog box, enter a name for the remote site (e.g. Android Plugin) and enter this as its URL: ˃ https://dl-ssl.google.com/android/eclipse/. » Press OK. » Wait for completion. » Select Window > Preferences… to open the Preferences panel. (Mac OS X: Eclipse >Preferences) Select Android from the left panel. For the SDK Location in the main panel, press Browse... and find the SDK root directory. » Press Apply, then OK
  • 14. » If you do not have an Android Hardware Device, you can use the AVM to emulate an android device and test applications on your computer. » You will learn patience by using the AVM. » AVM Manager can be launched from ˃ Tools > Manage AVDs from the SDK manager application ˃ Eclipse menu (ex : find it yourself)
  • 15.
  • 16. » Give a nice name to your AVD » Target will be available depending on what all SDK have been downloaded onto your system. » ENABLE SNAPSHOT (for faster loading) ENABLE THIS!! » In hardware, ˃ Increase device RAM to suitable level ˃ Leave hardware settings to default » Add avd and click start in the manager it! » ..patience.. » You can keep the emulator running throughout your development period or as long as it keeps functioning.
  • 17.
  • 18. This is best option..
  • 19. » Install VirtualBox » Install Android Inside Virtual Box » Connect eclipse to the android instance inside Vbox » http://www.bobbychanblog.com/2011/07/faster- android-emulator-alternative-using-virtualbox/ » http://www.andreybutov.com/2011/10/14/how-to- set-up-a-faster-android-emulator/ » For more details..
  • 20. » Android devices come in all different sizes. » Stretch and compress your layouts to accommodate various heights and widths. » Be flexible and creative. » Should look GOOD!
  • 21. » ICS is first OS that unified both tablet and phone experience. » ICS however uses these features prominently with some minor changes.
  • 22. Persistent Action bar on top Tablets have a different potrait – landscape view so apps must be designed accordingly. Honeycomb,ICS hardware requirements ask for NO buttons except for power and volume. Hence, the menu – time – back and recent buttons are combined in the bottom black bar.
  • 23. » In ICS, notifications can be made the center of the user’s experience, with real time updates and specificatons. » A new builder class will allow you to create notifications with • large and small icons, • a title, • a priority flag, » These notifications build upon the expanded set of UI Widgets that will now be available as remote Views.
  • 24. » This new feature is a platform that includes flexible animation framework that makes it easy for you to animate the properties of UI elements like » • Views, • Widgets, • Fragments, • Drawables, • or any arbitrary object. » These animations can fade between states, add movement, loop an animated image or an already moving animation, change item colors, and more.
  • 25. » This framework lends both the API for building 3D scenes and a platform-independent shader language for max performance. » With Renderscript you’ll be able to accelerate both data processing and graphics operations, ˃ With multiprocessor ˃ And GPU support » Supported Applications: • Canvas, • Paint, • Xfermode, • ColorFilter, • Shader,
  • 26. » Tablets offer more space in which your application can present multiple sets of information at once, » handset device usually requires that you split those sets apart and display them separately. » http://developer.android.com/guide/practices/scr eens_support.html » Creativity. Design -> Development
  • 27.
  • 28.
  • 29. » Social API ˃ A shared social provider and API provide a new unified store for contacts, profile data, stream items, and photos » Calendar API ˃ A shared calendar content provider and framework API make it easier for developers to add calendar services to their apps. » Android Beam ˃ Android Beam is an NFC-based feature that lets users instantly share information about the apps they are using, just by touching two NFC- enabled phones together.
  • 30. » Low-level streaming multimedia ˃ Android 4.0 provides a direct, efficient path for low-level streaming multimedia. The new path is ideal for applications that need to maintain complete control over media data before passing it to the platform for presentation » New camera capabilities ˃ Developers can take advantage of a variety of new camera features in Android 4.0. ZSL exposure, continuous focus, and image zoom let apps capture better still and video images, including during video capture » Wi-Fi Direct ˃ Developers can use a framework API to discover and connect directly to nearby devices over a high-performance, secure Wi-Fi Direct connection. No internet connection or hotspot is needed.
  • 31. » KEEP READING THE INTERNET!! » Go to various android news sites, keep in touch with latest android news and announcements over there. » Learn things outside this course. Lots of tutorials available online » Try things in the emulator patiently.. ˃ Try Try Try and then Try again once more… ˃ And then once again.. ˃ And again.. ˃ Till you accomplish what you need. » Ask people online for advice ˃ (only after your research is over!!)