Sencha Touch:非触摸黑莓支持 [英] Sencha Touch: non-touch Blackberry support

查看:237
本文介绍了Sencha Touch:非触摸黑莓支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


  1. 当在非触摸黑莓设备(如Bold)上部署简单的Sencha Touch 2应用程序时,
    ,该网站显示大约6像素高的内容,而不是100%的高度。
    这个线程上有一个解决方案:
    不幸的是,看起来像是为sencha触摸而写的1,不是2.
    问题:有没有更好的解决方案?如果没有,我如何在商业版本的sencha touch中使用此解决方案(他提到他的解决方案仅适用于开源版本)?



解决方案

最后,解决方案呈现@ http://www.sencha.com/forum/showthread.php?151188-Blackberry-Webworks-Issues 用于屏幕尺寸问题。



我只需要将代码块添加到我的项目的sdk视口文件夹(并添加Blackberry.js文件)。



我的第二个问题,就像没有解决方案(如Lionel所写)


  1. When deploying a simple Sencha Touch 2 app on a non-touch blackberry device (like Bold), the webfield is showing about 6 pixels height of the content instead of 100% height. there is a solution offered on this thread: http://www.sencha.com/forum/showthread.php?151188-Blackberry-Webworks-Issues However, when i added the code, nothing was changed. Question: How does one solve this issue?

  2. Disable mouse cursor and enable the default navigation style of non-touch BB devices in a sencha app. There is a solution offered here: http://resilientcoder.blogspot.co.il/2011/03/getting-sencha-touch-to-work-on-non.html unfortunately, looks like it was written for sencha touch 1, not 2. Question: is there a better solution? if not, how do i use this solution in the Commercial version of sencha touch (he mentions that his solution works only for the open source version)?

解决方案

in the end, the solution presented @ http://www.sencha.com/forum/showthread.php?151188-Blackberry-Webworks-Issues worked for the screen size issue.

I only had to add the code blocks to my project's sdk viewport folder (and add the Blackberry.js file).

regarding my 2nd question, looks like there is no solution (as Lionel wrote)

这篇关于Sencha Touch:非触摸黑莓支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