This is a simple project to control your samsung TV From android
The commands are on top of the main activity and start with CMD_TV_
You can import your own commands and create your own controller for any device from this site http://irdb.tk/ and https://irdb.globalcache.com/Home/Database