[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

[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
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-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 cspeche...@gmail.comwrote: The observations I made earlier are from running your code, and the not the above code. --~--~-~--~~~---~--~~ You

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

2009-04-19 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

[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 evgen...@gmail.com wrote: Thank you very much for

[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

[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-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=_xclickbusiness=mym...@mail.comitem_name=mydescrno_shipping=1no_note=1currency_code=USDtax=0lc=ILbn=PP-DonationsBF;

[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 i org.apache.http.impl.client.BasicResponseHandler /i for getting the string from the http response to feed it.

[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 evgen...@gmail.com 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:

[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();

[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 evgen...@gmail.com 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() {