Tag: 替代

如何在Blackberry应用程序中设置备用入口点?

如何在Blackberry Application中设置备用入口点。将有2个应用程序 UI应用程序 后台应用程序:将在自动启动上运行。 有一个关于这个的黑莓知识中心文章 ,我试过,编码如下。 但是在单击应用程序图标时,没有响应。 class EntryPointForApplication extends UiApplication { public EntryPointForApplication() { GUIApplication scr = new GUIApplication(); pushScreen(scr); } public static void main(String[] args) { if ( args != null && args.length > 0 && args[0].equals(“background1”) ){ // Keep this instance around for rendering // Notification dialogs. BackgroundApplication backApp=new BackgroundApplication(); backApp.enterEventDispatcher(); backApp.setupBackgroundApplication(); […]