Question: Is there an easy howto on writing C++ app for Samsung Smart TV that should be able to run in background (so not an HTML/JS applet) and access /dev/ttyUSBx device plugged in the TV?

Do they have some API to access /dev/ttyUSBx or it will be a simple Linux app? Do they allow to load such apps? Is there a toolchain to compile such apps?

Answer: 
At least according to Samsung, "No."

> 
> 
> > 
> > 
> > > 
> > > Q: Do you support C++ in the SDK?
> > > 
> > > 
> > > A: No, Samsung platform only supports web technologies based apps (JS, CSS, HTML, FLASH)
> > > 
> > > 
> > > 
> > 
> > 
> > 
> 
> 
> 

<http://www.samsungdforum.com/Support/FAQList?page=1&faqCateID=2>
For Samsung SmartTVs you cannot use C++, the only allowed language/technology is HTML/JavaScript/CSS and Flash (not used much).

Majority of the applications are JavaScript based.

Might be you can have some exclusive agreement with the Samsung, since e.g. Skype is most probably not developed in JavaScript and the AngryBirds I heard are C++ as well.

BR

STeN