[android-developers] Re: ndk-build and stdio problems (Android 2.2.1)
Seems in particular that close(0), close(1), and close(2) cause a process hang when fork() is used. When built with Android code under the external directory, everything works as expected. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] ndk-build and stdio problems (Android 2.2.1)
I am working with some large open source projects and some smaller custom C code. I can successfully compile and link these using the ndk-build API even when linking against shared object files within the Android tree. I get functional shared object files and executables for the Android platform. However, it seems that when the applications are built as stand alone (meaning outside the Android source code tree using only ndk-build) the stdio functions do not operate properly. When the same code is placed under external within the Android source code tree and built with Android, the stdio functions work exactly as expected. I have tried building with ndk r4 and r6, then we tried building with the ndk r4 from within the Android tree. the functions in question are close() - hangs a process when the process is forked fprintf() - nothing gets written fopen() for write - the file does not get created as a new file I have not tested beyond these functions. Any insight would be greatly appreciated. Thanks, Adam -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] VpnServices.apk source and how does it work
Hi all, I have been searching for the source code for VpnServices.apk - trying to understand just how this VPN application is implemented such that root permissions are not required. I think it is part of the core.jar but the only reference I can find to it in the Android tree is core.mk Could someone point me in the right direction and/or explain how the app. gets at the IP packet stream to implement the security please. I am very familiar with Linux kernel implementations and IPsec in general. Thanks, Adam -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Native VPN client
Hi all, Does anyone have any information of the source of the native VPN client in Android 2.2 - what code base is it based on: openvpn, sttrongswan, etc? And specifically what feature set (IKEv2, mode-config, PKCS11, smartcard usage, etc) and algorithms (ECDH, AES-256, Sha-256, etc) are supported by it. There is not a lot of info about it anywhere that I can find and these details are not exposed in the configuration screens. Thanks in adnvace -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en