Thursday, February 23, 2012

Android Persistent Home App Sample

This is an Andorid sample application which persist on the home page.

Home, Back, Call, Power button are disabled.
It is a part of a presentation tablet.
User can exit the application only by typing a password.
The user must select the default home manager when it finish this application.


  • read risk disclaimer
  • excuse my bad english

Tuesday, February 21, 2012

DIY SteadiCam Model 1.0

An experimental DIY steadicam project model 1.0

The gimbal is build using 2 iron made L, soldered to 3pcs of rc ball bearings 8x16x5mm, using tin.

The bar is a threader 8mm bar.

The weightbar at the bottom is drilled to allow better weight placement.

The camera mount is made using with two pieces of wood and three iron bar.

  • read risk disclaimer
  • excuse my bad english

Wednesday, February 15, 2012

Android Drag & Drop Menu Sample

This project is an example I've built to explore custom View in Android.

The menu class extends View class and override the onDraw method to draw the canvas of the pointer, the menu background and the menu items.
The pointer, and the items are also class.
The onTouchEvent method controls the display touch interaction, setting the X/Y value of each element drawn in the onDraw function.


  • read risk disclaimer
  • excuse my bad english

Monday, February 6, 2012

OpenFrameworks Particle Test 1

A particles test using OpenFrameworks.

Built on Win7, codeblocks and OpenFrameworks 007.
This is also a test to learn how to capture an openframeworks video on windows.
I've used CamStudio and made the main openframeworks window borderless, using the code below:

bool showWindowBorder = false;
if (!showWindowBorder) {
  HWND m_hWnd = WindowFromDC(wglGetCurrentDC());
  LONG style = ::GetWindowLong(m_hWnd, GWL_STYLE);
  style &= ~WS_DLGFRAME;
  style &= ~WS_CAPTION;
  style &= ~WS_BORDER;
  style &= WS_POPUP;
  LONG exstyle = ::GetWindowLong(m_hWnd, GWL_EXSTYLE);
  exstyle &= ~WS_EX_DLGMODALFRAME;
  ::SetWindowLong(m_hWnd, GWL_STYLE, style);
  ::SetWindowLong(m_hWnd, GWL_EXSTYLE, exstyle);
  SetWindowPos(m_hWnd, HWND_TOPMOST, 0,0,0,0, SWP_NOSIZE|SWP_NOMOVE);


  • read risk disclaimer
  • sorry for my poor english