我已经下载了用于黑莓剧本模拟器的 VMWare iso,它运行良好。我如何在模拟器上上传我的 Android 应用程序(黑莓在线测试说兼容)?
在我的 Ecipe 中,我没有“运行方式”黑莓模拟器……所以我无法像使用所有 android 应用程序那样上传它。
即使我创建了一个选择 Blackberry 项目的新应用程序,我也无法上传它,并且如您所见,它是默认应用程序。
package mypackage;
import net.rim.device.api.ui.UiApplication;
/**
* This class extends the UiApplication class, providing a
* graphical user interface.
*/
public class MyApp extends UiApplication
{
/**
* Entry point for application
* @param args Command line arguments (not used)
*/
public static void main(String[] args)
{
// Create a new instance of the application and make the currently
// running thread the application's event dispatch thread.
MyApp theApp = new MyApp();
theApp.enterEventDispatcher();
}
/**
* Creates a new MyApp object
*/
public MyApp()
{
// Push a screen onto the UI stack for rendering.
pushScreen(new MyScreen());
}
}