open socket failed: Permission denied when application to run a native C function.

by Terence » Thu, 14 May 2009 01:25:03 GMT

Sponsored Links

I port a tool in native C and builed a executable file or a library,
and the executable can work successfully in console (Alt + F1).

Then I creat a SimpleJNI to run the executable or library,
when I click the SimpleJNI icon, it will occure a error message:
:socket err=Permission denied

Is the user not a root such that can not open socket in native C
(Permission denied),
Is there any way to solve this problem ?



Other Threads

1. Restore aplikasi di SD card

Malem all....

Mau nanya nih, saya kan restore factory jadi ilang2 semua aplikasinya...
kebetulan saya udah backup menggunakan Astro.

Mau tau langkah2 restorenya gimana yaa ?

Nubie abis......

Arya Ikadharmawan
sent from MuscleDroid

"Indonesian Android Community [id-android]" 

2. How to get MediaPlayer current volume

Hi All,

I am developing an application of music player in android.

I need to show volume control in my application.

I saw as per documentation,Media Player volume is 0-1.

I saw one method as
leftVolume, float rightVolume)  to set the volume for mediaplayer.

But I need to show current volume also in slider,,,there is no method to get
current volume.

Any idea how to get it???



3. Custom Dialog

4. Paging tattoo user

5. Windows Phone and XNA. Nightmare is real. What we do with that ?

6. virtual keyboard input focus with webviews

7. Fwd: WTA: Nexus One