1. #1
    Sencha User
    Join Date
    Oct 2011
    Location
    Pakistan
    Posts
    229
    Vote Rating
    1
    umr.ashrf is on a distinguished road

      0  

    Default Sencha Touch with Canvas

    Sencha Touch with Canvas


    I was wondering as Sencha Touch uses HTML5 and CSS3 to draw things on WebView which works nice on iOS devices, works fine on Android and Blackberry devices so it doesn't work on Windows Mobile, Symbians and others devices. Wouldn't a canvas based approach be good in drawing things on screen like native app works?

    My idea is simple. Put canvas that fills whole WebView and draw things like toolbar, panel, buttons and other components on it. Write your own touch event mechanism. This way won't it support for vast range of devices giving ultimate performance with more cross-browser capability? The only overhead is development time and cost but it would work like a charm!

  2. #2
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,361
    Vote Rating
    81
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    Canvas is really slow. I know because I'm developing an HTML5 game that uses canvas and it's *very* slow on android devices, especially.

Thread Participants: 1