SlideShare a Scribd company logo
Android
What is Android ?
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 license
Difference b/w Native and Android OS
1.0
1.1
1.2
2.0
2.1
2.2
2.3
Native
Operating System
JRE
3rd party App
Native App
System
Resources
Working of Native OS
1.0 1.1
1.2
1.3
2.0
2.1
2.2
2.3
Linux
Kernel
DVM
DVM
3rd party
app
Native App
System
Resources
Working of Android OS
Why
Android ?
Why Android?
• Android was designed as a platform for software development.
• Android is open.
• Android is free.
What you can do with
Android?
 Develop your own Applications.
 Develop apps to operate robots
• The OHA is a group of hardware and software developers, including
Google, NTT DoCoMo, Sprint Nextel, and HTC …
• Goal
– Accelerate innovation in mobile
– Offer consumers a richer, less expensive, and better mobile experience
• OHA have developed Android™, the first complete, open, and free mobile
platform
Open Handset Alliance (OHA)
Market Share
SmartPhone market Share 2012
Android Architecture
• Includes a set of C/C++ libraries.
• Interface through Java.
• Surface manager – Handling UI Windows.
• 2D and 3D graphics.
• Media codes, SQLite, Browser engine.
• Android relies on Linux version 2.6 for core system services such as device
drivers, security, memory management ,process management.
• The kernel also acts as an abstraction layer between the hardware and the
rest of the software stack.
Compilation in Android
Android Execution process
Imp. Tools in Android
 ADT : Android Devlopment Tool used for Eclipse plugins
 Two debuggers
 adb - Android debug bridge
 ddms – Dalvik Debug Monitor Service
 aapt – Android applications packaging tools
 dx – java byte code to Dalvik executable translator
Android Installation Process
Android Application Components
Components - Activity
 An activity is usually a single screen:
 Implemented as a single class extending
Activity.
 Displays user interface controls (views).
 An application typically consists of several
screens:
 Each screen is implemented by one activity.
 Moving to the next screen means starting a
new activity.
Activity lifecycle
Welcome project
Android widgets
AutoCompleteTextView
• AutocompleteTextView is an editable
text view that shows completion
suggestions automatically while the
user is typing.
Spinner
• Touching the spinner displays a
dropdown menu with all other
available values, from which the user
can select a new one.
A Toast is a pop-up message, which allows you to quickly notify the user of
some event.
Toast Messages
The first parameter is used to set the gravity itself. Second and third
parameters define by how many pixels, relative to the value set in the
first parameter.
Intent in Android
Intents
 Intents are messages that are sent
among major building blocks.
 They trigger an activity to start
up, a service to start or stop, or
are simply broadcasts.
Explicit Intent
 Explicit intent is used to invoke the activity or perform the action
within the applications.
Implicit intent
 Implicit intent is used to invoke the actvity of another applications.
This type of intent is created by specifying actions.
Android layouts
User Interface
Two Ways to Create User Interface
 There are two ways to create user interface (UI) in Android. One is
declarative and the other one is programmatic. They are quite different
but often used together to get the job done.
 Declarative User Interface
 Programmatic User Interface
