i am new to sencha touch and I trying to get the screen size:width = (window.innerWidth > 0) ? window.innerWidth : screen.width;
height = (window.innerHeight > 0) ? window.innerHeight : screen.height;
however, it returns 0!
I think it's because the js of view is called before loading the browser, in an android application.
is there any way to load the view after the browser?