Adobe AIR with
Java & Bluetooth
Swiss Flash User Group (SFUG)



Zürich | 15. Dezember 2009
Hello my name is
Andreas A. Lorenz



dctrl - interactive media gmbh
What to expect today
● We (AIR) can do just about anything
● Extended capabilities
How to connect a
person to the
sourrounding space?
Use a mobile as a
bridge between a
person and the space
that person is in...
You are already
tracable...
Extended Desktop
Interaction

  AIR     Middle-   Hardware &
 Client    ware     Executable
MerAPI
● Bridge between Java and AIR
● Light weight and straightforward AS3 API
● Local socket communication (AMF serializ...
SWC & Java libs
● merapi-core-flex.swc
-
● merapi-core.jar
● commons-logging.jar
● flex-messaging-common.jar
● flex-messag...
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...
Action



People            Places




         Room
         Ware



Action            Action



         Data
AS & Java libs
● nl.socialmonkey.api.roomwareproject
-
● Communicator_Http-1.0.2.jar
● Communicator_Console-1.0.1.jar
● Co...
Additional lib:
bluecove-2.1.0.jar
● Java library for Bluetooth
● Windows XP, Intel Mac, Linux
● Developed by Intel Resear...
What can i do?
● Connect with Bluetooth, QR-Code, RFID-Tags
● Remote control (Android Phone) → AIR
● Location based servic...
Facebook API
● Get Developer Key
● Fuck F*#! because no/bad examples/doc's
● Limited call's
● Facebook_library_with_AIRCon...
How it works together
● Start RoomWare JavaServer → run/bin
● Start VoiceRunner.java
● Facebook → login
● Facebook → getGr...
Troubleshooting
● Mac OSX 10.6 → Java SE6 32-Bit vs. 64-Bit
● Setup Java Project in Eclipse
● The right .jar versions
● bi...
Some more infos
before you start...
Resources
Roomware             www.roomwareproject.org
AS3 RoomWare Lib     code.google.com/p/
                     as3roo...
Thanks!
al@dctrl.ch, www.dctrl.ch



www.slideshare.net/dctrl/adobe-air-with-merapi-java-and-roomware-bluetooth
Upcoming SlideShare
Loading in …5
×

Adobe AIR with Merapi Java and RoomWare Bluetooth

4,708 views

Published on

Published in: Technology, News & Politics
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,708
On SlideShare
0
From Embeds
0
Number of Embeds
291
Actions
Shares
0
Downloads
59
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Adobe AIR with Merapi Java and RoomWare Bluetooth

  1. 1. Adobe AIR with Java & Bluetooth Swiss Flash User Group (SFUG) Zürich | 15. Dezember 2009
  2. 2. Hello my name is Andreas A. Lorenz dctrl - interactive media gmbh
  3. 3. What to expect today ● We (AIR) can do just about anything ● Extended capabilities
  4. 4. How to connect a person to the sourrounding space?
  5. 5. Use a mobile as a bridge between a person and the space that person is in...
  6. 6. You are already tracable...
  7. 7. Extended Desktop Interaction AIR Middle- Hardware & Client ware Executable
  8. 8. MerAPI ● Bridge between Java and AIR ● Light weight and straightforward AS3 API ● Local socket communication (AMF serialization)
  9. 9. 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
  10. 10. Additional Java lib: freetts.jar ● Speech synthesis system written in Java ● Developed at Carnegie Mellon University
  11. 11. What can i do? ● Text to speech ● Speech recognition ● AIR ←→ Phidgets ←→ RFID ● GPS → AIR ● AIR ←→ Wii remote
  12. 12. 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
  13. 13. Action People Places Room Ware Action Action Data
  14. 14. 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
  15. 15. Additional lib: bluecove-2.1.0.jar ● Java library for Bluetooth ● Windows XP, Intel Mac, Linux ● Developed by Intel Research
  16. 16. 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
  17. 17. Facebook API ● Get Developer Key ● Fuck F*#! because no/bad examples/doc's ● Limited call's ● Facebook_library_with_AIRConnect_v3.3_flex.swc
  18. 18. 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
  19. 19. 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
  20. 20. Some more infos before you start...
  21. 21. Resources Roomware www.roomwareproject.org AS3 RoomWare Lib code.google.com/p/ as3roomwareprojectlib/ MerAPI www.merapiproject.net FaceBook 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/
  22. 22. Thanks! al@dctrl.ch, www.dctrl.ch www.slideshare.net/dctrl/adobe-air-with-merapi-java-and-roomware-bluetooth

×