Programming

Integrating GCC MinGW with Eclipse IDE

Recently, i need to work with C/C++ projects which i’ve never done it before in my job. I was working with HTML5/Javascript using Eclipse as it’s the Smart TV main IDE. I always know that Eclipse is a good guy and it should be able to do C/C++ development since i’ve seen C/C++ developer edition in download page, now the challenge is how to make my current eclipse (Smart TV IDE) able to compile and run the C/C++ codes.

Read More →

If-Else vs If-If vs Switch Javascript Performance

View complete post of If-Else vs If-If vs Switch Javascript Performance

There are three major conditional syntax that used widely in almost all programming language: If, If-else, Switch. Now then which type of conditional is going to give fastest execution time so our software may perform better even it’s just micro optimization.

Of course many of us will said that there is no chance that “if if” or “multiple if” is going to be fastest type. So which is fastest? Switch or If Else…

Read More →

Samsung Smart TV Application: Playing 3D Media

3D Media become well-known feature on the latest TV products. It will give unique user experience for the users to show lively images right in front of their eyes. Samsung Smart TV bring possibilities to developers to create an application with 3D Media Playback feature. The requirements is just right 3D media format and Samsung Smart TV SDK and of course the real Smart TV device to try the result.

The common format of 3D media is side-by-side images or videos. It looks like the photo below…

Images from hdtvexpert.com

Read More →

Samsung Smart TV Application: Using TV Volume OSD

Certifying applications is the most annoying stage in Samsung Smart TV Application Development, the Quality Assurance of Samsung rather strict with the application quality for their products. Some of cases are volume policy problem: volume up, volume down, mute, unmute, synchronized mute state with TV signal and more. And after several development of apps, i think let the TV itself control it and visualize the value using volume OSD is the best way to avoid the problems.

Now, let’s take a look how to let the TV control the audio and using TV’s Volume OSD to visualize the values  Read More →

Samsung Smart TV Application: Hiding Mouse Cursor

Back to blogging again after several months get busy with work stuff…

Since working in Samsung Smart TV Application part, i have no time to explore any other interesting topics beside of Samsung Smart TV itself. But i think it’s still quite interesting to explore since they got the latest technology and features in their TVs. The 2012 Samsung Smart TV Series now give a gesture recognition feature which enabling our hand to be a mouse like in the PCs so this post will be how to hide the mouse cursor image, sometimes we need to hide this thing to give more stunning effects to the UI.

What we must know before and that’s the basic of the hiding cursor:

  • Samsung Smart TV 2012 Series Widget/Application Engine is using Webkit
  • The cursor image can be customized using CSS
  • Don’t forget to give “, default” in the cursor CSS
  • The image must be sized in 32 x 32 pixels
  • It cannot be completely transparent
  • Suggested to use PNG format

Read More →