我正在使用为PlayBook创建一个PlayBook应用程序。为此,我需要导入qnx.fuse.*,它显示了一条错误消息,告诉无法找到导入保险丝。但我可以导入其他一些BlackBerry组件。例如,我有以下导入:
import qnx.dialog.DialogButtonProperty;
import qnx.dialog.PromptDialog;
import qnx.display.IowWindow;
import qnx.fuse.ui.buttons.LabelButton;
import qnx.fuse.ui.text.Label;但是,只有最后两个进口显示错误。为什么会这样呢?
提前感谢!
发布于 2012-04-15 16:25:40
新的导火索组件是正确的使用,用于空气发展在Playbook。
API记录在https://bdsc.webapps.blackberry.com/air/api上。
也许您不能导入qnx.fuse.*;,因为该文件夹中没有类,它只包含其他子文件夹。没问题的。
发布于 2012-08-01 04:38:14
您已经安装了什么黑莓Playbook sdk版本的air。
import qnx.fuse.ui.buttons.LabelButton;
import qnx.fuse.ui.text.Label;如果您使用Flashbuilder4.6&AirVersion3.1,则可以使用这些导入,下面不支持这些导入。
https://developer.blackberry.com/air/apis/发布于 2013-03-09 18:56:07
您需要做两件事才能访问这些类。
https://stackoverflow.com/questions/10150909
复制相似问题