Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8553063
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T14:33:51+00:00 2026-06-11T14:33:51+00:00

I am using cling UPnP framework in android to connect to UPnP enabled device.

  • 0

I am using cling UPnP framework in android to connect to UPnP enabled device. I am successful in creating a device and browsing for available devices in the network. But for the samsung TV in the network the framework in not returning any actions.
Here I am adding the service detail for the RenderingControl

<service>
<serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>
<serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>
<controlURL>/upnp/control/RenderingControl1</controlURL>
<eventSubURL>/upnp/event/RenderingControl1</eventSubURL>
<SCPDURL>RenderingControl1.xml</SCPDURL>
</service>

This is the url for fetching the service descriptor xml file

> http://<ip address>:52235/dmr/SamsungMRDesc.xml

But the SCPDURL is relative and I am wondering whether the cling framework is searching for

http://<ip address>:52235/RenderingControl1.xml

instead of

http://<ip address>:52235/dmr/RenderingControl1.xml

Is it the reason for no actions being displayed for the services in cling UPnP or am I doing something really stupid?

How can I properly do this with cling UPnP?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T14:33:52+00:00Added an answer on June 11, 2026 at 2:33 pm

    Just a clarification beforehand: the URL *SamsungMRDesc.xml is a device descriptor, not a service descriptor as you’ve written, right?

    The <SCPDURL> per UPnP spec is “relative to the URL at which the device description is located”. So yes, the correct absolute SCPDURL is the second one. But i would be highly surprised if there was really such severe bug in Cling. So to offer some theories:

    1. What do you mean by “no actions being displayed in Cling UPnP” ? Is that some existing example app or your code? Cling itself does not provide any GUI. Might there be a bug in that code?
    2. Are you absolutely sure about the device descriptor URL (SamsungMRDesc)? Is it reachable manually, i.e. by simply copy&pasting the URL into web browser?
    3. What you see if you copy&paste the SCPDURL into web browser? Are there some <action> nodes under <actionList>?
    4. Have you tried to query your Samsung TV with DeviceSpy from Intel Developer Tools ? You can see what an other UPnP stack sees, besides Cling. Furthermore, you can right-click on a Device node as well as Service node and see where DeviceSpy looks for the descriptions.
    5. As a last instance, you can sniff what’s being sent back and forth with Wireshark. Start with setting Wireshark IP filter to the address of your Samsung TV.

    Theories 4 and 5 obviously require a PC connected to the same network as the TV (and your Android).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using a CSS image sprite, I'm creating an 'interactive' image where hovering over certain
I am trying to write a DLNA application using the Cling Java library. I
I am trying to compile the following code using clang but got the following
I'm using lpBaseAddress : IntPtr but ... I need to enter hex value :-/
If you are using closed repository, but your application uses some dependencies from external(maven
I'm working on an android UPnP/DLNA app. I have a control point working where
I'm using clang, llvm to compile MySQL and do some analysis. But the link
I'm using LLVM-clang on Linux. Suppose in foo.cpp I have: struct Foo { int
OK, so first some things that might be relevant: I'm using the Clang 3.1
Using SQL Server 2000 My Query. SELECT (Format(IIf(CLng(OutTime) > 180000, CDate('18:00:00'), CDate(Format(OutTime, '00:00:00'))) -

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.