Search code examples
mobileairbluetootharduinoxbee

Connecting an Adobe AIR mobile app to Arduino wirelessly - what are the options?


Is there a way to connect an Adobe AIR mobile app to an Arduino hardware wirelessly with no pc or router? either with bluetooth or directly to an Xbee piece connected to the Arduino?

I need both iOS and android solutions

thanx


Solution

  • You could use the Native Extensions for Adobe AIR (ANE) for iOS and Android, although it means you might have to do a bit of C coding (or at least have basic understanding of the C programming language). A couple of projects have been created for either Bluetooth or Arduino connection using ANE already.

    There is an ANE based project called as3-arduino-connector on Google Code, which gives you an ActionScript 3 API and mimics the Arduino serial port.

    Another useful project might be AirNativeiOS-Bluetooth, an AIR Native Extension to add Bluetooth support for iOS apps. A corresponding project for Android is Bluetooth ANE, although the website mentions that it's early beta only, not ready for production.