I want to open my UI app from a background application. How its done ?.
public static void main(String[] args) {
if (args.length > 0 && args[0]
You should pass argument "MYAPP" to code that's running application:
ApplicationDescriptor[] appDescriptors =
CodeModuleManager.getApplicationDescriptors(
CodeModuleManager.getModuleHandle("MYAPP"));//.Cod file name
ApplicationDescriptor appDescriptor = new ApplicationDescriptor(
appDescriptors[0], new String[] {"MYAPP"});
ApplicationManager.getApplicationManager().runApplication(appDescriptor);
Read more here