Xamarin.Android + Arduino : Hacking Robots

Post on 06-May-2015

933 views 6 download

description

Xamarin.Android + Arduino : Hacking Robot

transcript

Xamarin.Android + Arduino : Hacking Robots

Alejandro Ruiz

elgoberlivel@gmail.com

http://alejandroruizvarela.blogspot.mx

@alejandroruizvaLagos de Moreno Mobile .NET Developers Group

Xamurais

Comunicacion Bluetooth

Componentes necesarios

Arduino(UNO, Nano, Mega, etc)

Modulo Bluetooth(HC-05, HC-06)

Dispositivo Android con Bluetooth integrado

Permisos Necesarios

android.permission.BLUETOOTH

android.permission.BLUETOOTH_ADMIN

UI

DEMO

ComunicacionCable OTG

Componentes necesarios

Arduino(UNO, Nano, Mega, etc)

Dispositivo Android con Soporte OTG (Android 3.1+)

Binding de la Libreria usb-serial-for-Android by mik3y (

Descargar jar)(Descargar dll)

device_filter.xml (Descargar)

Permisos Necesarios

<uses-feature android:name="android.hardware.usb.host" />

Intent filter

“android.hardware.usb.action.USB_DEVICE_ATTACHED”.

Metadata

“android.hardware.usb.action.USB_DEVICE_ATTACHED“

recurso “@xml/device_filter”

UI

DEMO

www.xamarin.com/evolve

Xamarin Developer CertificationsXamarin skills are increasingly in demand –

certifications let the market know you represent top talent

www.xamarin.com/university

Gracias