【发布时间】:2013-03-31 18:20:49
【问题描述】:
我使用 jQuery Mobile 1.3 进行 Worklight 5.0.6 开发。我发现Transitions、Panels 和Popup Menu 等一些功能在真实设备(三星 Galaxy S3 和三星 Note II,Android 4.1.1)中并不流畅。它在显示过程中很差并且相当滞后。
由于 Worklight 最终使用 Phonegap 框架,我使用 Phonegap 创建了一个相同的移动应用程序,并且性能比使用 Worklight 的要流畅得多...
我可以知道为什么会这样,有什么方法可以提高 UI 性能吗?
非常感谢。
【问题讨论】:
-
检查您的 Worklight 项目中是否启用了硬件加速,也许会有所帮助:developer.android.com/guide/topics/graphics/hardware-accel.html
-
嗨 Idan,我尝试添加“android:hardwareAccelerated="true",结果是一样的。显示时有延迟。
标签: android cordova jquery-mobile ibm-mobilefirst