views:

17

answers:

0

Hello

I have a native code that has UPnP API. Its a tested code that is working fine with the Android UI that came with the code. I have created another UI and I am trying to bring up the UPnP by calling Native UPnP API using JNI to interface my UI with the native code. The device is getting detected in the UPnP network as a UPnP enabled device but with error (the reason of which I am not able to find)

                In the beginning UPnP calls in the native were completely failing, I later found out that it was because

I had not given android.permission.INTERNET in tag in the manifest file and socket creation calls in the native code failing. Now that is fixed.

               Are there any other permissions that I am overlooking or something I am not aware of that is causing UPnP not to come up properly?  I suspect the problem lies with UI and JNI part because the native library code is working fine with the UI(very primitive)  that came along with it.

Kindly help

Sanjeev