BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-13-2009, 12:50 PM   #1 (permalink)
New Member
 
Join Date: Jul 2009
Model: 8300
PIN: N/A
Carrier: AT&T
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default voice notes recorder application descriptor

Please Login to Remove!

I am trying to get the application descriptor for the Voice Notes Recorder app using the CodeModuleManager, so that I can run it using the ApplicationManager. However, I don't know what to use for the module handle. I was also looking at using the getModuleHandle function, but I am unsure of what to pass as an arguement. Here is kind of what I'm trying to do.

ApplicationDescriptor ad = CodeModuleManager.getApplicationDescriptors(CodeMo duleManager.getModuleHandle("Voice Notes Recorder"))[0];
try
{
ApplicationManager.getApplicationManager().runAppl ication(ad, true);
}
catch (ApplicationManagerException e)
{
Dialog.alert("Could not start Voice Recorder: " + e.getMessage());
}
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.