Views and Layouts
Android organizes its UI elements into layouts and views. Everything you
see, such as a button, label, or text box, is a view.
LinearLayout
In a linear layout, like the name suggests, all the elements are displayed in
a linear fashion, either Horizontally or Vertically and this behavior is set
in android:orientation which is an attribute of the node LinearLayout.
TableLayout
TableLayout lays out its children
in a table. TableLayout consists of
only other TableRow widgets.
TableRow represents a row in a
table and can contain other UI
widgets. TableRow widgets are
laid out next to each other
horizontally.
RelativeLayout
RelativeLayout lays out its
children relative to each other.
As such, it is very powerful as it
doesn’t require you to nest
unnecessary layouts in order to
achieve certain look.
Next Topic…
Coding for some simple widgets
Android Advanced Topics
Working With Sensors
• A Sensor is a converter that measures physical quantity and convert it into a
signal which can be read by any Observer and by any Instruments
• A Sensor is a device which receive and responds to signal when touched
What is Sensor
Sensor supported By Android
• Accelerometer Sensor
• Gravity Sensor
• Magnetic Field Sensor
• Pressure Sensor
• Proximity Sensor
• Temperature Sensor
• Orientation Sensor
Accelerometer Sensor
• Accelerometer Sensor is a Hardware Device that measures the
acceleration of the device in x , y & z Directions.
• Android supports all sensors via the SensorManager like as Accelerometer.
You can access SensorManager via getSystemServices
• The Sensor class Defines several constants for accessing the different
sensors:
Sensor.TYPE_GYROSCOPE
Sensor.TYPE_MAGNETIC_FIELD
Sensor.TYPE_ORIENTATION
Sensor.TYPE_ACCELROMETER
You can access the sensor via the sensormanager.getDefaultSenosr() method,
which takes as parameter as Sensor type
sensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
Once you acquired a sensor, you can register a SensorEventListner object on it.
This listner will get informed, if the sensor data changes
sensorManager.registerListener();
Next Topic…
Working With Location Based App
Obtaining user location or developing location aware application for Android
you can utilize :-
GPS – Global Positioning System
NPS – Network Positioning System
Obtaining user location
GPS
GPS is a technical marvel made possible
by a group of satellites in earth orbit that
transmit precise signals, allowing GPS
receivers to calculate and display
accurate location, speed, and time
information to the user
NPS provider determine location using shell tower and wi-fi signals. It
responds faster and consume less battery power.
NPS
Android Location API
LocationManager
LocationManager class provide access to the Android Location Service. The
Service allows you to access location providers,
to register location updates listeners.
LocationProvider
The LocationProvider class is the super class of different location providers
which delivers the information about the current location. This information is
stored in the Location Class
Location
Location class represents a Geographic location at a particular time, which is
measured by or represented by Latitude and Longitude
Latitude measures North - South position
Longitude measures West-East position
LocationListener
The LocationListener class used for receiving notification from
LocationManager when the location has been changed
Next Topic…
Native Development Kit (NDK)
Current Company:
Xenium Digital Private Limited,Mumbai(www.xenium.in)
(Exp.On:MobileApps(NativeApps,Hybrid,Augmented Reality Apps)
Unity Game Developemnt&Python World Viz Virtual Reality Development)
Contact Details
Rajnish Vishwakarma
(Mobile Apps,UnityGame&Python Vizard
Developer)
Email: rajnishbeit.tcet@gmail.com
mobileapps_developers@yahoo.com
Tel: +91-8767319805

More Related Content

What's hot

Advanced sensors in Series 40 Java ME apps
Advanced sensors in Series 40 Java ME appsAdvanced sensors in Series 40 Java ME apps
Advanced sensors in Series 40 Java ME apps
Microsoft Mobile Developer
 
Generic sensors for the Web
Generic sensors for the WebGeneric sensors for the Web
Generic sensors for the Web
Kenneth Rohde Christiansen
 
Input devices dani
Input devices daniInput devices dani
Input devices dani
Dinesh Kumar
 
Virtual Key Board
Virtual Key BoardVirtual Key Board
Virtual Key Board
Hardik Kanjariya
 
Develop Store Apps with Kinect for Windows v2
Develop Store Apps with Kinect for Windows v2Develop Store Apps with Kinect for Windows v2
Develop Store Apps with Kinect for Windows v2
Clemente Giorio
 
Programming with kinect v2
Programming with kinect v2Programming with kinect v2
Programming with kinect v2
Matteo Valoriani
 
Input devices
Input devicesInput devices
Input devices
rwkshj
 
Writing applications using the Microsoft Kinect Sensor
Writing applications using the Microsoft Kinect SensorWriting applications using the Microsoft Kinect Sensor
Writing applications using the Microsoft Kinect Sensor
phildenoncourt
 
