java – How to disable SSLv3 in android for HttpsUrlConnection?-ThrowExceptions

Exception or error: We wrote client application in android which connects with https servers using HttpsUrlConnection apis. Due to Poodle vulnerability, we need to disable SSLv3 from the list of enabled protocols while invoking any request. We followed the guidelines captured by oracle and added following line before invoking url connection java.lang.System.setProperty(“https.protocols”, “TLSv1”); This solution …

SSL session not being reused in Android WebView-ThrowExceptions

Exception or error: I have been trying out SSL session reuse on Android webview. We noticed that the ssl session is being re-used if the consecutive requests happen within ~5 seconds. In the server(nginx) we have set the ssl_session_timeout 10m meaning, 10 minutes and keep-alive is for 30 seconds. Seems like the Android webview control …

android – java.lang.ClassNotFoundException in dalvik.system.BaseDexClassLoader.findClass-ThrowExceptions

Exception or error: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.me.hexavoidaa/com.me.hexavoidaa.PTPlayer}: java.lang.ClassNotFoundException: Didn’t find class “com.me.hexavoidaa.PTPlayer” on path: DexPathList[[zip file “/data/app/com.me.hexavoidaa-1.apk”],nativeLibraryDirectories=[/data/app-lib/com.me.hexavoidaa-1, /vendor/lib, /system/lib]] at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2208) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2340) at android.app.ActivityThread.access$800(ActivityThread.java:157) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1247) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:157) at android.app.ActivityThread.main(ActivityThread.java:5293) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.ClassNotFoundException: Didn’t find class “com.me.hexavoidaa.PTPlayer” on …

Android- Using DexClassLoader to load apk file-ThrowExceptions

Exception or error: I’ve hit a bit of a wall. Any help would be appreciated. I have an app that I want to use DexClassLoader to load another apk file. Here is my code: DexClassLoader dLoader = new DexClassLoader(“/sdcard/download/test.apk”,”/sdcard/download”,null,ClassLoader.getSystemClassLoader().getParent()); Class calledClass = dLoader.loadClass(“com.test.classname”); Intent it=new Intent(this, calledClass); it.setClassName(“com.test”, “com.test.classname”); startActivity(it); Now I had already installed …

ssl – List of trusted CA in android?-ThrowExceptions

Exception or error: i would like to know which Certification Authorities are “allowed” on android.. Since i’m going to buy a ssl certificate i would like to understand if i’ll get some problems in android using it. Thanks How to solve: This list http://www.andreabaccega.com/blog/2010/09/23/android-root-certification-authorities-list/ helps me solve the problem described here: Apache HttpClient on Android …