• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Adobe AIR with Java & Bluetooth

Adobe AIR with Java & Bluetooth






Total Views
Views on SlideShare
Embed Views



0 Embeds 0

No embeds



Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

    Adobe AIR with Java & Bluetooth Adobe AIR with Java & Bluetooth Presentation Transcript

    • Adobe AIR withJava & BluetoothSwiss Flash User Group (SFUG)Zürich | 15. Dezember 2009
    • Hello my name isAndreas A. Lorenzdctrl - interactive media gmbh
    • What to expect today● We (AIR) can do just about anything● Extended capabilities
    • How to connect aperson to thesourrounding space?
    • Use a mobile as abridge between aperson and the spacethat person is in...
    • You are alreadytracable...
    • Extended DesktopInteraction AIR Middle- Hardware & Client ware Executable
    • MerAPI● Bridge between Java and AIR● Light weight and straightforward AS3 API● Local socket communication (AMF serialization)
    • SWC & Java libs● merapi-core-flex.swc-● merapi-core.jar● commons-logging.jar● flex-messaging-common.jar● flex-messaging-core.jar● log4j-1.2.15.jar● spring.jar● tools.jar
    • Additional Java lib:freetts.jar● Speech synthesis system written in Java● Developed at Carnegie Mellon University
    • What can i do?● Text to speech● Speech recognition● AIR ←→ Phidgets ←→ RFID● GPS → AIR● AIR ←→ Wii remote
    • RoomWare Server● Interaction with sourroundings● Communications between objects● Connect any device to any other device● Devices can be anything● Messages based● Bi-directional sockets● Event/Request XML actions● Java, Flash, PHP, C#, Python
    • ActionPeople Places Room WareAction Action Data
    • AS & Java libs● nl.socialmonkey.api.roomwareproject-● Communicator_Http-1.0.2.jar● Communicator_Console-1.0.1.jar● Communicator_Post-0.0.1.jar● Module_Bluetooth-1.0.1.jar● Module_Fake-1.0.1.jar● Module_RoomWare-0.0.1.jar● RoomWare_Server-1.0.2.jar
    • Additional lib:bluecove-2.1.0.jar● Java library for Bluetooth● Windows XP, Intel Mac, Linux● Developed by Intel Research
    • What can i do?● Connect with Bluetooth, QR-Code, RFID-Tags● Remote control (Android Phone) → AIR● Location based services (Shop, Offices)● Access to local informations (Museum, Trafic)● Games
    • Facebook API● Get Developer Key● Fuck F*#! because no/bad examples/docs● Limited calls● Facebook_library_with_AIRConnect_v3.3_flex.swc
    • How it works together● Start RoomWare JavaServer → run/bin● Start VoiceRunner.java● Facebook → login● Facebook → getGroupMembers "SFUG"● RoomWare → connect to server port 4040● RoomWare → getDevices● Device name → Query fbGroupMembers● MerAPI → Java Speech● RoomWare → checkRemovals
    • Troubleshooting● Mac OSX 10.6 → Java SE6 32-Bit vs. 64-Bit● Setup Java Project in Eclipse● The right .jar versions● bin/run → chmod 664● roomware.conf
    • Some more infosbefore you start...
    • ResourcesRoomware www.roomwareproject.orgAS3 RoomWare Lib code.google.com/p/ as3roomwareprojectlib/MerAPI www.merapiproject.netFaceBook AS3 API code.google.com/p/facebook- actionscript-api/FreeTTs sourceforge.net/projects/freetts/Eclipse Java Setup blog.everythingflex.com/2009/05/30/ how-to-checkout-merapi-examples/BlueCove code.google.com/p/bluecove/
    • Thanks!al@dctrl.ch, www.dctrl.chwww.slideshare.net/dctrl/adobe-air-with-merapi-java-and-roomware-bluetooth