strongswan/src/frontends/android
Tobias Brunner 5e7a4193e5 android: Clear error only when the user explicitly dismisses the dialog
The previous code worked fine on rotation changes as the fragment is
destroyed and recreated causing onCreate to be called, which restores the
saved error state.  But if the user switches to a different application
and then back this is not the case.  The dialog still gets dismissed (as
we have to do so to avoid nasty exceptions on rotation changes) but since
that implicitly cleared the error state the UI was never fully restored.
2013-07-08 18:49:28 +02:00
..
jni android: Add state of IMC to VpnStateService and update it via JNI 2013-07-08 18:49:28 +02:00
res android: Add support for combined certificate and EAP authentication 2013-03-07 14:14:34 +01:00
src/org/strongswan/android android: Clear error only when the user explicitly dismisses the dialog 2013-07-08 18:49:28 +02:00
.classpath Changed minimal SDK/API level to 14. 2012-08-08 15:09:31 +02:00
.gitignore Added Android shell app created with Android SDK. 2012-08-08 15:09:30 +02:00
AndroidManifest.xml New Android release after adding AES-GCM, IPv6-in-IPv4 and using kernel-netlink 2013-05-03 16:02:39 +02:00
README.ndk Some NDK build info updated. 2012-08-08 15:09:31 +02:00
proguard.cfg Added Android shell app created with Android SDK. 2012-08-08 15:09:30 +02:00
project.properties Changed minimal SDK/API level to 14. 2012-08-08 15:09:31 +02:00

README.ndk

To build this within the NDK several things have to be added in the jni
folder:

 - strongswan: The strongSwan sources.  This can either be an extracted tarball,
   or a symlink to the Git repository.  To build from the repository the sources
   have to be prepared first (see HACKING for a list of required tools):

     ./autogen.sh && ./configure && make && make distclean

 - openssl: The OpenSSL sources.  Since the sources need to be changed to be
   built on Android (and especially in the NDK), we provide a modified mirror
   of the official Android OpenSSL version on git.strongswan.org.

 - vstr: The Vstr string library.  Since cross-compiling this library is not
   that easy with the configure script and Makefiles included in the tarball,
   the easiest way to build it is using either droid-gcc (as described on
   wiki.strongswan.org) or a standalone toolchain built with the NDK.
   The build script provided on the wiki builds the library with droid-gcc
   and copies the required header files to the configured installation
   directory.  Please note that the Android.mk provided on the wiki (vstr.mk)
   does not work in the NDK.  A replacement is already in place in jni/vstr.