Android Upnp MediaController

2.3k views Asked by At

i have a upnp-media server in my tablet, and i want to control my tv(samsung) with my tablet. I have done the media server, and i can see the audio,video and images file in my tv but I cant control it with the tablet, only with the remotee control of the tv. I want to control it also with the tablet. Any of you have any example or any tutorial to show me how to send service to tv, or how can i control the tv with the tablet. Thank you I am programming in java on android platform.

3

There are 3 answers

0
simonc On

Your tv obviously functions as a UPnP control point if it can discover and manipulate media servers. You'll need to check whether it also acts as a UPnP device if you want to send it commands from your tablet.

The easiest way to do this is to see what devices you have on your network. You may be able to do this from your tablet using an existing app. Or you could do it from Windows using Intel Device Spy.

If your tv appears, the services available to control it will be displayed and will probably be documented at the UPnP forum. If your tv doesn't appear in the list of devices, you won't be able to control it from a UPnP control point.

1
Jaromil On

(DISCLAIMER: I'm personally involved in developing the free and open source code linked below)

This C code cross-compiles for ARM and Mips targets http://syncstarter.org/avremote

git clone git://code.dyne.org/avremote.git

it can detect and send AVTransport messages to devices on the local network, things like play, stop, pause and seek, from a commandline terminal. Could be a start, still lacks an interface.

I wrote it to control video devices from console terminals and scripts.

0
manjusg On

I have not tried for samusung TV . But media Rendererslike TV do support AVTransport service and You can follow this guide of Cling to implement the controller. You can also see Rendering control service to update volume, brightness etc.