Your SlideShare is downloading. ×
Adobe AIR with Java & Bluetooth
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Adobe AIR with Java & Bluetooth

2,647

Published on

Published in: Technology, Education
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,647
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
17
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Adobe AIR withJava & BluetoothSwiss Flash User Group (SFUG)Zürich | 15. Dezember 2009
  • 2. Hello my name isAndreas A. Lorenzdctrl - interactive media gmbh
  • 3. What to expect today● We (AIR) can do just about anything● Extended capabilities
  • 4. How to connect aperson to thesourrounding space?
  • 5. Use a mobile as abridge between aperson and the spacethat person is in...
  • 6. You are alreadytracable...
  • 7. Extended DesktopInteraction AIR Middle- Hardware & Client ware Executable
  • 8. MerAPI● Bridge between Java and AIR● Light weight and straightforward AS3 API● Local socket communication (AMF serialization)
  • 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. Additional Java lib:freetts.jar● Speech synthesis system written in Java● Developed at Carnegie Mellon University
  • 11. What can i do?● Text to speech● Speech recognition● AIR ←→ Phidgets ←→ RFID● GPS → AIR● AIR ←→ Wii remote
  • 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. ActionPeople Places Room WareAction Action Data
  • 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. Additional lib:bluecove-2.1.0.jar● Java library for Bluetooth● Windows XP, Intel Mac, Linux● Developed by Intel Research
  • 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. Facebook API● Get Developer Key● Fuck F*#! because no/bad examples/docs● Limited calls● Facebook_library_with_AIRConnect_v3.3_flex.swc
  • 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. 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. Some more infosbefore you start...
  • 21. 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/
  • 22. Thanks!al@dctrl.ch, www.dctrl.chwww.slideshare.net/dctrl/adobe-air-with-merapi-java-and-roomware-bluetooth

×