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:
https://issues.apache.org/jira/browse/CB-638 Andrew On Fri, Oct 26, 2012 at 1:00 PM, Fazekas László <[email protected]>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: > http://nullisnotanobject.com/phonegap-native-bridge). 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 >
