EventLogger.logEvent( WidgetProperties.getInstance().getGuid(), ( "Check if application is running" ).getBytes(),
EventLogger.DEBUG_INFO );
if( !ApplicationRegistry.isAppRunning() ) {
EventLogger.logEvent( WidgetProperties.getInstance().getGuid(), ( "Launch application" ).getBytes(),
EventLogger.DEBUG_INFO );
ApplicationDescriptor newAppDesc = new ApplicationDescriptor( _uiAppDesc, new String[] { _entryPage } );
try {
ApplicationManager.getApplicationManager().runApplication( newAppDesc, false );
} catch( ApplicationManagerException e ) {
EventLogger.logEvent( WidgetProperties.getInstance().getGuid(), ( "Error launching UI" ).getBytes(),
EventLogger.ERROR );