Join Our 3 MILLION+ Members Today! Register Here | Login
Go Back   BlackBerry Forums at CrackBerry.com > BlackBerry Professionals > App Developers

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
    Thread Author   #1  
Old 07-07-2011, 10:37 PM
CrackBerry Master
Device(s): 9850 7.1.0.402 + PlayBook 16Gb
Carrier: Verizon
Pin: PM me for it!
 
Location: Eastern Shore of MD
Join Date: Sep 2008
Posts: 1,074
Likes Received: 116
Thanked 215 Times in 124 Posts
Default MIDlet not found exception with ApplicationManager.launch for Bolt browser

Hi Everyone,

I would be grateful for any help that could be offered for an issue I'm having using the ApplicationManager.launch function in order to invoke the Bolt browser from my BlackBerry app.

Here is the code snippet in question:

Code:
if(CodeModuleManager.getModuleHandle("boltbb252") == 0) {
	Dialog.alert("Bolt is not currently installed");
} else {
try {
manager.launch("boltbb252?" + buildURL());
} catch (ApplicationManagerException e) {
Dialog.alert("Bolt launch failed!");
}
}
The method I'm using above seems to work flawlessly with the Opera Mini browser using the module name "operette$2dhifi" as obtained from the applications list under the BB's options screen but does not seem to be working with the Bolt browser application. The getModuleHandle call confirms that boltbb252 is a valid module name, however, the launch function generates "Uncaught exception: MIDlet not found exception" on the device and simulator. I also tried substituting boltbb252 for BOLT (which I obtained from the MIDlet Name parameter of the Bolt applications JAD file) but this generates the same results.

My aim is to launch the Bolt browser with a generated URL, launch seemed to be the easiest way of doing this but perhaps I need to use a different method?

Any insight anyone could offer would be gratefully appreciated.

Thanks in advance,

Russ.
__________________
"If anyone would come after me, let him deny himself and take up his cross and follow me" - Matthew 16:24
My apps & themes at the CrackBerry Store
Follow me on twitter: graymatteron
Reply With Quote Tip this Post
  #2  
Old 09-08-2011, 07:53 AM
CrackBerry Newbie
 
Join Date: Sep 2011
Posts: 1
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

Hi Russ,

Have you solved your problem?
I have also decided to use bolt to view pdf but i need to run this from the app.
I can launch bolt application successfully but i cannot submit a url.

Any suggestions on how to pass a url?

Thanks.

Last edited by lelouchcc; 09-08-2011 at 08:06 AM.
Reply With Quote Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > App Developers   MIDlet not found exception with ApplicationManager.launch for Bolt browser

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes