BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-13-2009, 01: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  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





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