Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有可用于从我的应用程序中关闭黑莓的命令或代码?我创建了一个由按钮组成的简单应用程序,现在我想要的是设备在单击按钮时关闭。这可能吗?
谢谢
是Device.requestPowerOff(boolean allowAutoStart)