SlideShare a Scribd company logo
1 of 45
Android
Sathish.R
Agenda
Android

Introduction
Introduction about
IDE?
Setting Up
Environment.
First Application
Button And Toast
Application
Bluetooth
Applications

Android
Tenet Technetronics
Agenda
Android

Introduction
Introduction about
IDE?
Setting Up
Environment.
First Application
Button And Toast
Application
Bluetooth
Applications

Android
Tenet Technetronics
Introduction: Android
o

Operating system based on Linux.

o

Open Source by Search Giant.

o

Apps typically written in Java.

o

Apps run on the Dalvik Virtual Machine(DVM).

o

November 2007, Open Handset Alliance formed to
develop open standards for mobile devices.
Tenet Technetronics
History of Android
o

Android was the brainchild of Andy Rubin and Rich Miner.
(Android Inc.)

o

Google acquired Android Inc. on August 17, 2005.

o

Android was unveiled as its first product, a mobile
device platform built on the Linux kernel version 2.6, On
November, 2007
Tenet Technetronics
Android Evolution

o
o
o
o
o
o
o
o
o

Android 1.1 -1.5
Android 1.6
Android 2.0-2.1
Android 2.2.x
Android 2.3.x
Android 3.x
Android 4.0.x
Android 4.1.x-4.3.x
Android 4.4

 Cupcake
 Donut
 Eclair
 Froyo
 GingerBread
 Honeycomb
 Ice Cream Sandwich
 Jelly Bean
 Kitkat
Tenet Technetronics
Android Features
o
o
o
o
o
o
o
o

Application Framework
Dalvik Virtual Machine
Integrated Browser
2D and 3D graphics using the OpenGL libraries.
SQLite Database.
Video and Audio Codecs.
Bluetooth, EDGE,3G,4G and Wi-Fi .
Camera , GPS , Compass, and accelerometer.
Tenet Technetronics
Agenda
Android Introduction
Introduction about
IDE?
Setting Up
Environment.
First Application
Button And Toast
Application
Bluetooth
Applications

Tenet Technetronics
Android
IDE: (Integrated Development
Environment)
o

o
o

Programming Environment that consists of
 A Code Editor,
 A compiler,
 A Debugger,
 A GUI builder.
User-Friendly Framework.
Example: Eclipse, Net beans, Android Studio,
Processing, Xamarin Studio, etc.,
Tenet Technetronics
Agenda
Android Introduction
Introduction about
IDE?
Setting Up
Environment.
First Application
Button And Toast
Application
Bluetooth
Applications

Android
Tenet Technetronics
Android Development Tools
o
o
o
o
o

Java JDK.
Eclipse or Net Beans.
ADT (Android Development Tools) .
Android SDK 1.0-4.0(Download from
developer.android.com).
Programming Languages.
o Java – officially supported.
o C/C++ – also possible but not supported.
Tenet Technetronics
Download JDK

Tenet Technetronics
Tenet Technetronics
Download Android SDK

Tenet Technetronics
Tenet Technetronics
Download Eclipse IDE

Tenet Technetronics
Install ADT Plugin

Eclipse – Help – Install New software

Tenet Technetronics
Entering SDK Path
Windows ->
Preferences.
Select Android and
enter the
installation path of
the Android SDK.

Tenet Technetronics
Select Window -> Android SDK Manager from the menu.

Tenet Technetronics
Creating Android Virtual Device
Select Window -> Android AVD Manager from the menu.

Tenet Technetronics
Create Android Virtual Device

Tenet Technetronics
Tenet Technetronics
Android Emulator(AVD)

Tenet Technetronics
Agenda
Android Introduction
Introduction about
IDE?
Setting Up
Environment.
First Application
Button And Toast
Application
Bluetooth
Applications

Android
Tenet Technetronics
Tenet Technetronics
Tenet Technetronics
Android Framework

Tenet Technetronics
Application Building Blocks
o
o
o

Activity
Intent Receiver
Content Provider

Tenet Technetronics
Application Lifecycle




Application run in their own processes (VM, PID).
Processes are started and stopped as needed to run an
application's components.
Processes may be killed to reclaim resources.

