BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 11-05-2010, 01:16 AM   #1 (permalink)
New Member
Join Date: Nov 2010
Model: 7100T
Carrier: AT&T
Posts: 6
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Modal Dialog RuntimeException

Please Login to Remove!

We have a problem pertaining to blocking and waiting for a response. Currently we have a app that on startup prompts the user if there is a new version available for download with a call to checkForNewAppVersion(). In there we check if the new version is greater or not. We then get a handle on the UI, invokeAndWait while pushing a modal dialog on the screen. This is where the new version prompt is which is a dialog. This dialog popups a predefined dialog and waits for a users response. We get a handle on the EventLock, pass in the downloadUrl. At this point the download screen should be pushed to screen. But instead we get a runtime exception our app doesn't start properly and the modal dialog screen freezes on the screen while our code executes in the background. First question, is the application method 'invokeAndWait' actually doing what it should? Secondly, could it be possible that the dialog is doing a lock?
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
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.