我想在黑莓风暴中以纵向模式启动我的应用程序,即使那时设备处于横向模式.
我怎么能这样做?
我知道我们可以在打开我的应用后控制方向,通过:
UiEngineInstance ui = Ui.getUiEngineInstance();
ui.setAcceptableDirections(Display.DIRECTION_NORTH);
Run Code Online (Sandbox Code Playgroud)
但如何以纵向模式打开应用程序?
user-interface blackberry blackberry-storm screen-orientation