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. Which approach is better?

In my application I have three buttons that are to be part of each and
every activity. These button are independent of each other and on
click do mutually exclusive things(say launch different activity).
So, in my layout XML for every screen I have a <LinearLayout><Button/

As I understand, at run time, if there are 5 screens, the number of
Button objects created would be 5 x 3 = 15.Assuming that all the five
activities are on stack.

However, If i create a custom view and have these three Buttons as its
static members and then add this custom view in layouts of every
screen, at runtime, I will have just 3 Button Objects. However, these
three instances being static will last longer.

Which amongs the two approaches mentioned is better and perhaps
advisable?

Thanks.

-- 

2. AudioTrack - Doesn't stop playing as requested.

Not been very familiar with it but maybe you could pause it and then proced
to stop and release.
Salutes.
Fabricio Tuosto


On Tue, Dec 22, 2009 at 11:22, Business Talk



> 

3. SMTP XL

4. Build error : Undefined reference to ComponentInit

5. Cover art for audio file

6. How to enable Gallery for the latest open source??

7. How to share preferences between apps ?