Exploring the Ketai library for faster development of Android Features Sriram Narasimhan ThoughtWorks
Agenda• Introduction to Processing• 2D programming using Processing• OOP using Processing• Ketai library• KetaiGesture• KetaiLocation• KetaiCamera• Wifi networking
2D Programming in Processing• text, println, image• Background, Stroke• ellipse(50, 50, 80, 60);• Mouse location, actions & more 2D
OOP Using Processing• Multiple files in a project• Classes & Objects• Processing keywords in classes and methods• Demo on Processing
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.
KetaiGesture• KetaiGesture class• Callbacks • tap, • Double Tap • Long press • Flick • Pinch• surfaceTouchEvent• Demo