android: Use Storage Access Framework to import certificates
authorTobias Brunner <tobias@strongswan.org>
Sat, 31 May 2014 14:49:01 +0000 (16:49 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 22 Jul 2014 08:41:51 +0000 (10:41 +0200)
commit1ed922c9189bc6487105f5ece750d3c1fc8bc866
treeb015e52b8472fc4ff03bcf1031d19ba53a8f7c19
parent94cc8f6a720ed034f6c6561a03c20257df3b2260
android: Use Storage Access Framework to import certificates

Thanks to the SAF, introduced with Android 4.4, browsing and opening
files on the system is very easy to implement.

On older systems the menu option is removed.
src/frontends/android/res/menu/certificates.xml
src/frontends/android/src/org/strongswan/android/ui/TrustedCertificateImportActivity.java
src/frontends/android/src/org/strongswan/android/ui/TrustedCertificatesActivity.java