Saturday, December 24, 2011

Jquery Template

http://inparens.tumblr.com/

JS Design Pattern

http://www.klauskomenda.com/code/javascript-programming-patterns
http://gabrieleromanato.com/2011/11/javascript-risorse-sui-design-pattern/
http://ajaxian.com/archives/a-javascript-module-pattern

http://alexsexton.com/?p=51


http://www.scribd.com/doc/16352479/Software-Design-Patterns-Made-Simple

https://github.com/tcorral/Design-Patterns-in-Javascript

http://www.theroadtosiliconvalley.com/technology/javascript-module-pattern/

Tuesday, December 20, 2011

Testing Your Application on a TV

http://www.samsungdforum.com/upload_files/files/guide/data/html/html_2/getting_started/test_app_on_tv.html#TV

Tuesday, December 13, 2011

Samsung Smart TV Spec Sheet


Samsung has put out a spec sheet which outlines all of the technologies around their devices. Very helpful to help a dev to decide on using Adobe Flash, AIR, Javascript, etc. I have attached a screenshot:

Credit: http://www.samsungdforum.com/

Is it possible to use jQuery in Samsung apps?

The short answer to this question is 'yes'. Make sure to include the following script in your library:



source : http://www.connectedtvforum.com/3-2-Is-it-possible-to-use-jQuery-in-Samsung-apps.html

Samsung TV SDK 2.5 – Javascript Error keyCode

Samsung SDK 2.5 editor provides ‘Basic Javascript Project’; however, it contains Reference Error when you launch first time like below:

Error Detail : ReferenceError: keyCode is not defined
It is caused because template code has capitalize error.

Find below code:

Main.MainKeyHandler = function()

{
var KeyCode = event.keyCode;
switch(keyCode)
{
...
}
}
Change to below:

Main.MainKeyHandler = function()
{
var keyCode = event.keyCode;
switch(keyCode)
{
...
}
}

Packaging and Launching Applications

http://www.samsungdforum.com/upload_files/files/guide/data/html/getting_started/packaging_launch_app.html