SSL Cert Issue Not trusted server certificate

by Loki117 » Tue, 29 Jun 2010 04:21:32 GMT

Sponsored Links
 Hey Guys,

I get the following issue Not trusted
server certificate when contacting a server via a 3G network only. Has
anyone else seen this issue?

Thanks guys,



Other Threads

1. How to change ClassLoader of Activity

I newed a DexClassLoader to load one jar file dynamicly:

DexClassLoader cl = new DexClassLoader("my.jar",

It is OK to loadClass and execute method with reflection like below:

Class<?> handler = Class.forName(handlerClassName);
         Method m = handler.getDeclaredMethod(
         m.invoke(handler.newInstance(), this, mExtraSettingsCategory,

I want the new classloader to be the one of my activity so I can new
instance and execute method more easily like below:

HandlerClass hc = new HandlerClass();

I think I have to set my cl to be default ClassLoader of Activity.
After googling web, some google guy suggest to use
Thread.currentThread().setContextClassLoader(cl) to achieve similar

However, it does not work.
I found Thread.currentThread().getContextClassLoader() is different
from Activity.class.getClassLoader().
So event I changed Thread's context classloader, Activity's
classloader is not my cl.

My question is how to change Activity's ClassLoader?


2. Placing focusable & clickable views in a custom expanded view in the notification bar


Has anyone tried to put Views, e.g. Buttons, into a list item of the
notification bar?
In my opinion this would be really helpful for actions that should be
accessible in a very fast manner, like activating/deactivating WiFi or
the 3G network. In fact I saw something like this implementet on the
Samsung Galaxy S device, and now I am trying to achieve the same for
all devices.

I created a custom Notification using this guide:

Placing two buttons in my own layout was easy. But here is the
problem: The class RemoteViews (
) has a method called setOnClickPendingIntent(int viewId,
PendingIntent  pendingIntent), but it doesn't seem to work. The
buttons are not focusable nor clickable, only the whole list item as
such is clickable. And when it is clicked the PendingIntent of the
notification is executed, not the PendingIntent of one of my buttons.

Any suggestions?


Marc Reichelt   ||


3. Mod: Invitation, Bada Developer Day

4. Paging HTC Tattoo user

5. ContentProvider onCreate() onDestroy()

6. Problem Using Geocoder

7. Arabic :(