Sensors and location based services
Sensors and location based servicesSensors and location based services
Sensors and location based services
Chinmay V S
 
Xbox one development kit 2 copy - copy
Xbox one development kit 2   copy - copyXbox one development kit 2   copy - copy
Xbox one development kit 2 copy - copy
rojizo frio
 
Sensor's inside
Sensor's insideSensor's inside
Sensor's inside
Anando Kumar Paul
 
Virtual keyboard abstract
Virtual keyboard abstractVirtual keyboard abstract
Virtual keyboard abstract
sri sudheera chitipolu
 
computer Graphics
computer Graphics computer Graphics
computer Graphics
Rozi khan
 
Augmented Reality with the Intel® RealSense™ SDK and R200 Camera
Augmented Reality with the Intel® RealSense™ SDK and R200 CameraAugmented Reality with the Intel® RealSense™ SDK and R200 Camera
Augmented Reality with the Intel® RealSense™ SDK and R200 Camera
Intel® Software
 
Virtual Keyboard (VKB)-Keyboard Without KEYS and Board
Virtual Keyboard (VKB)-Keyboard Without KEYS and BoardVirtual Keyboard (VKB)-Keyboard Without KEYS and Board
Virtual Keyboard (VKB)-Keyboard Without KEYS and Board
sumit kumar
 
Presentation virtual keybord_2
Presentation virtual keybord_2Presentation virtual keybord_2
Presentation virtual keybord_2
kondalarao7
 
Virtual Keyboard
Virtual KeyboardVirtual Keyboard
Virtual Keyboard
Rakeh Reddy
 

What's hot (17)

Advanced sensors in Series 40 Java ME apps
Advanced sensors in Series 40 Java ME appsAdvanced sensors in Series 40 Java ME apps
Advanced sensors in Series 40 Java ME apps
 
Generic sensors for the Web
Generic sensors for the WebGeneric sensors for the Web
Generic sensors for the Web
 
Input devices dani
Input devices daniInput devices dani
Input devices dani
 
Virtual Key Board
Virtual Key BoardVirtual Key Board
Virtual Key Board
 
Develop Store Apps with Kinect for Windows v2
Develop Store Apps with Kinect for Windows v2Develop Store Apps with Kinect for Windows v2
Develop Store Apps with Kinect for Windows v2
 
Programming with kinect v2
Programming with kinect v2Programming with kinect v2
Programming with kinect v2
 
Input devices
Input devicesInput devices
Input devices
 
Writing applications using the Microsoft Kinect Sensor
Writing applications using the Microsoft Kinect SensorWriting applications using the Microsoft Kinect Sensor
Writing applications using the Microsoft Kinect Sensor
 
Sensors and location based services
Sensors and location based servicesSensors and location based services
Sensors and location based services
 
Xbox one development kit 2 copy - copy
Xbox one development kit 2   copy - copyXbox one development kit 2   copy - copy
Xbox one development kit 2 copy - copy
 
Sensor's inside
Sensor's insideSensor's inside
Sensor's inside
 
Virtual keyboard abstract
Virtual keyboard abstractVirtual keyboard abstract
Virtual keyboard abstract
 
computer Graphics
computer Graphics computer Graphics
computer Graphics
 
Augmented Reality with the Intel® RealSense™ SDK and R200 Camera
Augmented Reality with the Intel® RealSense™ SDK and R200 CameraAugmented Reality with the Intel® RealSense™ SDK and R200 Camera
Augmented Reality with the Intel® RealSense™ SDK and R200 Camera
 
Virtual Keyboard (VKB)-Keyboard Without KEYS and Board
Virtual Keyboard (VKB)-Keyboard Without KEYS and BoardVirtual Keyboard (VKB)-Keyboard Without KEYS and Board
Virtual Keyboard (VKB)-Keyboard Without KEYS and Board
 
Presentation virtual keybord_2
Presentation virtual keybord_2Presentation virtual keybord_2
Presentation virtual keybord_2
 
Virtual Keyboard
Virtual KeyboardVirtual Keyboard
Virtual Keyboard
 

