BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 05-29-2009, 05:25 AM   #1 (permalink)
New Member
 
Join Date: May 2009
Model: 9530
PIN: N/A
Carrier: Verizon
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default DRM exception

Please Login to Remove!

Hey,

I'm new on using the RIM API but I need to implement a DRM(Digital rights management) module on an application.
For that porpuse I'm using the DRM library.
Although everything seems right in the code I'm getting the exception:"close called when not displayed".
I think it's related to the SetupScreen instance that i'm using in my application.
This is invoked on a separate thread, to be able to push the modal screen:

SetupScreen screen= new SetupScreen( hmdrm);
UiApplication.getUiApplication().pushModalScreen(s creen );
if(screen.userCancelled )
{
onClose();
}
hmdrm.validateLicense(this,false, productID );

The exception is thrown once the drmUpdate callback is made, after the user validas the data in the setup screen.
I think SetupScreen is not properly closed by the system. Can't I have control on closing it while it's being displayed, just right when the user validates data?


It would be great if you guys could give me some tips.

Thank you.

Last edited by quicksilver33 : 05-29-2009 at 05:28 AM.
Offline  
Old 05-29-2009, 06:51 AM   #2 (permalink)
New Member
 
Join Date: May 2009
Model: 9530
PIN: N/A
Carrier: Verizon
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Nevermind, problem solved
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

Lot of 4 Allen-Bradley SLC 500 Processor Unit 20 I/O Cat: 1747-L20A
$199.0
Lot of 4 Allen-Bradley SLC 500 Processor Unit 20 I/O  Cat: 1747-L20A  pictureALLEN BRADLEY 1756-L55/A PROCESSOR , WITH 1756-M14/A MEMORY EXPANSION
$85.0
ALLEN BRADLEY 1756-L55/A PROCESSOR , WITH 1756-M14/A MEMORY EXPANSION pictureGOULD Modicon PLC Lot M984-230 Processor B350 Output B351 Input B352 Output
$99.0
GOULD Modicon PLC Lot M984-230 Processor B350 Output B351 Input B352 Output pictureNew Electric 550W Stand Up Butcher Meat Band Saw & Grinder Processor Sausage
$279.95
New Electric 550W Stand Up Butcher Meat Band Saw & Grinder Processor Sausage pictureGPU CPU Thermal Silicone Grease Compound Glue Cooling Paste Heat Sink STARS-922
$0.99
GPU CPU Thermal Silicone Grease Compound Glue Cooling Paste Heat Sink STARS-922 picture






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