[android-developers] Re: WebView and https post problem

2009-04-20 Thread Evgeny V
Yes I changed the code to use BasicResponseHandler or loadUrl. On Mon, Apr 20, 2009 at 1:25 PM, Chander Pechetty wrote: > > The observations I made earlier are from running your code, and the > not the above code. > > > --~--~-~--~~~---~--~~ You received this m

[android-developers] Re: WebView and https post problem

2009-04-20 Thread Chander Pechetty
The observations I made earlier are from running your code, and the not the above code. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developer

[android-developers] Re: WebView and https post problem

2009-04-20 Thread Chander Pechetty
You also need the following to start the activity startActivityForResult(Intent.createChooser(sendIntent, title), 0); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group,

[android-developers] Re: WebView and https post problem

2009-04-20 Thread Chander Pechetty
you need to scroll horizontally to see the entire page, or add zoom controls to your webview. I don't know whats missing from your page, I can see the same page loaded in firefox and emulator. Here's a quick test you can run, while the code may look different, it uses WebView internally and shou

[android-developers] Re: WebView and https post problem

2009-04-19 Thread Evgeny V
LoadData and loadUrl returns exected data but WebView displays it incorrect. private void LoadPayPal2() { WebView webContent = (WebView)findViewById(R.id.textFromPayPal); HttpParams httpParams1 = new BasicHttpParams(); HttpConnectionParams.setConnectionTimeout(httpParams1, 1);

[android-developers] Re: WebView and https post problem

2009-04-19 Thread Evgeny V
Will try! Thanks On Sun, Apr 19, 2009 at 6:57 PM, Mattaku Betsujin < mattaku.betsu...@gmail.com> wrote: > Have you tried dumping the String that you sent to the WebView into a file? > Try loading that on desktop mozilla. If you still see problems there that > would mean your extraction code defin

[android-developers] Re: WebView and https post problem

2009-04-19 Thread Mattaku Betsujin
Have you tried dumping the String that you sent to the WebView into a file? Try loading that on desktop mozilla. If you still see problems there that would mean your extraction code definitely has bugs. On Sat, Apr 18, 2009 at 11:18 PM, Evgeny V wrote: > Thank you very much for feedback! > > Reg

[android-developers] Re: WebView and https post problem

2009-04-18 Thread Evgeny V
Thank you very much for feedback! Regarding the loop. Of course I don't do it inside a loop. The sent code is first attempt and contains this bug. Will use BasicResponseHandler to handle result. It definitely can casue the performance probpem. Do you think the way I'm extracting the resopnse stri

[android-developers] Re: WebView and https post problem

2009-04-18 Thread Chander Pechetty
Not sure why you are initializing one time settings of WebView in a while loop. (and also the StringBuffer.toString inside a loop fed to WebView) It doesn't look right to me. Use org.apache.http.impl.client.BasicResponseHandler for getting the string from the http response to feed it. --~--

[android-developers] Re: WebView and https post problem

2009-04-18 Thread Evgeny V
Thanks, It works but partially only. I didn't get the full expected page. I tried also paramtrized url insted parametized POST request. " https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=mym...@mail.com&item_name=mydescr&no_shipping=1&no_note=1¤cy_code=USD&tax=0&lc=IL&bn=PP-DonationsBF";

[android-developers] Re: WebView and https post problem

2009-04-17 Thread Mattaku Betsujin
If you're missing images, etc, you should call loadDataWithBaseURL(). On Fri, Apr 17, 2009 at 1:13 PM, Evgeny V wrote: > I just tried following code. For some reason simple request don't work when > I'm calling loadData. But loadURL( ) is OK > > > private void ZZZ() > { > try > { >

[android-developers] Re: WebView and https post problem

2009-04-17 Thread Evgeny V
I just tried following code. For some reason simple request don't work when I'm calling loadData. But loadURL( ) is OK private void ZZZ() { try { WebView webContent = (WebView)findViewById(R.id.viewFromPayPal); HttpParams httpParams = new BasicHttpParams(); HttpC

[android-developers] Re: WebView and https post problem

2009-04-17 Thread Evgeny V
There are no erros. I can see paypal page but the page is not exactly page what I expected. In addition all paypal links on this page like "LogIn" "SIgnUp" etc are unavailable... On Fri, Apr 17, 2009 at 10:55 PM, Mattaku Betsujin < mattaku.betsu...@gmail.com> wrote: > What error do you see? > >

[android-developers] Re: WebView and https post problem

2009-04-17 Thread Mattaku Betsujin
What error do you see? On Fri, Apr 17, 2009 at 12:28 PM, EvgenyV wrote: > > Hi all! > > I'm trying to get PayPal web page with requested donation parameters. > It works within IE or Firefox. > > Can anyone advise whether I'm running some wrong code? > > Layout main.xml: > - >