trishika / DroidUPnP

DroidUPnP is an upnp control point application for android.
GNU General Public License v3.0
150 stars 61 forks source link

Can not detect Light demo of Cling library #44

Closed piavgh closed 9 years ago

piavgh commented 9 years ago

Hi, I'm learning to make Android control point with Cling library and find your interesting project.

Maybe it's trivial, but can you tell me why Droidupnp application can not detect the Light demo app in Cling library (the app with a light bulb)? I think as the workbench, a control point need to detect all UPnP devices in the same local network?

Thank you very much!

mmhobi7 commented 9 years ago

Hmm, can you send me the cling library and point me to where you detect the upnp?

piavgh commented 9 years ago

Thank you for your reply, Aaahh. You can download the lastest distribution of Cling here http://4thline.org/projects/download/. Extract it and then go to "demo" folder inside. You'll find source code and .apk for 2 project demo: "light" and "browser"

"...point me to where you detect the upnp": I don't know what you mean here. I've just install the apk on my phone and test. The "browser" can detect the "light" so I assume that this project DroidUPnP need to detect "light" too, because they're both controlpoint.

mmhobi7 commented 9 years ago

Where is the class that extends AndroidUpnpServiceImpl?

trishika commented 9 years ago

DroidUPnP is dedicated to multimedia content discovery and rendering. That's why it only display service providing the "ContentDirectory" or the "RenderingControl" services. See CallableContentDirectoryFilter.java and CallableRendererFilter.java. The light cling UPnP app only provide an other custom service.