> 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 ?

Android SDK applications cannot use native C or JNI.

Questions regarding developing Android firmware, which can use both, are
best asked on a discussion list dedicated to Android firmware:

http://source.android.com/discuss

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to