08-29-2012 08:54 AM
HI,
In my application i have alternate entry points. from one point will start background thread which is autostart. another is UI application. and in my background thread i am cheking update to server if any found i want to set * (update notification) on the ui application icon
how can i do that ???. please give some idea to slove this.
Thanks
JaM321
08-29-2012 08:58 AM
08-29-2012 09:13 AM
hey simon thanks for replay i know that and i tried use that like HomeScreen.setNewState(true). but it is not working.
i want to set this HomeScreen.setNewState(true) to UI application from background thread. and i tried with this also
int handler = CodeModuleManager.getModuleHandle("JAM");
ApplicationDescriptor appDescriptor = CodeModuleManager.getApplicationDescriptors(handle
ApplicationDescriptor appDescriptor = CodeModuleManager.getApplicationDescriptors()[0];
HomeScreen.setNewState(true,appDescriptor);
it is working but throwing the exception after some time because of Module handles can be transitory.
Thanks
JaM321
08-29-2012 09:20 AM