Crash when creating a context of screen

Hey everybody,

I'm having a ussue with the screen_create_context() function. When I give the SCREEN_APPLICATION_CONTEXT flag, the program works, but returns the incorrect context. However, the original code called SCREEN_DISPLAY_MANAGER_CONTEXT be used like this:

screen_create_context (& screen_context, SCREEN_DISPLAY_MANAGER_CONTEXT);

and returns - 1 (0 available poster / crashes the app). The code I took it of can be found here. I wonder why I can't access to the poster of the device (the priveledge root problem?). Any thoughs?

Thank you!

Your application is not the display manager.  It is limited to the privileged software - eg. the browser.

screen_read_display() is reserved for a good reason.

There is a security APIs that support future screenshot at 10.2, so wait for it.

screen_read_window() can be used to screen shot of your own application, however.

See you soon,.

Sean

Tags: BlackBerry Developers

Similar Questions

  • My pinball 3d crashes when I go to full screen - how can I fix

    My pinball 3d crashes when I go to full screen - how can I fix

    Hi Dave,.

    I suggest you to follow the steps and check if it helps.

    Method 1: Perform a clean boot, and then check if it helps.

    How to configure Windows XP to start in a "clean boot" State

    Note: Make sure you perform the steps in How to configure Windows to use a Normal startup state to start your computer normally.

    Method 2: Update video card driver and check if it helps.

    How to manage devices in Windows XP

    Note: Read the sections update or change a device driver from the link above to update the driver.

    Method 3: In addition, you can also run Microsoft Fix - it from the link to fix the problem with Direct X.

    Diagnose and automatically fix problems with Windows games

  • Flash 11.8 beta crashes when you exit the full screen

    Flash 11.8 beta plugin crashes when you exit the full screen.

    * The crash of the plugin that brings in ComodoDragon 26.2.2.0 and Firefox21.0

    * The accident occurs in Flash 11.8 beta only

    * Flash Player 11.7.700.202 not crushed.

    * The accident happens on Wndows7x64 and WndowsXPx32 as well

    Steps to reproduce:

    1. install the Flash Player 11.8.800.50

    2. run ComodoDragon 26.2.2.0 or Firefox21.0

    3 open http://www.youtube.com/watch?v=55s3T7VRQSc

    4. click on the icon at the bottom right of the video fullscreen

    -observe the Flash video becomes fullscreen mode

    5. press ESC to exit full screen

    -observe the Flash pluin crashes

    Actual results:

    The Flash plugin crashes

    Expected results:

    The Flash plugin should not fall down.

    The video should play continue.

    Hi, it is already known.

    https://Bugzilla.Mozilla.org/show_bug.cgi?id=869838 = adbe 3556886

    https://Bugzilla.Mozilla.org/show_bug.cgi?id=772097 = adbe 3550712

  • Illustrator CC - CRASHES when create/open the new document.

    My CC Illustrator crashes when:

    -When I open any *.ai file saved on my drive

    -When I try to create the new file

    I can open the Illustrator (empty, without any document) but as soon as I want to open a document or create (file/new) it immediately blocks wit "Illustrator unresponsive" and it closes.

    I tried to reinstall, but it did not help.

    I have 9 (had for 10 days) PC with Windows 8.1

    Yesterday, Illustrator has worked without problem. Today it may simply not work.

    Help, please. Thank you

    Pablo,

    The following is a general list of things you can try when the question is not in a specific file (you tried/made some of them already). 1 and 2) are easier for temporary strangenesses and 3) and 4) specifically preferences might be corrupt); ((5) is a list in itself and 6) is the last resort.

    (1) close Illy and open again.

    (2) restart the computer (you can do that up to 3 times);

    (3) close Illy and press Ctrl + Alt + Shift / Cmd + Option + shift during startup (easy, but irreversible);

    4) move the folder (follow the link with this name) with closed Illy (more tedious but also more thorough and reversible);

    5 look through and try the relevant among the other options (click on the link with that name, item 7) is a list of the usual suspects among other applications which can disturb and confuse Illy, point 15) applies to the maybe CS5, CS6 and CC);

    Even worse, you can:

    (6) uninstall, run the vacuum cleaner tool (if you have CS3/CS4/CS5/CS6/CC), and then reinstall.

    http://www.Adobe.com/support/contact/cscleanertool.html

  • OLIVIER to crash when creating analysis views (originally created array view works fine)


    I was wondering if anyone else has experienced. It seems pretty weird because the initial view is created.

    This is what happens:

    1. I have create a new analysis. Data source is not serious. I tried the sample App Lite & 2 different Essbase cubes.
    2. Drop some columns on the criteria
    3. Click on the results. It displays a table view. I can record and visualize it etc.
    4. If I try to create a 2nd view of any type, including another table the frontal crashes, showing "Processing, please wait"
    5. Connecting to the server, we will see that there is a windows dialog box indicating "nqssserver.exe has stopped working. Windows can check online for a solution... »

    Eventually it times out. I think that nqsserver.exe restart itself. The view is not created.

    OLIVIER 11.1.1.7

    Any ideas?

    -Daniel

    Just thought I would update this to say that oracle has finally given us a single patch for this problem. Not sure when it will be officially fixed

  • Dreamweaver CS3 crashes when creating forms

    Not sure what's going on here. I have built several sites not containing the standard shape handles again no problem. Now all of a sudden when I open a particular page it causes DW to crash. Today, I created a new form page which had no problem then I realized that I would need to cut out the shape in two pages because it was too big for a single page.

    I cut half of the form and pasted into a new blank template page then record successes and of course, crashed and now does not open in DW without causing a system crash.

    Anyone seen this before?

    Has this happened before the end of Daylight Savings Time?

    http://KB.Adobe.com/selfservice/viewContent.do?externalId=kb402776

    --
    Nancy O.
    ALT-Web Design & Publishing
    www.Alt-Web.com

  • Photos crash when creating project

    All the

    Ive recently updated to El Capitan, nit course if that is the problem or not but Im going to ask the question. IM aware there are some threads about photos crashing, but none seems to be similar to mine

    Ive just returned from a trip and try to create photo books.

    All right, but then every now and then I get the spinning beachball colorful and it will not stop. I have to force eject to get the app working again.

    Ive tried to fix the photo library and ive also deleted and re-imported into a time machine to the top

    Not sure if Im something wrong or not, but its really fustrating. Neve had this problem with Iphoto (the old app) does not seem to be updating photos, then El Capitan

    Someone at - it ideas?

    Ive just returned from a trip and try to create photo books.

    All right, but then every now and then I get the spinning beachball colorful and it will not stop. I have to force eject to get the app working again.

    You try to use maps on your Photo Books?

    It was reported that the addition of more of two cards will make pictures crash.   Test, if you create a book, if you do not add more than two cards.

  • Crash when creating a new project FPGA cRIO

    When I want to create a new project with the wizard FPGA cRIO, Labview freezes and blocks ("development system Labview 8.6 had ceased to function".) The wizard detects my cRIO-9073 integrated controller, but when he tries to discover the CompactRIO chassis, the program hangs and stops automatically.

    In MAX, there is no problem discovering the FPGA chip in the cRIO-chassis (RIO0)...

    I tried to use the new FPGA Project Wizard in Labview 8.5. While searching for the cRIO chassis, the program does not freeze, but he says the cRIO-chassis cannot be found...

    When I want to manually select the chassis, I can only choose for the cRIO-9072 and cRIO-9074. There is no cRIO-9073-icon...?

    What I am doing wrong, or is this a bug?

    Kind regards

    Kenneth


  • My laptop crashes when it gets to the screen.

    I accidentally unplugged a usb and I had to reboot my computer. Whenever I do that it goes through a check disk and it wont let me Cancel. When it comes to the office that it freezes or my mouse is very laggy and it won't work. Most of the time that it crashes and I don't know what to do. Can someone help me because I need to go on my computer and I have no idea what to do! Furthermore, I use Windows XP Home Edition.

    Hi nate1102,

    You can try to start in safe mode and check if the problem occurs.

    Check out the link for more information on starting your computer in SafeMode below:

    http://support.Microsoft.com/kb/315222

    Hope this information is useful.

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Windows Media Player crashes when playing songs and the screen turns white.

    Original title: using Windows Media Player 12.

    I have a computer dell laptop old 1 year, win 7 64, ie11, when I got this laptop I ripped my CD music and played very well, now the song would begin and about 10 seconds into the song, that the player will freeze, no longer plays, after the song stops to wmp screen would go blank. I can close and restart the song or try another song and get the same thing, it would freeze again. How can I get wmp to play a full frost free? What can I do to fix this? Julie

    Hi Julie, try to reset the WMP 12. Follow the instructions step by step, as described in the article.

  • RH 9 crashes when creating WebHelp from a file of 8 HR

    I opened several files that had been created using RH8 on our newly acquired RH9. They all appeared to be upgraded successfully. I then went in RH9 to generate/publish these files to make sure that all the data were there.

    All files then generated published successfully except one. RH9 stalled on the popup of WebHelp generating so that the 'update of files... ». I tried for the production and publication and the same thing occurred for both, with the green progress bar stop in the same place every time.

    Cancel was not available and clicking X on the popup gave me the "End program" popup windows telling me that "program is not responding. Clicking the End Now button then closes RH9.

    Is there something special, that I need to check in the file in question? The fact that other files do not have a problem gives suggests that it is this file and not the environment etc. Is there anywhere to look to see what really is the problem?

    Thank you

    Neil

    Fixed now. Removed all subdirectories for the project at fault. Each subdirectory added at the same time, Generating/publication before adding the next. When the G/P failure reappeared which would identify the offending subdirectory. Managed to add them all back with none of them do not.

    Don't know why it does not work, do not know what happened to make it work now, but it's a bit as if she's back as it should.

    Neil

  • Folio Builder crashes when creating pages

    I use InDesign CS6 and I try to create a unique folio from an opening in the design file. I also tried to import but wth without success. In design said building folio success, but the article never ends create - I find myself with a spinning wheel. See attachment. I reinstalled design CS6 and Folio sheet in update. Really frustrated :-( Any help would be great. I found Adobe phones help shockingly bad being live chat!

    Screen Shot 2012-11-30 at 13.46.51.png

    If you can share your adobe ID for the account that you had problems to create the article online, I'll check in our newspapers to get more details about the error. You can send me offline: [email protected]. Thank you!

  • Photoshop CC 2014 crash when you open or create new files when running with Cintiq 13HD.

    I have a problem where Photoshop CC 2014 crashes when you try to open or to create a new file while the Photoshop window is displayed on my Cintiq 13HD.
    When Photoshop is displayed on my main screen, it does not crash.

    I am running Windows 7 (64-bit) and have updated my graphics and wacom drivers in their latest versions and Photoshop is completely up to date. (I'm under the 30 day free trial)


    Here is the log of the events of the accident:

    The failing application name: Photoshop.exe, version: 15.2.1.257, time stamp: 0x543dbc5e

    The failed module name: atig6txx.dll, version: 8.14.1.6398, time stamp: 0 x 54176130

    Exception code: 0xc0000005

    Offset: 0x00000000000122b7

    ID of the process failed: 0x23dc

    Start time of application vulnerabilities: 0x01d0030b1092334e

    The failing application path: D:\Program Files (x 86) \Adobe\Adobe Photoshop CC 2014\Photoshop.exe

    Path of the failing module: C:\Windows\system32\atig6txx.dll

    Report ID: 61680f48-6efe-11e4-aeeb-bc5ff45851ea

    Next, you need to communicate with AMD/ATI to see why his latest driver is crashing on your system and not on the other user's systems.

  • Another that holding down the power button, then by restarting, how should I manage my end 2009 27 "iMac when he crashes on the first blank white screen and won't start?

    Another holding down the power button, then by restarting, how should I handle turn on my end 2009 27 "iMac when he crashes on the first blank white screen and won't start?

    Combinations of keys start for Mac - Apple Support

  • Firefox crashes when you open no matter what context menu - Save as download window, window options, etc.

    This is the third time I had this problem with firefox...

    Firefox crashes when you try to upload images, files, etc. right click context menu opens (with bookmark, save the page, save the image, options etc) but after selecting an option, save the image or another, the real save as dialog box does not open and firefox crashes.

    say many pages open the download and clear history... I can't do that, trying to open the download hangs there, too. like, trying to open any what other dialogues.

    the first time that this has happened, the only solution I could find was a total wipe and re-install (simple uninstall/reinstall didn't work... it had to be weeded manually in the registry).
    the second time that I got just to rebuild my system, so I just do a fresh install on a fresh OS.

    This time I can't seem to solve the problem of uninstalling and re - install...

    Help?

    discovered what he was doing!

    After trying safe mode of firefox and safe mode of windows and any number of other things I gave a little upward for a bit there, but I woke up from a dream in the middle of the night thinking ' based on the conduct in question, it * must * be something in the shell that is the cause. " (Sorry, I dream of geek).

    so I grabbed a shell viewer editor - ShelleExView (http://www.nirsoft.net/utils/shexview.html) (had to use a yucky, any browser to download) and gave him a race.

    I have listed all the extensions of the date they were added as a clsid and trying of think back to when the problem started... about a month or so, after a new system, reinstall. and through a little trial and error disabling, I found the culprit.

    It is an overlay Manager icon set by what is called WagerLogic. After looking into the company's name, I have to assume this was related to one of the annoying "just lost real money on our virtual casino" pop-ups that infest the net nefariously scenic for an easy mark as orphaned Dickens.

    I disabled it and voila! Firefox is still in full function.

Maybe you are looking for

  • Propeller 2 BIOS update failure

    I'm updating my BIOS of helix2 of 1.80 to 1.82. However, when the computer restarts, it shows 'safe flash authentication failed' and stop the machine. BCAP is well updated. Any help?

  • Pavilion: Re-create a system recovery disk

    Can get a good deal on a 32 GB MicroSD card memory + SDHC adapter. Is this enough as a system recovery disk?

  • Take the last value of the timer

    Hello Looking for a help store the timer values. Set the backround: will be used to gather data for tests on mechanical switch lifecycle sump pumps. Needs to: number of cycles (lit-shut down-lit), Count time stuck we or off (authorized in time is the

  • "Path too long" error during extraction solution zipped

    When retrieving a zipped VB.Net 2008 solution, I get an error indicating "Path too long" and the inscription NationalInstruments.Common.Native.dll.deploy (see attachment). I have recently started getting as this error message and I don't want to just

  • Try to burn the DVD when getting message the disc is not recordable

    When you try to burn the DVD we continue to receive the message that the disc is not recordable.  Please insert a recordable or rewritable disc.  We tried the following blank dics, the DVD-R DVD + R DVD - rw and DVD + rw.  Any suggestions?