SocketIO and IOS

Today I created an IOS app and web app that would allow a host to change client’s background color. A Demo video is here:

That’s the first IOS app I did with Swift. Client app (both native and web) used websocket to connect to the socketIO server. The Host app was a list of button with Colors, and whenever the button was clicked, the client app would receive an event and updated the background color of the client app.

Post to Twitter Post to Plurk Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Ping.fm Post to Reddit Post to StumbleUpon

Read More

Arduino realtime data with d3js, nodejs, socketio

Last week I created a client app with Angular Framework that will receive data from a Node server with SocketIO.

Gauge was created with Angular directive and d3js.  Main Controller will update the gauge with a SocketIO event.  One is for light sensor, and the other one is for temperature sensor.  Both sensors are connected to Arduino, and data will send to Node server through serial port.

LineChart was also a real time chart, but it was not perfect yet.  Seem SVG won’t redraw when the page is not in focus(on other tab), but it would redraw right away when the page was back in focus…Would have to look where to update the chart when new data come in.

More detail will be post later on http://sunnycyk.com

Post to Twitter Post to Plurk Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to MySpace Post to Ping.fm Post to Reddit Post to StumbleUpon

Read More