Android SGS3 blockWebkitDraw

9 posts, 0 answers
  1. Бежнар
    Бежнар avatar
    27 posts
    Member since:
    Aug 2010

    Posted 28 Nov 2014 Link to this post

    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.
  2. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 02 Dec 2014 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
  4. Бежнар
    Бежнар avatar
    27 posts
    Member since:
    Aug 2010

    Posted 02 Dec 2014 in reply to Petyo Link to this post

    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
  5. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 03 Dec 2014 Link to this post

    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!
     
  6. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 03 Dec 2014 Link to this post

    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!
     
  7. Бежнар
    Бежнар avatar
    27 posts
    Member since:
    Aug 2010

    Posted 03 Dec 2014 in reply to Kiril Nikolov Link to this post

    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.
  8. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 05 Dec 2014 Link to this post

    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!
     
  9. Бежнар
    Бежнар avatar
    27 posts
    Member since:
    Aug 2010

    Posted 05 Dec 2014 in reply to Kiril Nikolov Link to this post

    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
  10. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 08 Dec 2014 Link to this post

    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!
     
Back to Top
Kendo UI is VS 2017 Ready