Similar to Everything About Android - Itvedant, Thane | Mumbai | Navi Mumbai

Mobile application development
Mobile application developmentMobile application development
Mobile application development
umesh patil
 
Android Development Tutorial
Android Development TutorialAndroid Development Tutorial
Android Development Tutorial
Germán Bringas
 
Os eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdfOs eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdf
weerabahu
 
Nativa Android Applications development
Nativa Android Applications developmentNativa Android Applications development
Nativa Android Applications development
Alfredo Morresi
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
Prof. Erwin Globio
 
Android architecture
Android architectureAndroid architecture
Android architecture
Deepa Rahul
 
Android beginners David
Android beginners DavidAndroid beginners David
Android beginners David
Arun David Johnson R
 
Android interview questions and answers
Android interview questions and answersAndroid interview questions and answers
Android interview questions and answers
kavinilavuG
 
Embedded Systems.pdf
Embedded Systems.pdfEmbedded Systems.pdf
Embedded Systems.pdf
ruvabebe
 
UNIT CONVERTER
UNIT CONVERTERUNIT CONVERTER
UNIT CONVERTER
Nishita Kaptak
 
Windows 7 For Developers
Windows 7 For DevelopersWindows 7 For Developers
Windows 7 For Developers
joycsc
 
ANDROID LAB MANUAL.doc
ANDROID LAB MANUAL.docANDROID LAB MANUAL.doc
ANDROID LAB MANUAL.doc
Palakjaiswal43
 
SensActions-Report
SensActions-ReportSensActions-Report
SensActions-Report
Pranav Pandey
 
Technology and Android.pptx
Technology and Android.pptxTechnology and Android.pptx
Technology and Android.pptx
muthulakshmi cse
 
Mobile Application Development Lecture 05 & 06.pdf
Mobile Application Development Lecture 05 & 06.pdfMobile Application Development Lecture 05 & 06.pdf
Mobile Application Development Lecture 05 & 06.pdf
AbdullahMunir32
 
5 beginner android application development foundation
5 beginner android application development foundation5 beginner android application development foundation
5 beginner android application development foundation
Cbitss Technologies
 
Mobile Application Development -Lecture 09 & 10.pdf
Mobile Application Development -Lecture 09 & 10.pdfMobile Application Development -Lecture 09 & 10.pdf
Mobile Application Development -Lecture 09 & 10.pdf
AbdullahMunir32
 
Aptech Apps
Aptech Apps Aptech Apps
Aptech Apps
RasikaShinde6
 
hema ppt (2).pptx
hema ppt (2).pptxhema ppt (2).pptx
hema ppt (2).pptx
balasekaran5
 
Mobile Application Development With Android
Mobile Application Development With AndroidMobile Application Development With Android
Mobile Application Development With Android
guest213e237
 

Similar to Everything About Android - Itvedant, Thane | Mumbai | Navi Mumbai (20)

Mobile application development
Mobile application developmentMobile application development
Mobile application development
 
Android Development Tutorial
Android Development TutorialAndroid Development Tutorial
Android Development Tutorial
 
Os eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdfOs eclipse-androidwidget-pdf
Os eclipse-androidwidget-pdf
 
Nativa Android Applications development
Nativa Android Applications developmentNativa Android Applications development
Nativa Android Applications development
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
 
Android architecture
Android architectureAndroid architecture
Android architecture
 
Android beginners David
Android beginners DavidAndroid beginners David
Android beginners David
 
Android interview questions and answers
Android interview questions and answersAndroid interview questions and answers
Android interview questions and answers
 
Embedded Systems.pdf
Embedded Systems.pdfEmbedded Systems.pdf
Embedded Systems.pdf
 
UNIT CONVERTER
UNIT CONVERTERUNIT CONVERTER
UNIT CONVERTER
 
Windows 7 For Developers
Windows 7 For DevelopersWindows 7 For Developers
Windows 7 For Developers
 
