I want to write an Android app which controls my Samsung TV via the wifi network. This is possible because there are apps out there that do it (including Samsung's own remote app).
Is there a Samsung API available to do this? How does the app talk to the TV?