Issue#2255: Blackberry - Screen recording

  • Good people,


    Can someone PLEASE help me with getting  recording the phone screen working?  I spent a week trying everything, to no avail....


    If I temporarily set the camera unit to CAMERA_UNIT_REAR (or FRONT) just for test, then I get the viewfinder visible and live.  I don't get any errors when setting properties of the viewfinder or with starting it.  Camera roll also opens correctly and I get the correct file name.  But then camera_start_video() always fails with error 4098 or 22, depending on what viewfinder or video properties I set.  Even if remove all of them, I still get error 4098.


    And if I set CAMERA_UNIT_DESKTOP (which is what I need, as I want to record the phone screen) then I only get the requester asking to permit recording the desktop, and after I press "Allow" I only get empty screen and even the onAttached signal isn't fired, which means that the viewfinder window is never attached...


    I'll be extremely grateful if someone can help....


    I've got the following:




    Page {
     Container {
     ForeignWindowControl {
     	id: vfForeignWindow
     	windowId: "vfWindowId"
     	objectName: "vfForeignWindow"
     		updatedProperties: WindowProperty.Size | WindowProperty.Position | WindowProperty.Visible
     		visible: boundToWindow
     horizontalAlignment: HorizontalAlignment.Center
     verticalAlignment: VerticalAlignment.Center
    			onWindowAttached: {


    and .cpp:


    mRoot = qml->createRootObject<AbstractPane>();
    mFwc = mRoot->findChild<ForeignWindowControl*>("vfForeignWindow");
    int ApplicationUI::start_camera() {
     int err;
     err = camera_open(CAMERA_UNIT_DESKTOP, CAMERA_MODE_RW | CAMERA_MODE_ROLL, &mHandle);
     if (err != CAMERA_EOK) {
     qDebug() << "Error opening camera";
     err = camera_set_videoencoder_parameter(mHandle,
     CAMERA_H264AVC_BITRATE, 1000000,
     if (err != CAMERA_EOK) {
     qDebug() << "Error setting encoder parameter";
    int ApplicationUI::stop_camera() {
     qDebug() << "closing camera";
    int ApplicationUI::start_vf()
     int err = EOK;
     QByteArray groupBA = mFwc->windowGroup().toLocal8Bit();
     QByteArray winBA = mFwc->windowId().toLocal8Bit();
     err = camera_set_video_property(mHandle,
     CAMERA_IMGPROP_FRAMERATE, (double)30.0);
     if (err != CAMERA_EOK) {
     qDebug() << "Error setting video properties" << err;
     err = camera_set_videovf_property(mHandle,
     CAMERA_IMGPROP_FRAMERATE, (double)30.0);
     if (err != CAMERA_EOK) {
     qDebug() << "Error setting video vf properties" << err;
     if (err) {
     qDebug() << "error setting videovf properties:" << err;
     } else {
     err = camera_start_video_viewfinder(mHandle,
     if (err) {
     qDebug() << "error starting video viewfinder:" << err;
    int ApplicationUI::stop_vf()
     qDebug() << "closing video viewfinder";
     int err = camera_stop_video_viewfinder(mHandle);
     if (err) {
     qDebug() << "error trying to shut down video viewfinder:" << err;
    int ApplicationUI::start_rec()
     int err = EOK;
     screen_window_t win = mFwc->windowHandle();
     if (!win) {
     qDebug() << "can't get window handle to flush context";
     } else {
     qDebug() << "Got window handle to flush context:" << win;
     screen_context_t screen_ctx;
     screen_get_window_property_pv(win, SCREEN_PROPERTY_CONTEXT, (void **)&screen_ctx);
     screen_flush_context(screen_ctx, 0);
     // open file for output and start the recorder
     char filename[CAMERA_ROLL_NAMELEN];
     err = camera_roll_open_video(mHandle,
     if (err == EOK) {
     qDebug() << "opened " << filename;
     err = camera_start_video(mHandle, filename, NULL, NULL, NULL);
     if (err == EOK) {
     qDebug() << "started recording";
     return EOK;
     } else {
     qDebug() << "failed to start recording - error" << err;
     // the file will be closed and the stop/abort tone will be played by stopRecording() when we exit the state in failure
     return err;
    int ApplicationUI::stop_rec()
     int err = EOK;
     // if a recording is in progress...
     if (mVideoFileDescriptor != -1) {
     // stop recording.
     err = camera_stop_video(mHandle);
     if (err != EOK) {
     qDebug() << "failed to stop video recording. err " << err;
     mVideoFileDescriptor = -1;
     // play the stop/abort tone
     return err;
    int ApplicationUI::windowAttached()
     int err = EOK;
     qDebug() << "Attached";
     // update window details
     screen_window_t win = mFwc->windowHandle();
     qDebug() << win;
        screen_context_t screen_ctx;
        screen_get_window_property_pv(win, SCREEN_PROPERTY_CONTEXT, (void **)&screen_ctx);
        screen_flush_context(screen_ctx, 0);
    start_rec(); }


    Please help or I'll break down nervously...

    0 Answers

    Sorry, your answer is too short !

  • Issue#473558: Blackberry - Screen Roation Issue

    Hello,I started experiencing problems with my screen not rotating.I have troubled shooted like explained...but still continue with issue.My Priv is not evrn a 1 month old...Can I switch for a replacment at my local Carrier?

  • Issue#865468: Geforce - ShadowPlay Issue - Recording second screen.

    Hey All. I have an issue, I run two screens, same resolution etc.. Main one IS set to Primary and what not, second screen I run things like TS on and so forth. With the MAIN screen active and I am in a game on that main screen, if something happens I press ALT+F10 to record last 5 minutes, but ShadowPlay will record the second screen and not the first!! Why? This is getting annoying, I cannot record main screen unless I turn other screen off and de-activate it in Nvidia drivers. My main screen runs over Display Port, secondary display runs over HDMI. Not sure if this matters. If someone knows a way to fix this, it would be great! Thanks

  • Issue#899835: Blackberry Z30 Black or Blank Screen issue. What is the exact cause? Does it appears again?

    Hi,I have factory unlocked BlackBerry Z30 STA 100-5 from Shopblackberry USA (November 30, 2014)Got phone in hand in January 2015. Device came in actual use around March/April (I dont remember exact month) Device worked flawlessly for some months. Then around August/September 2015 i got a notification for "Software Update Available" which i did (Over the air,phone was connected to Wifi). Device was working after update. But within a week or something, while using camera my Z30 screen turned Black/Blank and i was unable to see notifications. Phone did show LED notifications, played sound for incoming notifications. I came to know that this is the issue with the BlackBerry OS update. (The final OS was or I don't remember the exact code. But it was surely an update which caused the BLACK SCREEN ISSUE to the most of the users worldwide.) I did restore to factory settings and software reload on device using BlackBerry Link; but the issue was

  • Issue#1098845: Blackberry z3 touch screen issue

    Hello,  I have been using blackberry Z3 model past 2 years, now getting a touch screen issues the screen is working perfectly but the screen top right corner is the problem which am facing majorly top right corner touch is automatically working and if i open any applications, screen goes wherever that right corner menu goes particulary if i open whatsapp, the whatsapp call initiates automatically if i would get any supports from your end, that would help me to avoid change dream phone  

  • Issue#4597: iPhone 5c: After iPhone 5c Broken Screen Replacement. Camera test issue.

    Hi After screen replacement I can't seem to press or test camera button on lock screen. Please help. Screen seems to work, I can press pass keys or dial keys on lock screen. Thank you for your time.

  • Issue#4934: Blackberry - App opens to a white screen

    Hi Guys, I have a cordova app which I have compiled across many platforms and did so successfully with BB10 - upon trying BB7, I can build the app perfectly fine.. I have whittled the error down to this line: TID:unable to execute in the app blackberry.web.widgetaad633f1fa933740c442c166748e5a6cpackage.Widg[email protected][email protected]|-1 Below is the full output file when launching the app: 0:03:02.296: AM: Starting IntegriSure0:03:02.343: AM: Started IntegriSure(275)0:03:02.343: AM: Foreground is set: IntegriSure(275)0:03:02.343: FocusHistory: Focus lost; App net_rim_bb_ribbon_app; Component NULL0:03:02.343: FocusHistory: Focus lost; App net_rim_bb_ribbon_app; Component net.rim.device.apps.internal.ribbon.launcher.ApplicationAreaGridField0:03:02.359: FocusHistory: Focus gained; App IntegriSure; Component GS(createSurface): Temporarily promoting window size0:03:02.

  • Issue#5305: Playstation - screen brightness issue on new ps4

    Hello,Just got  a PS4 and I'm noticing that when the console first comes on, the screen is bright, but then it dims down very dark. It is not my TV, because when I go back to TV or my other ports, the brightness returns to normal. I have tried: 1. Resetting to default settings2. going through the screen and video sections in Accessibility. Still have the issue and can't understand why. Can anyone advise? Thanks!

  • Issue#5421: Blackberry - Moving icons from Home Screen

    Should be an easy question: Trying to move some icons from home screen to another screen, message apepars saying "icons connot be moved". looking to see how to move them?

  • Issue#5469: rMBP screen hole issue.

    Today when I was studying writing programs. I noticed a small area in my 8 weeks old rMBP, with color dropped. I've seen it with other point of view, thus I noticed that area was a hole. Can anyone tell me how to resolve this case of problem? I remember I have brought a protector plan. Can I send my rMBP to apple to repair it? or change it? advance thanks for information.

  • Issue#6805: Samsung Display: Backlight issue: dark semicircle appears on right side of screen

    So this is a second hand Samsung SyncMaster S23B300 (23") HD DVI monitor but worked fine when I first got it, daily use, no issues till recently so hopefully the previous owner didn't know about it. The issue is, when I turn the monitor on after it being off, a dark semicircular shadow radiates from the right side. If I press on the plastic frame, things return to normal, and after a bit of fiddling I can get it stable and make the screen appear normal again. However, this is becoming more frequent and more difficult to remedy each time it happens. It seems like a small issue and I am used to fixing things myself, I can solder etc, but I have no idea how these monitors work. I am under the impression that it could potentially be a capacitor, or even simply some bad connection. Should I just open it up and have a go? Any tips? Pic: Usually forget to take a pic when PC first starts up, so excuse the peek into my Youtube habits. I have noticed its

  • Issue#7463: Blackberry ID issue

    I have attempted to sort this too many times and support on Twitter... which I do use, keeps saying they do not understand. I have a blackberry Z10, when I first set up my ID the contact e-mail address was for the business I worked for. I have not worked for that business for 4 years. I keep being asked to verify my Black Berry ID, the e-mail address is no longer valid, I will not see a reply, I now have a warning saying if the next attempt is incorrect, I will be unable to use black berry ID for 15 minutes???? All I want to do is change my ID e-mail address How do I do it?

  • Issue#7464: Blackberry - Unable to uninstall Android Apps and screen flickers while opening Messages (Text Messa

    Hi ,I am Blackberry Leap user and I have typical two problems. Please read below. 1. Recently after an OS update to, I have started facing an issue that I am unable to uninstall android apps. They are not been shown on the home screen but they still show as installed through amazon app store and can access them from there. Also cannot find them in App Manager--Device Monitor--- Storage. 2. When I open Messages (text message) through Blackberry hub or Messages option on the home screen. The screen starts flickering. It flickers for some seconds and then stabilizes. I am facing this issue since I have bought Leap (6 months from now). This seems to be a regular problem with the device and happens always. May please suggest solution to these problems. Cheers!!!Praisy

  • Issue#7482: iPad Pro Screen Issue

    Hi guys, I just discovered a very annoying issue on my iPad Pro's screen: there is a spot in the upper area near isight camera (where the clock is displayed on the lock screen), which reacts with lcd pressure distortion even on lightest touch. With normal tap or stylus distortion gets very visible and annoying. I made some pictures and video, demonstrating that issue. @All iPad pro owners: can you confirm that on your devices or I... iPad Pro Screen Issue

  • Issue#10643: Blackberry - locking the Home Screen

    My app icons keep shifting around from time to time as some of them decide they want to be on my home screen. This patently pisses me off. IF should be for me to decide what goes where not for apps to decide. Im now tired of having to reset my home screen to put things back where I want them. IS it possible to lock the home screen so that things stay where I want them to be.

  • Issue#12578: Autodesk - Vault C# WPF multiple screen issue

    I have a Vault WPF .NET C# plugin which opens a wpf window. Now the issue is when multiple screens are connected.WPF plugin opens only in the primary screen. not on he screen where vault is open. Example,Screen 1 is primary screenScreen 2 is where vault client is open When the plugin is fired it always opens in screen 1. I want the plugin to open on the same screen where Vault client is open. Any help would be appreciated.

  • Issue#14142: Android lollipop 5.1.1 screen recording API?

    Hey all, I've got a fairly decent and maybe even weird question for you; Is it possible that an android device doesn't support screen recording, although its version is 5.0+? The thing is, I got an android device - Huawei Ascend Y560-L01 and... Android lollipop 5.1.1 screen recording API?

  • Issue#14521: Android - Camera/Video apps - recording with screen off

    Does anyone know of any video recording apps that will allow me to shoot with the screen turned off/locked? I'm trying to film something that needs the phone to slip into a chest mount, but its kinda difficult to do this without accidentally pressing the screen and stopping the recording. Is it... Camera/Video apps - recording with screen off

  • Issue#14667: Blackberry - No carousel setting for home screen?

    Just got my new Priv. Very much enjoying the phone and the missed keyboard. However, one issue I'm having is I can't seem to find a setting that allows the home screen to carousel. No only that, but when I hit "home" it takes me to the farthest home page on the left instead of the center. Any suggestions/thoughts on this? 

  • Issue#17160: Blackberry - Screen Reader Application

    I am visually impaired and prefer phones with a real keyboard, so I bought a Curve 9360. However, since the screen reader has to be installed on this device manually I am a little confused:First, the manual / user guide is gone. Every link I have seen for instructions for using the screen reader gives me a 404 error. Does anyone have a copy of this?Second, according to , I can install it from my Blackberry phone directly. However, there are no instructions on how to do this, only on using USB. I tried clicking the "download" button anyway and it told me my 9360 device is not supported which it clearly is, so I assume that's only meant for desktop installation.Any ideas?

  • Issue#18100: Notebook - Dell XPS 15 L501x Screen Issue

    I am facing weird issue with XPS 15 L501X screen. It displays windows image for 10-15 seconds and suddenly flickers and goes off(LED lights still on). Laptop screen display has lights but no image. I bought new laptop screen but same situation. I am little confused between cable problem or screen or Video chip problem. Observations posted is completely on external TV. Here below complete illustration. We have 4 option in laptop. 1. Disconnect Projector (Computer Only) - Laptop shows nothing.... Dell XPS 15 L501x Screen Issue

  • Issue#18552: Geforce - Flickering Screen - Issue still not being resolved after almost a year

    Hi, To all NVIDIA administrators or the team whoever handles the driver development, may I ask for you to read carefully and completely the conversation between me and an NVIDIA support technician below, hoping you can assist us: Chat Terminate the Chat Disconnect Print the Transcript Mute sound. Status: Connected Zia (Listening) Zia: Hi, my name is Zia. How may I help you? Paul Chan: hi, regarding the geforce video card Paul Chan: still there? Zia: Sure, I will be glad to assist you with this Zia: Yes, I am here Paul Chan: delay? Zia: Please accept my sincere apologies for the inconvenience, we are assisting other three customers in parallel, hence it may take some time to respond, we appreciate your patience and cooperation while we provide a response Paul Chan: alright, so summary of my problem, after i install my nvidia graphics card updates from the nvidia geforce experience, everytime i play ANY game, about every 2-3 minutes, my monitor flickers for 2 seconds

  • Issue#23962: Geforce - shadowplay manual recording black screen with audio

    manuel recording only has audio with a black screen i downloaded vlc for the convert fix which didnt work. my shadowplay highlights work fine just manual isnt working for some reason. ive tried so many different things working on this for hours and I cant find a fix at all.. please help!

  • Issue#24063: Blackberry - Issue with

    Hello upgraded my Z10 to latest OS release and saw that in App Manger the option allow to install 3rd party apps is blocked? It states blocked by administrator? This is a personal phone from day one. Has anybody else seen this? On Passport SE from ShopBlackBerry purchased a month ago holding out to install this latest OS!

  • Issue#25392: Blackberry - Messenger Emoji Issue

    I am experiencing an issue where emoji are shown in the hub view but when you open the SMS message to view in greater detail or reply, then emoji are not recognized in Messenger.I have tried a few different text apps as well to see what happens and the same effect is seen.I have tried a few Web sites that show emoji and confirm what can be recognized by your phone and all emoji are recognized by my phone.Any suggestions. This is more annoying than functional...Regards...

  • Issue#25641: Possible fix for white screen issue upon launching the game

    If you have a problem with a white screen popping up after you launch the game, and then it says 'not responding', delete the entire Tom Clancy's The Division folder in "Documents/My Games" then relaunch the game which will generate a new folder, that should fix it.

  • Issue#28600: iPhone 5c: screen issue. Only when home button pressed

    Hi I'm having issues with the screen. When I press on the home button on bottom of the screen water marks appear. Like when you press to hard on laptop screen. But only when pressing the button. Thank you for your time.

  • Issue#28745: Sony - HDR CX-440 Stops Recording Then Black Screen

    Hello i am Having an Issue with my Camcorder.i am recording in broad daylight sunny 76 degrees F and my camcorder while recording stops ands say inverting data please wait  or recovering data please wait i didnt get a good look at the pop up and then i see its not recording anymore.. i try pressing record no worky stuck in standbye then it turns to black screen and i fix this bye taking out the battery.. is this due to wealther tempature?

  • Issue#29127: Blackberry - Z30 Touchscreen not working, dowloaded new OS and can't finish setup because of screen

    Hello! Please help if you can. My Z30 touchscreen (running on Tmobile which does not support a Z30) stopped working yesterday. Then, I thought, well, I will download the new 10.3 OS - but now, I can't even get past the setup on my phone because of the touchscreen not working - which it still isn't. I have done MANY soft resets but it still has not worked. And now, my Blackberry Link will not communicate with my phone because I can't finish the setup on my phone. And it now says emergency calls only because I can't finish the setup. Can anyone help please? Thanks! 

  • Issue#29290: Blackberry - Z30 Touchscreen not working, downloaded new OS and can't finish setup because of screen

    Hello! Please help if you can. My Z30 touchscreen (running on Tmobile which does not support a Z30) stopped working yesterday. Then, I thought, well, I will download the new 10.3 OS - but now, I can't even get past the setup on my phone because of the touchscreen not working - which it still isn't. I have done MANY soft resets but it still has not worked. And now, my Blackberry Link will not communicate with my phone because I can't finish the setup on my phone. And it now says emergency calls only because I can't finish the setup. Can anyone help please? Thanks!