ANDROID LAB MANUAL.doc
ANDROID LAB MANUAL.docANDROID LAB MANUAL.doc
ANDROID LAB MANUAL.doc
 
SensActions-Report
SensActions-ReportSensActions-Report
SensActions-Report
 
Technology and Android.pptx
Technology and Android.pptxTechnology and Android.pptx
Technology and Android.pptx
 
Mobile Application Development Lecture 05 & 06.pdf
Mobile Application Development Lecture 05 & 06.pdfMobile Application Development Lecture 05 & 06.pdf
Mobile Application Development Lecture 05 & 06.pdf
 
5 beginner android application development foundation
5 beginner android application development foundation5 beginner android application development foundation
5 beginner android application development foundation
 
Mobile Application Development -Lecture 09 & 10.pdf
Mobile Application Development -Lecture 09 & 10.pdfMobile Application Development -Lecture 09 & 10.pdf
Mobile Application Development -Lecture 09 & 10.pdf
 
Aptech Apps
Aptech Apps Aptech Apps
Aptech Apps
 
hema ppt (2).pptx
hema ppt (2).pptxhema ppt (2).pptx
hema ppt (2).pptx
 
Mobile Application Development With Android
Mobile Application Development With AndroidMobile Application Development With Android
Mobile Application Development With Android
 

Recently uploaded

“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
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
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
TIPNGVN2
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
Rohit Gautam
 
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
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
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
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 

Recently uploaded (20)

“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
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...
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
 
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
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
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
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 

