iam trying to make simple android application, which can discover upnp device, using this sdk. I have included clink library in my project, granted following permissions
Here is main part of program
WifiManager wm = (WifiManager)getSystemService( Context.WIFI_SERVICE );
if(wm != null)
MulticastLock mcLock = wm.createMulticastLock("mylock");
ControlPoint cp = new ControlPoint(1900, 2869);
int i = cp.getDeviceList().size();
but i keep getting this exception Null pointer exception
03-01 12:24:59.590: E/AndroidRuntime(3598): at org.cybergarage.upnp.ssdp.SSDPSearchResponseSocket.start(SSDPSearchResponseSocket.java:87)
Any idea where the problem is? :)
i am running demo application on actual android device (emulator doesnt support multicast)
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.