CS378 - Mobile Computing Connecting Devices. How to pass data between devices? – Chat – Games – Driving Options: – Use the cloud and a service such as.

Slides:



Advertisements
Similar presentations
Chat Buddy JPMA F2004 Final Project Participants : Priyadarsini Seetharaman Safuriat O. Johnson Supervisor: Associate Prof. Dr. Jørgen Staunstrup.
Advertisements

Mobile IP Outline Intro to mobile IP Operation Problems with mobility.
Mobile Technology and Software Engineering Travis James, CTO, CloudMetal Software.
CST Computer Networks NAT CST 415 4/10/2017 CST Computer Networks.
Bryan Donyanavard Nik Sumikawa. Project Description Transfer data between two mobile phones via Bluetooth. A unique cell phone movement will establish.
Introduction  What is an Operating System  What Operating Systems Do  How is it filling our life 1-1 Lecture 1.
Using Bluetooth on Android Devices to Implement Real-Time Multiplayer Games Brad Boone, Corey Darr, Chris Hayes, Dale Musser, Ph.D. Introduction With the.
Term 2, 2011 Week 3. CONTENTS Network security Security threats – Accidental threats – Deliberate threats – Power surge Usernames and passwords Firewalls.
Smartphones. Lesson Objectives To understand and demonstrate an understanding of Smartphones.
Mobile Ministry…. Why? 1.Devices 2.Estante 3.Use Cases 4.(Security) Questions.
The Changing Role of Wi-Fi in the Enterprise © 2011 Xirrus, Inc. All Rights Reserved.
CS 153 Design of Operating Systems Spring 2015 Lecture 24: Android OS.
Online Game JAVA for PDA WAP for Mobile Phone. Java for PDA  Hardware limit - Java API Power Memory  JDK 2M byte. Connectivity Display size.
CS378 - Mobile Computing What's Next?. Fragments Added in Android 3.0, a release aimed at tablets A fragment is a portion of the UI in an Activity multiple.
Ann Ware. Cloud computing is Internet-based computing, where shared resources, software and information are provided to computers and other devices on-
UNITRONICS GPRS.
Android in the Cloud Chromebooks, BYOD and Wearables Joel Isaacson Copyright 2014 Joel Isaacson
FILE100% FILE 25%. FILE100% Downloadin g Strategy FILE 40% FILE 10%
McGraw-Hill Education Connect ® First Day of ClassFirst Day of Class Cerritos College ACCT 100.
Computer Science, Software Engineering & Robotics Workshop, FGCU, April 27-28, 2012 Near Field Communication: Experiments with Android Michael Humphries.
Using Intents to Broadcast Events Intents Can be used to broadcast messages anonymously Between components via the sendBroadcast method As a result Broadcast.
NEARBY: HYBRID NETWORK MOBILE APPLICATION Shuai Zhang, Ziwen Zhang, Jikai Yin.
McGraw-Hill Education Connect ® First Day of ClassFirst Day of Class Cerritos College ACCT
Objectives Overview Discuss the purpose of the components required for successful communications and identify various sending and receiving devices Differentiate.
Module 3: Designing IP Addressing. Module Overview Designing an IPv4 Addressing Scheme Designing DHCP Implementation Designing DHCP Configuration Options.
Julien Freudiger, PARC (A Xerox Company)
McGraw-Hill Education Connect ® First Day of ClassFirst Day of Class Cerritos College ACCT 100.
RGEC MEERUT(IWT CS703) 1 Java Networking RGEC Meerut.
General Status  Analyze various options for connecting to the robot  Develop requirements for each connection  Check example projects o Videos with.
Sponsored by the National Science Foundation1 Experiment 1 WiMAX broadcasting WiMA X Communication from the WiMAX interface Devices may experience data.
Near Field Communication Systems Patras, July 2006.
DSM-260. Features Streaming Stream photos and videos from a mobile device, laptop, or network storage drive Stream music to your audio system Stream your.
MARS Creativity. Innovation. Success Team : athewkutty Mathew sish Tom ichard James hijo Shaji M A R S.
WIFI. What is wifi ? Wi-Fi is the name of a popular wireless networking technology that uses radio waves to provide wireless high-speed Internet and network.
Will Worden Jackie Huynh Chris Shrives. What does it do? Use your cell phone as a remote control for a media control center Two sides – Computer Side.
Mobile IP Outline Intro to mobile IP Operation Problems with mobility.
Standards and Protocols Slide show for WiFi Characteristics of a wireless local network. It was named after a group of people who invented. The.
For Wi-Fi The is internationally describing characteristics of a wireless local network. It was named after a group of people who invented.
NETWORKING COMPONENTS Buddy Steele Assignment 3, Part 1 CECS-5460: Summer 2014.
Alex Leifheit NETWORKS. NETWORK A number of interconnected computers, machines, or operations. Key Components Network components, Network Architecture,
Peer to peer networks. Peer to peer is when digital devices communicate wirelessly with each others without the need for a transmitter. Wi-Fi Direct 1-
Don’t Log in!. Recap on the previous units I’ve tried to make it as concise as possible but there is a bit of writing, to ensure that you have some notes.
© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Android Boot Camp.
 There are many android hack tool given on the internet that promises to give you best performance. But unfortunately most of the android hack tool are.