Everything About Android - Itvedant, Thane | Mumbai | Navi Mumbai

  • 3. 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 license
  • 4. Difference b/w Native and Android OS
  • 5. 1.0 1.1 1.2 2.0 2.1 2.2 2.3 Native Operating System JRE 3rd party App Native App System Resources Working of Native OS
  • 8. Why Android? • Android was designed as a platform for software development. • Android is open. • Android is free.
  • 9. What you can do with Android?
  • 10.  Develop your own Applications.  Develop apps to operate robots
  • 11.
  • 12. • The OHA is a group of hardware and software developers, including Google, NTT DoCoMo, Sprint Nextel, and HTC … • Goal – Accelerate innovation in mobile – Offer consumers a richer, less expensive, and better mobile experience • OHA have developed Android™, the first complete, open, and free mobile platform Open Handset Alliance (OHA)
  • 13.
  • 16.
  • 17.
  • 19.
  • 20.
  • 21.
  • 22. • Includes a set of C/C++ libraries. • Interface through Java. • Surface manager – Handling UI Windows. • 2D and 3D graphics. • Media codes, SQLite, Browser engine.
  • 23.
  • 24. • Android relies on Linux version 2.6 for core system services such as device drivers, security, memory management ,process management. • The kernel also acts as an abstraction layer between the hardware and the rest of the software stack.
  • 27. Imp. Tools in Android  ADT : Android Devlopment Tool used for Eclipse plugins  Two debuggers  adb - Android debug bridge  ddms – Dalvik Debug Monitor Service  aapt – Android applications packaging tools  dx – java byte code to Dalvik executable translator
  • 28.
  • 30.
  • 32.
  • 33. Components - Activity  An activity is usually a single screen:  Implemented as a single class extending Activity.  Displays user interface controls (views).  An application typically consists of several screens:  Each screen is implemented by one activity.  Moving to the next screen means starting a new activity.
  • 36.
  • 38. AutoCompleteTextView • AutocompleteTextView is an editable text view that shows completion suggestions automatically while the user is typing.
  • 39. Spinner • Touching the spinner displays a dropdown menu with all other available values, from which the user can select a new one.
  • 40. A Toast is a pop-up message, which allows you to quickly notify the user of some event. Toast Messages
  • 41.
  • 42. The first parameter is used to set the gravity itself. Second and third parameters define by how many pixels, relative to the value set in the first parameter.
  • 43.
  • 45. Intents  Intents are messages that are sent among major building blocks.  They trigger an activity to start up, a service to start or stop, or are simply broadcasts.
  • 46.
  • 47. Explicit Intent  Explicit intent is used to invoke the activity or perform the action within the applications. Implicit intent  Implicit intent is used to invoke the actvity of another applications. This type of intent is created by specifying actions.
  • 49. User Interface Two Ways to Create User Interface  There are two ways to create user interface (UI) in Android. One is declarative and the other one is programmatic. They are quite different but often used together to get the job done.  Declarative User Interface  Programmatic User Interface
  • 50. Views and Layouts Android organizes its UI elements into layouts and views. Everything you see, such as a button, label, or text box, is a view.
  • 51. LinearLayout In a linear layout, like the name suggests, all the elements are displayed in a linear fashion, either Horizontally or Vertically and this behavior is set in android:orientation which is an attribute of the node LinearLayout.
  • 52. TableLayout TableLayout lays out its children in a table. TableLayout consists of only other TableRow widgets. TableRow represents a row in a table and can contain other UI widgets. TableRow widgets are laid out next to each other horizontally.
  • 53. RelativeLayout RelativeLayout lays out its children relative to each other. As such, it is very powerful as it doesn’t require you to nest unnecessary layouts in order to achieve certain look.
  • 54.
  • 55. Next Topic… Coding for some simple widgets
  • 58. • A Sensor is a converter that measures physical quantity and convert it into a signal which can be read by any Observer and by any Instruments • A Sensor is a device which receive and responds to signal when touched What is Sensor
  • 59. Sensor supported By Android • Accelerometer Sensor • Gravity Sensor • Magnetic Field Sensor • Pressure Sensor • Proximity Sensor • Temperature Sensor • Orientation Sensor
  • 60. Accelerometer Sensor • Accelerometer Sensor is a Hardware Device that measures the acceleration of the device in x , y & z Directions.
  • 61. • Android supports all sensors via the SensorManager like as Accelerometer. You can access SensorManager via getSystemServices • The Sensor class Defines several constants for accessing the different sensors: Sensor.TYPE_GYROSCOPE Sensor.TYPE_MAGNETIC_FIELD Sensor.TYPE_ORIENTATION Sensor.TYPE_ACCELROMETER
  • 62. You can access the sensor via the sensormanager.getDefaultSenosr() method, which takes as parameter as Sensor type sensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); Once you acquired a sensor, you can register a SensorEventListner object on it. This listner will get informed, if the sensor data changes sensorManager.registerListener();
  • 63. Next Topic… Working With Location Based App
  • 64. Obtaining user location or developing location aware application for Android you can utilize :- GPS – Global Positioning System NPS – Network Positioning System Obtaining user location
  • 65. GPS GPS is a technical marvel made possible by a group of satellites in earth orbit that transmit precise signals, allowing GPS receivers to calculate and display accurate location, speed, and time information to the user
  • 66. NPS provider determine location using shell tower and wi-fi signals. It responds faster and consume less battery power. NPS
  • 67. Android Location API LocationManager LocationManager class provide access to the Android Location Service. The Service allows you to access location providers, to register location updates listeners. LocationProvider The LocationProvider class is the super class of different location providers which delivers the information about the current location. This information is stored in the Location Class
  • 68. Location Location class represents a Geographic location at a particular time, which is measured by or represented by Latitude and Longitude Latitude measures North - South position Longitude measures West-East position LocationListener The LocationListener class used for receiving notification from LocationManager when the location has been changed
  • 70. Current Company: Xenium Digital Private Limited,Mumbai(www.xenium.in) (Exp.On:MobileApps(NativeApps,Hybrid,Augmented Reality Apps) Unity Game Developemnt&Python World Viz Virtual Reality Development) Contact Details Rajnish Vishwakarma (Mobile Apps,UnityGame&Python Vizard Developer) Email: rajnishbeit.tcet@gmail.com mobileapps_developers@yahoo.com Tel: +91-8767319805

Editor's Notes

  1. Program for linear layout.
  2. Program for table layout
  3. Give them time to do practice with layouts