Tenet Technetronics
Android Devices

Tenet Technetronics
Agenda
Android Introduction
Introduction about
IDE?
Setting Up
Environment.
First Application
Button And Toast
Application
Bluetooth
Applications

Android
Tenet Technetronics
Buttons
o
o

Represents a push-button widget.
can be pressed, or clicked to perform an action.

Tenet Technetronics
Toast Messages:
o
o

A small popup.
It only fills the amount of space required for the
message and the current activity remains visible
and interactive.

Tenet Technetronics
Agenda
Android Introduction
Introduction about
IDE?
Setting Up
Environment.
First Application
Button And Toast
Application
Bluetooth
Applications

Android
Tenet Technetronics
Bluetooth
o
o
o

wirelessly exchange data with other Bluetooth
devices.
 access to the Bluetooth functionality APIs.
Using the Bluetooth APIs, We can perform the
following:






Scan for other Bluetooth devices
Query the local Bluetooth adapter for paired Bluetooth
devices
Establish RFCOMM channels
Connect to other devices through service discovery
Tenet Technetronics
Transfer data to and from other devices.
Bluetooth
The four major tasks necessary to communicate using
Bluetooth:
osetting up Bluetooth
ofinding devices that are either paired or available in the
local area,
oconnecting devices
o transferring data between devices.
All of the Bluetooth APIs are available in the android.bluetooth
package. 
Tenet Technetronics
To Create Bluetooth Connection
We need the following:
Bluetooth adapter.
Bluetooth device.
Bluetooth socket.
Bluetooth Server Socket.

Tenet Technetronics
Permissions
o
o
o

you must declare the Bluetooth
permission BLUETOOTH. 
If We discover Bluetooth devices or pair a device
we must use Bluetooth Admin permission.
 Most applications need this permission solely for the
ability to discover local Bluetooth devices.

Tenet Technetronics
Setting up Bluetooth
o

Verify device that Bluetooth is supported or not.

o

If supported enable Bluetooth as follows

Tenet Technetronics
Setting up Bluetooth
o

Request to switch on the Bluetooth

o

Find Bluetooth Devices.
find remote Bluetooth devices either through
device discovery or by
querying the list of paired (bonded) devices.
Tenet Technetronics
Find Bluetooth Device
Querying Paired Devices
o We can get paired devices by
getBondedDevices().
This method will return all the paired devices.
o

Tenet Technetronics
Connecting Devices
o
o
o
o
o

Android(Client)-Robot(Server)
Server’s MAC address to initiate
connection.
Initiate connection by calling connect()
method.
Get Output stream() of the device.
Write using the method write(byte[]).
Tenet Technetronics
Connecting a Device:

Tenet Technetronics
Conclusion
o
o
o
o

Android is open to all: industry, developers and
users.
Participating in many of the successful open
source projects.
Aims to be as easy to build for as the web.
Google Android is stepping into the next level of
Mobile Internet.
Tenet Technetronics
Tenet Technetronics

More Related Content

What's hot

Final Report11
Final Report11Final Report11
Final Report11
sonu kumar
 
Android controlled robot
Android controlled robotAndroid controlled robot
Android controlled robot
Ben Johnke
 
VOICE OPERATED ROBOT DOCUMENTATION
VOICE OPERATED ROBOT DOCUMENTATIONVOICE OPERATED ROBOT DOCUMENTATION
VOICE OPERATED ROBOT DOCUMENTATION
Sree Harini Dunnala
 
Arc application remote control using bluetooth
Arc   application remote control using bluetoothArc   application remote control using bluetooth
Arc application remote control using bluetooth
Sonam M
 
Bluetooth remote control... from your mobile phone
Bluetooth remote control... from your mobile phoneBluetooth remote control... from your mobile phone
Bluetooth remote control... from your mobile phone
Bebe Bilguun
 
War robot with night vision camera android application
War robot with night vision camera  android applicationWar robot with night vision camera  android application
War robot with night vision camera android application
Dheeraj Kumar
 

What's hot (20)

Bluetooth controlled android car
Bluetooth controlled android car Bluetooth controlled android car
Bluetooth controlled android car
 
