No results.

Forging Titanium

Forging Titanium is produced by the Appcelerator Developer Relations team (@appcelerator on Twitter). New episodes every Wednesday covering Titanium tips, tricks, best practices, and mashups with other technologies.

Forging Titanium Episode 16: Twisti Part 3 - Sockets

In Part 1 of the Twisti app series we created a native Android module that listened for sensor data. This sensor data was then transformed into 3 values, azimuth, pitch, and roll, which represented the physical orientation of the mobile device. In Part 2 we took that transformed data and used it to represent a mobile device as an animated 3D model with Three.js in a Titanium WebView .

In this third and final episode in the series, we'll create a client/server relationship with Titanium Sockets. We'll create an android device that will act as a sensor proxy, serving its physical orientation to connected clients. Those clients will represent the remote sensor as a 3D model, just as in Part 2.

### Episode Resources:

github.com/appcelerator-developer-relations/Forging-Titanium/tree/master/ep-016/twisti-ep016

github.com/appcelerator-developer-relations/Forging-Titanium/tree/master/ep-014/Twisti

developer.appcelerator.com/blog/2011/11/forging-titanium-episode-14-twisti-part-1-android-module.html

developer.appcelerator.com/blog/2011/11/forging-titanium-episode-15-twisti-part-2-3d-with-threejs.html

developer.appcelerator.com/apidoc/mobile/latest/Titanium.Network.Socket.TCP-object.html

wiki.appcelerator.org/display/guides/Sockets

developer.appcelerator.com/blog/2011/05/titanium-mobile-intro-series-sockets.html

vimeopro.com/appcelerator/building-native-mobile-applications/video/26415168

github.com/mrdoob/three.js