Exploring the Ketai library for faster development of Android Features                               Sriram Narasimhan    ...
Agenda• Introduction to Processing• 2D programming using Processing• OOP using Processing• Ketai library• KetaiGesture• Ke...
Processing• Open source programming language &  environment  •   http://www.processing.org/reference/• Create images, anim...
2D Programming in Processing• text, println, image• Background, Stroke• ellipse(50, 50, 80, 60);• Mouse location, actions ...
OOP Using Processing• Multiple files in a project• Classes & Objects• Processing keywords in classes and methods• Demo on ...
Ketai Library• OpenSource by ‘Daniel Sauter’• ‘Cell phone culture’ in Japanese• Installed through Processing IDE• Hardware...
KetaiGesture• KetaiGesture class• Callbacks  •   tap,  •   Double Tap  •   Long press  •   Flick  •   Pinch• surfaceTouchE...
KetaiLocation• KetaiLocation class• Processing permissions• Basic location attributes• Distance between 2 locations• Demo
KetaiCamera• KetaiCamera class• Capturing using camera• Storing to device• KetaiFaceDetector• Demo
Networking devices via Wifi• oscP5 data protocol• Connecting mouse on laptop & accelerometer on  android device• KetaiOSCM...
References• http://processing.org/learning/• http://wiki.processing.org/w/Android• http://code.google.com/p/ketai/•   http...
Thanks             Next Steps For Me …• Apps on PlayStore using Processing & Ketai• Contribute to Ketai
Upcoming SlideShare
Loading in …5
×

Exploring Ketai Library, Droidcon

1,894
-1

Published on

Exploring Ketai Library, Droidcon

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

  • Be the first to like this

No Downloads
Views
Total Views
1,894
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
13
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Exploring Ketai Library, Droidcon

  1. 1. Exploring the Ketai library for faster development of Android Features Sriram Narasimhan ThoughtWorks
  2. 2. Agenda• Introduction to Processing• 2D programming using Processing• OOP using Processing• Ketai library• KetaiGesture• KetaiLocation• KetaiCamera• Wifi networking
  3. 3. Processing• Open source programming language & environment • http://www.processing.org/reference/• Create images, animations, interactions• Installation• IDE Modes – android, java (standard) , JavaScript
  4. 4. 2D Programming in Processing• text, println, image• Background, Stroke• ellipse(50, 50, 80, 60);• Mouse location, actions & more 2D
  5. 5. OOP Using Processing• Multiple files in a project• Classes & Objects• Processing keywords in classes and methods• Demo on Processing
  6. 6. Ketai Library• OpenSource by ‘Daniel Sauter’• ‘Cell phone culture’ in Japanese• Installed through Processing IDE• Hardware devices and sensors built into Android• Supports easy development for • Cameras, Sensors, Location • Multi-touch gestures, • Peer-to-peer n/w via Bluetooth and WiFi Direct, NFC • SQLite for local databases.
  7. 7. KetaiGesture• KetaiGesture class• Callbacks • tap, • Double Tap • Long press • Flick • Pinch• surfaceTouchEvent• Demo
  8. 8. KetaiLocation• KetaiLocation class• Processing permissions• Basic location attributes• Distance between 2 locations• Demo
  9. 9. KetaiCamera• KetaiCamera class• Capturing using camera• Storing to device• KetaiFaceDetector• Demo
  10. 10. Networking devices via Wifi• oscP5 data protocol• Connecting mouse on laptop & accelerometer on android device• KetaiOSCMessage• Demo
  11. 11. References• http://processing.org/learning/• http://wiki.processing.org/w/Android• http://code.google.com/p/ketai/• http://pragprog.com/book/dsproc/rapid-android-development
  12. 12. Thanks Next Steps For Me …• Apps on PlayStore using Processing & Ketai• Contribute to Ketai
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×