I'm very lucky. I have found this link with a solution that works.

http://r3gis.fr/blog/index.php?post/2009/11/17/Android-WebView-and-ssl-self-signed-certificates&pub=1

I hope this will be useful to somebody.

On 3 jun, 17:55, psaltamontes <[email protected]> wrote:
> Ups, I think another little problem, I'm using Android 1.5 and maybe
> the actual browser has another source code...
>
> On 3 jun, 17:32, psaltamontes <[email protected]> wrote:
>
>
>
> > Nobody know how the browser process the https requests?
>
> > This is a fragment of the source code of the BrowserActivity class :
>
> > (onCreate method)
> > .
> > .
> > .
>
> >  if (urlData.isEmpty()) {
> >                 if (mSettings.isLoginInitialized()) {
> >                     webView.loadUrl(mSettings.getHomePage());
> >                 } else {
> >                     waitForCredentials();
> >                 }
> >             } else {
> >                 if (extra != null) {
> >                     urlData.setPostData(extra
> >                             .getByteArray(Browser.EXTRA_POST_DATA));
> >                 }
> >                 urlData.loadIn(webView);
> > .
> > .
> > .
>
> > There is an UrlData object, it has a loadIn method. I think that with
> > this method load the content of the requests. I don't know where I can
> > found information about this class. I have search with Google about
> > UrlData class but I don't find information. Somebody know this class?
>
> > Thanks.
>
> > On 3 jun, 11:30, psaltamontes <[email protected]> wrote:
>
> > > I need to use a HTTPClient object to send / recieve the https
> > > request / response?
> > > and send the response to the webview object?
>
> > > Somebody has send https requests and has received the response
> > > correctly?
>
> > > I have seen posts that speak about POST requests with https, but I
> > > want to use GET requests.
>
> > > What I need?
>
> > > Thanks.
>
> > > On 2 jun, 18:19, psaltamontes <[email protected]> wrote:
>
> > > > Hello,
>
> > > > I'm trying to load https requests with a Webkit object but It shows
> > > > only a blank page, with http requests I don't have problems, It shows
> > > > the page correctly.
>
> > > > I have look the source code of the browser, 
> > > > inhttp://android.git.kernel.org/?p=platform/packages/apps/Browser.git;a...
>
> > > > but I don't understand how the browser process the https requests. I
> > > > think that the class BrowserActivity process the http and https
> > > > requests but I don't see how to do it. Somebody could explain how the
> > > > browser process the https request? It uses a Webview object to show
> > > > the response of the https requests?
>
> > > > Thank you.- Ocultar texto de la cita -
>
> > > - Mostrar texto de la cita -- Ocultar texto de la cita -
>
> > - Mostrar texto de la cita -- Ocultar texto de la cita -
>
> - Mostrar texto de la cita -

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to