Voice controlled robot ppt
Voice controlled robot pptVoice controlled robot ppt
Voice controlled robot ppt
 
Robo wireless controll
Robo wireless controllRobo wireless controll
Robo wireless controll
 
Android mobile cotrolled robot (wi fi)
Android mobile cotrolled robot (wi fi)Android mobile cotrolled robot (wi fi)
Android mobile cotrolled robot (wi fi)
 
Android controlled robot
Android controlled robotAndroid controlled robot
Android controlled robot
 
Final Report11
Final Report11Final Report11
Final Report11
 
Presentation slides of android controlled robot
Presentation slides of android controlled robotPresentation slides of android controlled robot
Presentation slides of android controlled robot
 
Android controlled robot
Android controlled robotAndroid controlled robot
Android controlled robot
 
VOICE OPERATED ROBOT DOCUMENTATION
VOICE OPERATED ROBOT DOCUMENTATIONVOICE OPERATED ROBOT DOCUMENTATION
VOICE OPERATED ROBOT DOCUMENTATION
 
Voice controlled spy robot for security system
Voice controlled spy robot for security systemVoice controlled spy robot for security system
Voice controlled spy robot for security system
 
Brian black book
Brian black bookBrian black book
Brian black book
 
Smart Robotic Assistant
Smart Robotic AssistantSmart Robotic Assistant
Smart Robotic Assistant
 
IRJET - Pick and Place Surveillance Robot
IRJET -  	  Pick and Place Surveillance RobotIRJET -  	  Pick and Place Surveillance Robot
IRJET - Pick and Place Surveillance Robot
 
Arc application remote control using bluetooth
Arc   application remote control using bluetoothArc   application remote control using bluetooth
Arc application remote control using bluetooth
 
Bluetooth remote control... from your mobile phone
Bluetooth remote control... from your mobile phoneBluetooth remote control... from your mobile phone
Bluetooth remote control... from your mobile phone
 
War robot with night vision camera android application
War robot with night vision camera  android applicationWar robot with night vision camera  android application
War robot with night vision camera android application
 
Android Controlled Arduino Spy Robot
Android Controlled Arduino Spy RobotAndroid Controlled Arduino Spy Robot
Android Controlled Arduino Spy Robot
 
Mobile controlled robot using bluetooth module (HC-005)
Mobile controlled robot using bluetooth module (HC-005)Mobile controlled robot using bluetooth module (HC-005)
Mobile controlled robot using bluetooth module (HC-005)
 
Presentation IOT Robot
Presentation IOT RobotPresentation IOT Robot
Presentation IOT Robot
 
Bluetooth Controlled Robot/Car
Bluetooth Controlled Robot/CarBluetooth Controlled Robot/Car
Bluetooth Controlled Robot/Car
 

Viewers also liked

Motion control application for clean room robot
Motion control application for clean room robotMotion control application for clean room robot
Motion control application for clean room robot
Elmo Motion Control
 

Viewers also liked (20)

Android
AndroidAndroid
Android
 
Android basics
Android basicsAndroid basics
Android basics
 
Seminar on mobile application development with android
Seminar on mobile application development with androidSeminar on mobile application development with android
Seminar on mobile application development with android
 
Android programming introduction
Android programming introductionAndroid programming introduction
Android programming introduction
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
 
Getting started with android programming
Getting started with android programmingGetting started with android programming
Getting started with android programming
 
Android development orientation for starters v4 seminar
Android development orientation for starters v4   seminarAndroid development orientation for starters v4   seminar
Android development orientation for starters v4 seminar
 
Intro to Android Programming
Intro to Android ProgrammingIntro to Android Programming
Intro to Android Programming
 
[Android] Introduction to Android Programming
[Android] Introduction to Android Programming[Android] Introduction to Android Programming
[Android] Introduction to Android Programming
 
Introduction to Android programming
Introduction to Android programmingIntroduction to Android programming
Introduction to Android programming
 
Introduction to Android
Introduction to Android Introduction to Android
Introduction to Android
 
Tìm hiểu về bluetooth
Tìm hiểu về bluetoothTìm hiểu về bluetooth
Tìm hiểu về bluetooth
 
