How to build a tv app

How can I build an app for TV