WebView pauseTimers()

by Dan » Thu, 13 Jan 2011 06:28:28 GMT

Sponsored Links
 Hello All,

I am working on a an application that it trying to use the
WebView.pauseTimers() API. I am still getting console messages from my
JavaScript setInterval method after calling pauseTimers(). I was
wondering if this is a known problem, could I be missing a step, or an
alternative API that will suspend the setInterval timer.

Thank you,


Re: WebView pauseTimers()

by Dan » Fri, 14 Jan 2011 07:51:01 GMT

 I have completed a demo app and have verified that JavaScript timers
are not paused for either setTimeout() or setInterval().


Sponsored Links

Re: WebView pauseTimers()

by Dan » Fri, 14 Jan 2011 08:44:39 GMT

Other Threads

1. Android ANR and missing logs in traces.txt file

The ANR occurs for my application for some undefined reasons I'd like
to figure out. Unfortunately there is not stack trace in traces.txt
file. Is there any reason why there is nothing about my app in
traces.txt? There are other application's stack.

Is there any other way to figure out what cause ANR except traces.txt
and DDMS traces, which unfortunately show nothing when my app hangs. I
am not also able to use Debug.startMethodTracing as I am not able to
call stoptMethodTracing as I do not know when it hangs.

Best Regards


2. Is this a bug? Is this a forum to file bugs?

The following code makes a zip archive with a non-ASCII filename
entry. Then it reads the zip archive, and tries to recover the entry.
This is not possible, it seems. The file has now a weird encoded name.

It seems to me that with all problems zip archives have with Unicode,
the filename handling should at least be consistent between reading
and writing on the same machine.

Thanks for any hints, suggestions, or answers.


---- snip ----

        TextView tv=(TextView)this.findViewById(R.id.text);

            BufferedOutputStream out=
                new BufferedOutputStream(
                        new   FileOutputStream("/sdcard/test.zip"),
            ZipOutputStream zip=new ZipOutputStream(out);

            ZipEntry ze=new ZipEntry("test.txt");

            ZipFile zf=new ZipFile(new File("/sdcard/test.zip"));
            Enumeration en=zf.entries();
            while (en.hasMoreElements())

        catch (Exception e)


3. Service onCreate is asynchronous

4. Auto-Fill Field

5. Get WhatsApp Messenger for your smartphone

6. Droid X Screen Protecto

7. activity lifetime and lifetime of instance