Introduction to Android Programming
Introduction to Android ProgrammingIntroduction to Android Programming
Introduction to Android Programming
 
Introduction to Android Development: Before Getting Started
Introduction to Android Development: Before Getting StartedIntroduction to Android Development: Before Getting Started
Introduction to Android Development: Before Getting Started
 
Motion control application for clean room robot
Motion control application for clean room robotMotion control application for clean room robot
Motion control application for clean room robot
 
Android + arduino = love @ Droidcon Bucharest 2012
Android + arduino = love @ Droidcon Bucharest 2012Android + arduino = love @ Droidcon Bucharest 2012
Android + arduino = love @ Droidcon Bucharest 2012
 
Android meets Arduino
Android meets ArduinoAndroid meets Arduino
Android meets Arduino
 
Intoduction to Android Development
Intoduction to Android DevelopmentIntoduction to Android Development
Intoduction to Android Development
 
Advanced Rational Robot A Tribute (http://www.geektester.blogspot.com)
Advanced Rational Robot   A Tribute (http://www.geektester.blogspot.com)Advanced Rational Robot   A Tribute (http://www.geektester.blogspot.com)
Advanced Rational Robot A Tribute (http://www.geektester.blogspot.com)
 

Similar to Android bluetooth robot

Android accessories session 2
Android accessories session 2Android accessories session 2
Android accessories session 2
Sathish Raju
 
Android introduction session 1
Android introduction session 1Android introduction session 1
Android introduction session 1
Sathish Raju
 
Manish Chasta - Securing Android Applications
Manish Chasta - Securing Android ApplicationsManish Chasta - Securing Android Applications
Manish Chasta - Securing Android Applications
Positive Hack Days
 
Android installation guide
Android installation guideAndroid installation guide
Android installation guide
magicshui
 

Similar to Android bluetooth robot (20)

Android accessories session 2
Android accessories session 2Android accessories session 2
Android accessories session 2
 
Android introduction session 1
Android introduction session 1Android introduction session 1
Android introduction session 1
 
Introduction to Android App Development
Introduction to Android App DevelopmentIntroduction to Android App Development
Introduction to Android App Development
 
Aptech Apps
Aptech Apps Aptech Apps
Aptech Apps
 
Getting started with android dev and test perspective
Getting started with android   dev and test perspectiveGetting started with android   dev and test perspective
Getting started with android dev and test perspective
 
Mobile development
Mobile developmentMobile development
Mobile development
 
Android
AndroidAndroid
Android
 
report A K Maurya.pdf
report A K Maurya.pdfreport A K Maurya.pdf
report A K Maurya.pdf
 
Android Intro
Android IntroAndroid Intro
Android Intro
 
IMPLEMENTATION OF SECURE DOOR AUTOMATION SYSTEMS USING INFRARED SENSORS
IMPLEMENTATION OF SECURE DOOR AUTOMATION SYSTEMS USING  INFRARED SENSORS IMPLEMENTATION OF SECURE DOOR AUTOMATION SYSTEMS USING  INFRARED SENSORS
IMPLEMENTATION OF SECURE DOOR AUTOMATION SYSTEMS USING INFRARED SENSORS
 
Mobile development
Mobile developmentMobile development
Mobile development
 
Android tutorial1
Android tutorial1Android tutorial1
Android tutorial1
 
Dload mobile development
Dload mobile developmentDload mobile development
Dload mobile development
 
Manish Chasta - Securing Android Applications
Manish Chasta - Securing Android ApplicationsManish Chasta - Securing Android Applications
Manish Chasta - Securing Android Applications
 
Android installation guide
Android installation guideAndroid installation guide
Android installation guide
 
Android deep dive
Android deep diveAndroid deep dive
Android deep dive
 
My android
My androidMy android
My android
 
My android
My androidMy android
My android
 
Android Things - The IoT platform from Google
Android Things - The IoT platform from GoogleAndroid Things - The IoT platform from Google
Android Things - The IoT platform from Google
 
android level 1
android level 1android level 1
android level 1
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
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
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
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
 

Android bluetooth robot

Editor's Notes

  1. {}