我已经下载了黑莓手机模拟器的VMWare iso,它运行良好。 如何在模拟器上上传我的Android应用程序(黑莓在线测试表示兼容)?黑莓手机模拟器
在我的Eclipe中,我没有“Run as”黑莓模拟器...所以我无法上传它,因为我所有的Android应用都是这样做的。
即使我创建了一个新的应用程序选择黑莓项目我不能上传它,你可以看到是默认的。
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());
}
}