This is a migrated thread and some comments may be shown as answers.

Android SGS3 blockWebkitDraw

8 Answers 100 Views
ScrollView (Mobile)
This is a migrated thread and some comments may be shown as answers.
Бежнар
Top achievements
Rank 1
Бежнар asked on 28 Nov 2014, 03:36 PM
Hello!
There is a problem with the control ScrollView on phones Samsung Galaxy 3. Scroll through the pages or does not work or is triggered after the second or third time.
In the debugger when an attempt is turning the message:
11-28 18:27:18.125 V/WebViewInputDispatcher(21253): blockWebkitDraw
11-28 18:27:18.125 V/WebViewInputDispatcher(21253): blockWebkitDraw lockedfalse
11-28 18:27:21.615 V/WebViewInputDispatcher(21253): blockWebkitDraw
11-28 18:27:21.615 V/WebViewInputDispatcher(21253): blockWebkitDraw lockedfalse
11-28 18:27:23.235 V/WebViewInputDispatcher(21253): blockWebkitDraw
11-28 18:27:23.235 V/WebViewInputDispatcher(21253): blockWebkitDraw lockedfalse
11-28 18:27:24.390 V/WebViewInputDispatcher(21253): blockWebkitDraw
11-28 18:27:24.390 V/WebViewInputDispatcher(21253): blockWebkitDraw lockedfalse
11-28 18:27:25.010 V/WebViewInputDispatcher(21253): blockWebkitDraw
11-28 18:27:25.010 V/WebViewInputDispatcher(21253): blockWebkitDraw lockedfalse

Help solve this problem.
Thanks in advance.

8 Answers, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 02 Dec 2014, 01:07 PM
Hello Бежнар,

I tested the scrollview on the device (Android 4.1.2, Chrome browser), and it seems to work as expected. Perhaps there are certain specific in your environment? 

Regards,
Petyo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Бежнар
Top achievements
Rank 1
answered on 02 Dec 2014, 02:03 PM
I'm writing a hybrid application that displays pages of local content (the directory Assets) in WebView. Tested on Android 4.0.3 (HTC Sensation XE) and Android 4.3 (Samsung Galaxy 3).
Scrolling works not the first time, the animation runs with a strong slowdown, especially seen in the Galaxy 3
0
Kiril Nikolov
Telerik team
answered on 03 Dec 2014, 12:39 PM
Hello Бежнар,

I have tested the Kendo UI ScrollView in a mobile application on both 4.0.3 and 4.3 native Android emulators, and the ScrollView component works correctly. The performance is lower than the latest iOS and Android 4.4.2+ versions, however there is not optimization property or solution that we can provide at the current moment.

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Kiril Nikolov
Telerik team
answered on 03 Dec 2014, 12:44 PM
Hello Бежнар,

You can also try turning on the hardware accelaration, that might help in some scenarios like yours. Here is more information that can be useful:

http://docs.telerik.com/platform/appbuilder/configuring-your-project/project-properties-for-android-devices

http://www.telerik.com/forums/android-lag

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Бежнар
Top achievements
Rank 1
answered on 03 Dec 2014, 12:59 PM
Thanks for the links. My problem is very similar to that on the following link: http://www.telerik.com/forums/android-lag

Hardware acceleration is turned off immediately, as WebView no draws nothing but the background. In this case, when you press your finger movement and sometimes slips image control and immediately disappears.
In this case, such a situation at all Android devices tested.
0
Kiril Nikolov
Telerik team
answered on 05 Dec 2014, 11:28 AM
Hello Бежнар,

I am afraid that I was not able to understand your exact problem. Can you elaborate more on the last response?

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Бежнар
Top achievements
Rank 1
answered on 05 Dec 2014, 11:52 AM
The problem is that it does not always work clicks on buttons and scrolling on the control ScrollView inside WebView. At a time when the operation does not occur in the debugger displays a message specified in the first post of this topic
0
Kiril Nikolov
Telerik team
answered on 08 Dec 2014, 01:14 PM
Hello Бежнар,

We are not aware of this error, we searched the internet and we only found this forum topic regarding the error. Please check it out and it might be helpful:

http://stackoverflow.com/questions/18032616/what-does-blockwebkitdraw-mean-and-how-to-fix-it

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
ScrollView (Mobile)
Asked by
Бежнар
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Бежнар
Top achievements
Rank 1
Kiril Nikolov
Telerik team
Share this question
or