12
Connectivity Beyond The Web Friedger Müffke OpenIntents @fmdroid UXperts.mobi 11 June 2012 - Brussels

UXperts 2012: Connectivity Beyond the Web (Android), Friedger Müffke

Embed Size (px)

DESCRIPTION

Overview of current and future ways to establish connection between devices and also between accessories, with code links.Presentation given at UXperts on 11 June 2012 in Leuven, Belgium

Citation preview

Page 1: UXperts 2012: Connectivity Beyond the Web (Android), Friedger Müffke

Connectivity Beyond The Web

Friedger MüffkeOpenIntents

@fmdroidUXperts.mobi11 June 2012 - Brussels

Page 2: UXperts 2012: Connectivity Beyond the Web (Android), Friedger Müffke

Overview

● No server in the cloud

1.Wireless with infrastructure2.Cable3.Wireless without infrastructure

Page 3: UXperts 2012: Connectivity Beyond the Web (Android), Friedger Müffke

RCSe / Joyn● GSM connection + data connection● Enhance phone calls● MWC2012: GSMA announced Joyn● App To App: Vodafone/Jibe Mobile

– Phone number as identifier– https://rcssdk.developer.vodafone.com/android

Page 4: UXperts 2012: Connectivity Beyond the Web (Android), Friedger Müffke

WiFi● Discovery in the network

WifiManager● Socket communication (HTTP, etc.)● Code: github.com/rorist/android-network-discovery

● Examples– AllJoyn (Qualcomm)– AmbientTalk (VUB)– Anymote Library (Google TV)

Page 5: UXperts 2012: Connectivity Beyond the Web (Android), Friedger Müffke

USB Client / ADK● Open Android Accessory Protocol● Device is USB client

– Receives power from accessory– Driver burden with accessory

● UsbManager, UsbAccessory ● Communication via file transfer● Many dev boards available (Arduino, ST)

Page 6: UXperts 2012: Connectivity Beyond the Web (Android), Friedger Müffke

USB Host● Requires drivers

– Soft driver http://android.serverbox.ch/?p=549

● Device provides power● USB OTG● API 12 (3.1)● Communication

via UsbDeviceConnection

Page 7: UXperts 2012: Connectivity Beyond the Web (Android), Friedger Müffke

Audio Jack● Credit Card Reader● HiJack sensors set● Pressure Pen (Kickstarter)● AudioTrack:streaming generated sound

– github.com Android-Audio-Jack-Communication

● MediaRecorder:recording– code.google.com NoiseAlert

● FFT or FSK for modulation, demodulation

Page 8: UXperts 2012: Connectivity Beyond the Web (Android), Friedger Müffke

Wireless TechnologiesSetup Time

Range Power Consumption

Data Rate

PMR 446 / PTT(446 MHz)

> 500m 500mW analog /3.6kps

Bluetooth(2.4 GHz)

< 6 s 100m <40mA 2-3Mbps

ANT+ (Garmin)(2.4 GHz)

100m 15mA 1Mbps

Bluetooth 4.0(2.4 GHz)

< 0.006s 100m <15mA 1Mbps

WiFi Direct(2.4 GHz)

250m 100mA 150Mbps

NFC (13,56 MHz)

<0,1s <0.2m <15mA 424kbps

Page 9: UXperts 2012: Connectivity Beyond the Web (Android), Friedger Müffke

Bluetooth LE● Standard connection BluetoothAdapter ● Examples: heart rate, proximity tag (e.g. tōd)● No API yet available for Android

– Nordic/Broadcom API● http://code.google.com/p/broadcom-ble/● BleClientService

– Motorola: Heart rate API● FindMe, Proximity profiles● Devices: iPhone 4S, Motorola Razr

Page 10: UXperts 2012: Connectivity Beyond the Web (Android), Friedger Müffke

WiFi Direct● API level 14● WifiP2pManager● Group of devices● Can connect to legacy devices● WiFi Display – still to come

Page 11: UXperts 2012: Connectivity Beyond the Web (Android), Friedger Müffke

NFC Push● API read, write, push since Android 2.3

– Use case: Settings (NFC Profile App)● NFC Beam since Android 4.0● Filtering through mime-types● NfcAdapter● Use cases: Payment, sharing

Page 12: UXperts 2012: Connectivity Beyond the Web (Android), Friedger Müffke

Questions

+Friedger Müffke@fmdroid

gplus.to/friedger

OpenIntents