Digital Planet: Tomorrow’s Technology and You Chapter 8 Networking and Digital Communication Copyright © 2012 Pearson Education, Inc. publishing as Prentice.
Wireless Mesh Networking or Peer to Peer Technology Andre Lukito – Johnsonsu – Wednesday, 9.
Nguyen Thi Thanh Nha HMCL by Roelof Kemp, Nicholas Palmer, Thilo Kielmann, and Henri Bal MOBICASE 2010, LNICST 2012 Cuckoo: A Computation Offloading Framework.
A method for using cloud computing for Android By: Collin Molnar.
Mobile IP Aamir Sohail NGN MS(TN) IQRA UNIVERSITY ISLAMABAD.
Assignment 3 Jacob Seiz. Hub A hub provides a central access point for a network. Through multiple I/O ports a hub can connect multiple Ethernet devices.
Fix The Streaming problems with Roku Mobile Application. For more details visit our website
Presenter: Tyler Newsome
NETWORK AND COMMUNICATIONS
McGraw-Hill Connect® First Day of Class Cerritos College ACCT 100.
A SEMINAR ON ROVER TECHNOLOGY
Instructor: Mazhar Hussain
EA C451 Vishal Gupta.
Peer-to-peer networking
Chapter 15: Networking Services Design Optimization
Reactive Android Development
Introduction to Computers
CompTIA IT Fundamentals Study Guide (FC0-U51)
Current and emerging Technologies
Wireless Communication between Android Application and Sensors
Current and emerging Technologies
Network Virtualization
WELCOME TO SEMINAR.
Mobile IP Outline Homework #4 Solutions Intro to mobile IP Operation
Mobile IP Outline Intro to mobile IP Operation Problems with mobility.
Mobile IP Outline Intro to mobile IP Operation Problems with mobility.
Presentation transcript:

CS378 - Mobile Computing Connecting Devices

How to pass data between devices? – Chat – Games – Driving Options: – Use the cloud and a service such as Parse – your own server 2

Connecting Devices For devices that are close options include: – NFC, near field communication (very close) – Bluetooth Other options: – via a network both devices are on – peer to peer wireless connections 3

Network Service Discovery NSD allows users of app to identify other devices on a local network Apps that use NSD broadcast their name and connection information to the local network Scan from other applications doing the same thing [Register] -> Discover -> Connect 4

NSD Basics Step 1 - Register Your Service on the local Network Create a NsdServiceInfo object Provides information to other devices on network – other devices use it to decide if they want to connect to your service or not 5

Create a NsdServiceInfo Object 6

NsdServiceInfo Object Service name is NsdChat name visible to any other devices on network using NSD to look for local services Must be unique or Android steps in and resolves conflict NsdChat, NsdChat(1), NsdChat(2), … 7

Service Type Service type: "_http._tcp." _ _ List of service types used by discovery service protocols (NSD - Android, Bonour - iOs) International Assigned Numbers Authority names-port-numbers.xml names-port-numbers.xml 8

Port int port sent to method that builds NsdServiceInfo object avoid hard coding port number Use next available prot System service exists to get the next available port number 9

NSD Basics Step 2 - Implement the RegistrationListener so Android OS can inform our app of success or failure of service registration and unregistration 10

Implement the RegistrationListener 11

NSD Basics Step 3 - Register the service with NSD 12

NSD Basics Step 4 - Discover Services on Network Application listens to service broadcasts sent via the local network Determine what services available – filter out things app cannot work with Possible you only want to use service from your own app running on another device 13

NSD Service Discovery Set up a discovery listener call discoverServices() method 14

NSD Service Discovery Set up a discovery listener 15

NSD Service Discovery 16 More methods for Service Lost, Discovery Stopped, and failures of discovery

NSD Service Discovery After creating the listener call discoverServices 17

NDS Basics Step 5, After Discovery -> Connect Determine Connection information with call to resolveService() method Another Listener – NsdManager.ResolveListener – NsdManager will call back with an NsdServiceInfo object with connection information – recall, app that registers services created NsdServiceInfo object 18

NSD Connect to Discovered Service 19 NsdManager.ResolveListener to connect

NSD Connect to Discovered Service 20 NsdManager.ResolveListener to connect

NDS Basics Step 6 - Unregister service when application closes 21

Peer to Peer with Wi-Fi Alternative to Cloud and Network Service Discover Not required to connect to network or hotspot Interact with near by devices – range greater than Bluetooth – Code wise, as involved as NSD 22