BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/index.php)
-   Developer Forum (http://www.blackberryforums.com/forumdisplay.php?f=15)
-   -   error launch "Help me!" screen from third-party application (http://www.blackberryforums.com/showthread.php?t=262526)

ducnhuanqx 11-24-2012 06:50 AM

error launch "Help me!" screen from third-party application
 
I use the code below to launch "Help me!" screen and it don't run successful. But it work well with "net_rim_bb_clock". Can anyone help me fix it or give me other way to solve this problem.
Thanks!!
Code:

try {
        int modHandle = CodeModuleManager.getModuleHandle( "net_rim_escreen_app" );
        ApplicationDescriptor[] apDes = CodeModuleManager.getApplicationDescriptors( modHandle );
        ApplicationManager.getApplicationManager().runApplication(apDes [ 0 ] );
} catch (ApplicationManagerException e) {
        // TODO Auto-generated catch block
        Dialog.alert("Problem opening Help Me! Screen: " + e.getMessage());
        e.printStackTrace();
}


Dougsg38p 11-24-2012 10:05 AM

Re: error launch "Help me!" screen from third-party application
 
What was the error?

ducnhuanqx 11-24-2012 11:01 AM

Re: error launch "Help me!" screen from third-party application
 
Help Me screen don't launch.

Dougsg38p 11-26-2012 03:09 PM

Re: error launch "Help me!" screen from third-party application
 
If it didn't launch, then you got some type of exception.

First thing I would do is check the module handle that you are getting back from "getModuleHandle". If this comes back as -1, the module does not exist.


All times are GMT -5. The time now is 04:31 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.