WebView is not clearing history.

by Obormot » Sat, 07 Feb 2009 05:46:51 GMT


Sponsored Links
 Hi, guys.

I'm using the following code:

                        _articleView.loadArticle(section.getResource());
                        _articleView.clearHistory();

to ensure that nothing is left in the history and back button behaves
as usual.

Unfortunately, this code doesn't work for me and the
_articleView.canGoBack() still returns true.
Implementation of clearHistory method is quite complex and uses
asynchronous mechanism, which may not work immediately, but no matter
how much time I wait the history is still there.

Am I doing something wrong?

Thank you in advance!
A.
--~--~---------~--~----~------------~-------~--~----~



WebView is not clearing history.

by Obormot » Fri, 13 Feb 2009 08:57:14 GMT


 Hi, guys.

Sorry for bringing this up again, but it looks like it's a bug in the
WebView, which really hurts my project...
I found that it happens on the HTML pages with images. Pages without
images clear history as they're supposed to.
Might this be a synchronization issue?

I would really appreciate if somebody could clarify the situation and
maybe point me to a workaround...

Thank you in advance!






--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Open input method automatically on showing Dialog

Hi,

I wanted to open input method automatically on showing Dialog, in my
Application. I created the dialog from layout xml and i have tried the
following.

1. Added android:windowSoftInputMode="stateAlwaysVisible|adjustResize"
in the dialog's layout XML
2.  tried using InputMethodManager API.

 InputMethodManager
inputMethodManager=(InputMethodManager)this.getSystemService(INPUT_METHOD_SERVICE);
inputMethodManager.showSoftInput(ET.getRootView(),
InputMethodManager.SHOW_FORCED);

Both the approaches is not working. I seen the same behaviour for
preferences dialog well.

Is there any way to handle this?

~ Parthiban

-- 

2. How 3rd party api compatibility can be checked using CTS or some other tool??

Hi

Am running around to find where i can find CTS and how to use it ,
seems you have already some experience
using the same. can you give me details , where to download and how to
run it on the real device..

thanks
bishu




-- 

3. Moving the cursor to the beginning of an EditText

4. Textview Editable Cursor Visible

5. Application manager not exiting properly in Eclair 2.1

6. adding a "quick add event" to the Calendar

7. SSL Implementation on Android