I Made Krisna's Times My Way to Write the Times

12May/120

Using Volume OSD to Control Audio in Samsung Smart TV Apps

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 

25Apr/120

Hiding Mouse Cursor in Samsung Smart TV 2012

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
5Feb/120

Samsung Smart TV Apps – Hello World

Samsung Smart TV SDK Splash ScreenFirst post of Samsung Smart TV SDK 3.0.0 and definitely it's a Hello World application :D

If you're doesn't have a Samsung Smart TV SDK just go to www.samsungdforum.com and register there, it's totally free and you can download the SDK in "DEV TOOLS" menu. Installing the SDK is little bit something in Windows 64-bit, some people in forum said that they are facing problems when installing it but my installation in Windows 7 Home Premium 64-bit is done very well.

21Jan/111

Fixing NetBeans 6.9 else Indentation

It's annoying when IDE didn't make coding process easier. For this case is NetBeans 6.9, this netbeans version annoy me when i type "else" word. After typing "else", the word become at the most left of the editor (without indentation) like code below. What's wrong, NetBeans 6.8 still okay with this case.

public class Class {

    public void method()
    {

        if (foo)
        {
            doSomething();
        }
 else
        {
            doSomethingElse();
        }
    }

}

27May/100

CodeIgniter Code Completion NetBeans IDE

Sorry, but this post no longer works because of the references sites has been closed

CodeIgniter

CodeIgniter, this is one of PHP Framework that can make our job to do PHP Programming easier. You can get that CodeIgniter framework here [Download CodeIgniter]. At this written, the latest version of CodeIgniter was 1.7.2

The problem is if we're using CodeIgniter or other PHP Framework, the IDE like Dreamweaver or NetBeans cannot use their main features, Code Completion. What is Code Completion? That's the feature which can help us to show the functions or variable that can be used. Example if we just use native PHP on Dreamweaver, we just write "mysql_" then there's must be shown the functions which use "mysql_" prefix.

Thanks to Rakibul Hasan, my references of this post. We now can solve the problems, we can use code completion for CodeIgniter on NetBeans. How?

  1. Download the CodeIgniter PHP Framework
  2. Extract it on your Webserver so that you can run it a http://localhost/YOUR_CI
  3. Open your CodeIgniter project with NetBeans
    1. Click File >> New Project >> Choose PHP >> PHP Application with Existing Source
    2. Choose your CodeIgniter folder, example [C:\xampp\htdocs\ci] >> Next
    3. Choose your server type, leave it if you work locally
    4. Finish
  4. Check your CodeIgniter folder example [C:\xampp\htdocs\ci], there must be 'nbproject' folder
  5. Download the files from here [CodeIgniter Code Completion for Netbeans]
  6. Extract the .zip files anywhere
  7. Copy that files to 'nbproject'
  8. Close your NetBeans and Open it again... Finish, check it out!

On my experience, that code completion only works at Controllers and Models, not working at Views. For more information and question you can go to my references site.

Source and References :

  1. http://rhasan.com/blog/2009/09/codeigniter-auto-complete-with-netbeans/
  2. CodeIgniter.com