Speed up webView on android

Hi,

it is possible to speed up webView in Android by hardware acceleration, as described in  http://stackoverflow.com/questions/7422427/android-webview-slow

How can i enable this in Corona?

I have apps running webView full screen (browsing a mobile enhanced website) and they run no slower than the same website run in Chrome on device.  Any noticeable slowdown will be web code related (real heavy JS, massive amounts of CSS transitions, etc.) which may be optimised on a browser but not on webView.

Remember webView is not a fully fledged app in it’s own right.

Hi, thaks for answer.

I have website made with jquery and bootstrap. Using carusel, the website start to freeze or turn black for a while, blink, and occasionally the application stops to work.

The same page works well on the same android tablet in chrome browser. 

I hope there is a way to enable hardware acceleration by using  https://docs.coronalabs.com/api/type/NativeDisplayObject/setNativeProperty.html

I just do not know what to set…

[quote name=“sallyx” post=“354568” timestamp=“1491470312”]Hi, thaks for answer.   I have website made with jquery and bootstrap. Using carusel, the website start to freeze or turn black for a while, blink, and occasionally the application stops to work.   The same page works well on the same android tablet in chrome browser.    I hope there is a way to enable hardware acceleration by using  https://docs.coronalabs.com/api/type/NativeDisplayObject/setNativeProperty.html I just do not know what to set…[/quote] “This is an iOS-only feature”

I have apps running webView full screen (browsing a mobile enhanced website) and they run no slower than the same website run in Chrome on device.  Any noticeable slowdown will be web code related (real heavy JS, massive amounts of CSS transitions, etc.) which may be optimised on a browser but not on webView.

Remember webView is not a fully fledged app in it’s own right.

Hi, thaks for answer.

I have website made with jquery and bootstrap. Using carusel, the website start to freeze or turn black for a while, blink, and occasionally the application stops to work.

The same page works well on the same android tablet in chrome browser. 

I hope there is a way to enable hardware acceleration by using  https://docs.coronalabs.com/api/type/NativeDisplayObject/setNativeProperty.html

I just do not know what to set…

[quote name=“sallyx” post=“354568” timestamp=“1491470312”]Hi, thaks for answer.   I have website made with jquery and bootstrap. Using carusel, the website start to freeze or turn black for a while, blink, and occasionally the application stops to work.   The same page works well on the same android tablet in chrome browser.    I hope there is a way to enable hardware acceleration by using  https://docs.coronalabs.com/api/type/NativeDisplayObject/setNativeProperty.html I just do not know what to set…[/quote] “This is an iOS-only feature”