Skip to content
Snippets Groups Projects
Commit 21fcc8ef authored by Martin Strbacka's avatar Martin Strbacka
Browse files

New version.

parent 97ddedcf
No related merge requests found
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="cz.nic.datovka" package="cz.nic.datovka"
android:versionCode="13" android:versionCode="14"
android:versionName="1.1" > android:versionName="1.1" >
<uses-permission android:name="android.permission.INTERNET" > <uses-permission android:name="android.permission.INTERNET" >
......
No preview for this file type
No preview for this file type
...@@ -43,8 +43,8 @@ public class MyAndroidTrustManager implements X509TrustManager { ...@@ -43,8 +43,8 @@ public class MyAndroidTrustManager implements X509TrustManager {
public void checkServerTrusted(X509Certificate[] certs, String authType) throws CertificateException { public void checkServerTrusted(X509Certificate[] certs, String authType) throws CertificateException {
// Debug Code for saving certificates, used when www.mojedatovaschranka.cz changes certificates // Debug Code for saving certificates, used when www.mojedatovaschranka.cz changes certificates
/*
/*
try{ try{
KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType()); KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType());
ks.load(null, null); ks.load(null, null);
...@@ -70,8 +70,8 @@ public class MyAndroidTrustManager implements X509TrustManager { ...@@ -70,8 +70,8 @@ public class MyAndroidTrustManager implements X509TrustManager {
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
} }
*/
*/
//show me better solution how to trust someone on non-rooted android phone and i buy you a beer. //show me better solution how to trust someone on non-rooted android phone and i buy you a beer.
int numberOfHits = 0; int numberOfHits = 0;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment