cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Grieve <>
Subject Re: PhoneGap interface on Android vs. addJavaScriptInterface
Date Fri, 26 Oct 2012 17:12:02 GMT
Hey Laszlo,

You'll be happy to know that with our next release, we've implemented a new
Android bridge, which is even faster than using loadUrl! If you're
interested in the details, have a look at this bug:


On Fri, Oct 26, 2012 at 1:00 PM, Fazekas László <>wrote:

> Hi!
> About 1 month ago, I've developed a PhoneGap application to one of my
> clients. He dropped it back to me, because the UI was slow and laggy on
> a Vodafone SmartTab. After some debug, I've realized, the problem is the
> speed of the PhoneGap interface, and the XHR poll mechanism (I've found
> some info about it here:
> The final solution
> was creation of a new PhoneGap like interface through
> addJavascriptInterface and loadUrl. This new interface is working like a
> charm without lag. I think, the perfect solution would be an optional
> support of addJavascriptInterface/loadUrl way. If it is working on the
> device without bugs, PhoneGap could use this faster way automatically
> instead of the present solution, or developers could enable it
> optionally. For example, in my case, the application will be used only
> on Vodafone SmartTabs, where the standard addJavascriptInterface/loadUrl
> solution working fine and fast, so in this case I could enable it.
> Kind regards,
>   Laszlo

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message