OpenBaseMovil 升级机制
protected void startApp() throws MIDletStateChangeException { try { // If the last time the application exited it set the install.url // setting, it means that we should install a new version of the // midlet and exit again final String installURL = Settings.getProperty( "install.url" ); if( installURL != null ) { Settings.setProperty( "install.url", null ); platformRequest( installURL ); destroyApp( true ); notifyDestroyed(); } else { ((MainController) ViewFactory.getController( "main" )) .startApplication(); } } catch( Exception e ) { log.error( e ); throw new MIDletStateChangeException( e.getMessage() ); } }