Keeping the backlight on during video playback with alarm does not not with OS 4.7 round

I am developing an app that plays the video using the alarm, like this:

player_ = Manager.createPlayer(url);
player_.realize();     

VideoControl_ = (VideoControl) player_.getControl("VideoControl");
                videoControl_.initDisplayMode(VideoControl.USE_GUI_PRIMITIVE,                 "net.rim.device.api.ui.Field");
videoControl_.setVisible(true);
player_.start();

The duration of the video is longer than 2 minutes. On OS 4.6 device such as the curve, the video plays without the screen goes black.

However, on the circuit of 4.7 OS, screen goes black even if I try to activate the backlight on regularly, like this:

        final Timer t = new Timer();
        TimerTask tt = new TimerTask()
        {
            public void run(){
                Backlight.enable(true, 240);
            }
        };

        t.scheduleAtFixedRate(  tt, 0, 240000 );

The integrated application of Media Player can play the video even without the screen going dark.

How can I avoid the screen of goes black on device OS 4.7 during video playback using VideoControl?

Thank you.

Now works with this change:

t.scheduleAtFixedRate(  tt, 0, 24 * 1000 );

Tags: BlackBerry Developers

Similar Questions

  • stop the display of the controls at the bottom of the screen during video playback on windows media player

    How to stop the display of control at the bottom of the screen during video playback on windows media player

    How to stop the display of control at the bottom of the screen during video playback on windows media player

    Use the following steps and controls will NOT appear when you play multimedia player mode full-screen:

    Open Windows Media Player > tools > Options > Performance tab > uncheck "Controls display full screen" > apply/OK for the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • Media Center crashes during video playback of need to hard reboot.

    Hi, any help would be greatly appreciated as this has been driving me crazy for several days of attempted troubleshooting, Googling, try many things to fix it... first of all let me apologize in advance for the length of my post but I wanted to give as much information as possible to help anyone trying to rule out things...!

    OK, so the problem...

    I installed Windows 7 Ultimate 32 bit as a clean install on my HTPC, after the first do a complete 1 & 0 format of the hard drive that had previously installed Vista Home Premium, installation went well and I proceeded to install all updates to Windows, and then update drivers for all my hardware.

    The system is used only as a HTPC, it's my only TV and video playback device, (so reliability is essential for me) and it is connected to a defintion of Sony, 44 "Widescreen Rear Projection TV Standard, via S-video, with audio goes to a system DD/DTS 5.1 Surround Sound Speaker Logitech z5500, via a sound card by using the optical cable (specifications of the complete system below).  The system worked flawlessly more of one year using Vista SP1 32 - bit, until I upgraded to Windows 7 Ultimate on the hardware configuration identical.

    Since installing Windows 7, it worked fine for the first week, not a single problem, I am housebound are disabled so that the system is in continuous service 24/7 and he had no problems in the first 10 days, however all of a sudden I'm getting now random freezes requiring a hard reset , but it occurs during video playback of any of my 3 hard disks, or when you try to play a DVD in Media Center. Which led me to think it is associated video (problem of driver or hardware fault) card, disc or HARD associated.

    Frost can occur sometimes, after a few minutes of reading, or sometimes after a few hours, requiring a restart of the hard to get the sytem to answer.

    Reading of the TV via the TV Tuner card is not affected, its only when playing of stored content (MPEG2, h264 .mkv .avi files or DVD) are all media SD HD and all played fine for the first few days.

    Intermittent freezes occurring could block the system completely freeze the image and audio and all activities, nothing would work at all, I tried windwos keyboard, ctrl alt del, nothing at all, to do a reboot hard to recover the system, it can then be either minutes or sometimes an hour before the same thing happens again. I tried to use different video files in the case of the corruption of files, different DVD to exclude damaged disks, same result.

    System includes:

    1. Map - mother ASUS M3A32 - MVP Dlx, Socket AM2 +, 790FX/SB600 chipset, BIOS v.2003
    2. Operating system - Windows 7 complete edition 32-bit Retail (clean install, all the Windows installed updates)
    3. CPU : AMD Phenom 9950 Quad Core @ 2.6 Ghz (stock)
    4. RAM - 4 GB Patriot Extreme Performance DDR2-800 5-5-5-15 2T
    5. Graphics card - ASUS Nvidia 8800GTS @ settings inventory 320Mo
    6. Sound card - card of ASUS Xonar D2X PCI-E
    7. Card TV Tuner - Hauppauge PCI-E WIN - TV Nova S more DVB - S directly connected to the flat outer of satellite, with remote control IR IRBlaster
    8. Player - optics Sony/NEC Optiarc DVD - RW Labelflash
    9. HARD drive 1 - (Startup disk) Samsung Spinpoint 160 GB SATA II
    10. HARD drive 2 - (Only for TV recordings) Hitachi 160 GB SATA II
    11. HARD drive 3 - (Storage media) Maxtor 1 TB SATA II
    12. Netwrok adapter- EDIMAX PCI 54 g Wireless Adapter - uses a RALINK driver
    13. Keyboard1 - Logitech Dinovo Mini Bluetooth wireless keyboard
    14. Keyboard & mouse 2 - Logitech MX3200 wireless mouse/keyboard combo
    15. Speakers - Logitech Z5500 5.1 Digital Surround Sound via Toslink optical cable connected to the ASUS Xonar Sound Card S/PDIF optical

    All the material above has had pilots upated since the sites of respective manufacturers, including BIOS of motherboard, chipset, graphics card, network card, sound card, card TV, keyboard (Logitech Setpoint) etc... etc...

    Initial added after Clean install software:

    1. Internet Security - Comodo Firewall v.3.13.126709.581 (updated daily since installed)
    2. Antivirus - Alwil Avast Professional 4.8 v (update daily & daily analysis of all local drives)
    3. Browsers: Firefox v. 3.5, Google Chrome
    4. MCEBuddy v.1.1 - for automated video Conversion of MCE .wtv smaller file size .avi TV recordings

    All of the above software has been installed by using the latest available versions downloaded from the manufactuer sites, which claim to support Windows 7 and all have been updated regularly since its installation.

    I have tried many of the suggestions I've seen posted to try to solve this problem, including:

    1. Uninstalling and reinstalling Media Center and WMP
    2. Disabling subtitles in Media Center
    3. Disable unused mobo onboard devices in the BIOS
    4. Update BIOS
    5. Updated all drivers
    6. Disabling Control Panel Nvidia PhysX
    7. Disabling the Enhanced Sound features for reading devices
    8. Run CCRegistry cleaner
    9. Run many Virus scans nomral mode and safe - no problems found
    10. Don't run the Checkdisk on all HARD drives - no problems found
    11. Run the SeaTools Diagnostic tools for HARD drives - all disks HARD discover OK
    12. Tried playing files AVI of HDD separated to avoid a HARD drive problem - same problem occurs on all readers
    13. I tried change graphics card for an ATI HD4850 with the latest ATI drivers - same problem.
    14. Tried to change the audio output S/PDIF instead of Xonar Soundcard onboard - same problem occurs
    15. Tried the Windows 7 repair facility - problem persists.
    16. Tried to uninstall all updates of Windows -same problem
    17. I tried the system restore to before the occurrence of the problem started - no help
    18. tried to re-downlaoding all hardware drivers updated and re - install in the case of a corrupt driver download - no chance even problem

    Essentially none of the abvoe helped to solve this problem, and it becomes really frustrating to have to restart the PC again and again trying to watch a recorded video file or DVD.

    After remove all the above I can only assume that it is a problem with Windows 7, needing a fix of the millisecond.  At least I think that I've exhausted everything I can try... ???

    With what is my HTPC, if I can't perform reliably, I have to reinstall Vista, Vista was not the best OS, but at least it was reliable for me in terms of my HTPC.

    I was really eager to get Windows 7, I used the RTM version on my netbook for some time before I made the decision to purchase the full retail version for my HTPC, and never had any of these problems with my installation of netbook that I used for playback of media files from an external USB HDD.  So I'm really disappointed to have these problems after doing all that I could to make sure that Windows 7 would work OK.

    If anyone can give me any suggestions of what I can try, anythign I can too watching, or if someone has hada similar problem and found a solution for him... Please, please, post more details, because I am really at my wits end now and have to resort to watch the recordings on a 10.2 "screen of my netbook with some speakers of the small laptop usb, after spending so much money on my system and surround sound Setup HTPC, its devastating to think that I'll have to go back to Vista...

    Absoultely ANY suggestions would be appreciated...

    Thanks in advance for any help and once again, I'm sorry for the length of the post, if there is more information needed I've not provided above, please let me know and I will try to publish as soon as POSSIBLE...

    After the forum of scouring and reding of countless discussions, it seems, there is some sort of problem with Media Network Sharing tha could be the cause of this problem, as many people have reported that disabling wmpnetwk.exe in the Services.msc solves the problem.

    It's not an ideal solution for me, as I have a HTPC in the room that I play media from the main HTPC downstairs and all the hype MS seemed to suggest that Win 7 is it is much easier to achieve, and has been one of the main points of sale used in one of their commercials for the operating system.

    This my MS you need to pay attention to this problem and work towards a solution and allow users to know when the solution has been provided, probably have a service that must be disabled to let the operating system work reliably is quite counterproductive.

    Nobody seems to answer my post above with other suggestions and wmpnetwork.exe disable workaround was published last November, all the while still there is no permanent solution...?

    EDIT: Just to confirm this wmnetwork.exe Netwrok disabling media sharing in the services, as well as disabling the media streaming in the Netwrok Sharing Center > advanced sharing Options, solved the constant crashes for me.

    So all the MS speak of 3rd party drivers for the cards video and other material or material defects are to blame, it's total BS, the only problem is to do with Windows and Windows Media Sharing, lets hope, they decide to do something to fight it... !!

  • I have a thumping sound during video playback.

    I have a computer Dell Inspiron 1545, 64-bit laptop, equipped with Windows 7 family Premium SP1. During video playback, streaming online or a video on my computer, I get a noise very loud from time to time. It is almost an audio feedback effect. Sometimes the video hangs at the noise. I've updated the audio drivers; I deleted the audio driver in the Device Manager and rebooted I tried another card sound and different speakers. Nothing works; I always get the noise and the occational of freezing. I read a lot of articles online from other Windows 7 users, indicating the same problems, so I have to believe that this is a problem with Windows 7 itself. If you go on Bing and just type in Windows 7, this site and others coming, talking about sound and freezing problems. What is the problem with Windows 7 and what is Microsoft going to do to correct the problem? I often have to connect my laptop to my TV for playback of movies, but the noise is very discouraging. Help!

    Hey,.

    Follow the methods provided by bluto32.

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-pictures/automatic-volume-leveling-during-audio-playback/f9656c4a-B5E7-4cff-B029-7577f0efa549?TM=1371183288230

  • "This website does not provide identity information" during video playback.

    Hello, I have sign of insecurity connection during playback of youtube videos, either on facebook or youtube (for other sites, I don't know yet). When I put the pointer at him, he says "this website does not provide identity information. Why is this happening?

    When you're on https://youtube.com and start playing a video, it will be probably recovered by a non-secure http://-connection (because of pressure on the resources of other servers). even if a single element on the page (the video in this particular case) is not loaded via a secure connection that will be reflected in the indicator of site security and that's why you get the message.

  • Get heet even during video playback online

    MY iPhone 5is getting heet during video playback online

    It is normal for an electronic device get a little warm with use, but should not be too hot.  If it's not too hot, take a go-Genius Bar or visit you local Apple authorized for this extract. https://locate.Apple.com/country

    -AJ

  • Sound and image's market during video playback by electronic mail.

    Original title: videos sent in emails

    Sound and image's market during video playback by electronic mail. (IE, trailer attached, you tube)

    Hello
     

    1. How do you access the email? Using any email or via an Internet browser client?
    2. If you are using Internet explorer, which version is installed on your computer?
     
     
    Method 1.
    Given that most online videos require Adobe flash to work I suggest you install Adobe Flash player in Internet Explorer.

    I recommend you update Adobe flash player from the website below:
    http://get.Adobe.com/flashplayer/

     
    Method 2.
    a. If the problem persists, you can optimize Internet Explorer.
    See the link below for more information.
    How to optimize Internet Explorer?
    http://support.Microsoft.com/kb/936213
     
    b. If nothing works to solve the issue try reset Internet Explorer.
    How to reset Internet explorer:
    http://support.Microsoft.com/kb/923737
    Note: After resetting Internet explorer you will need to install Java runtime library and Adobe flash again.
    WARNING:
    Please note that reset the settings of Internet Explorer running resets all of the settings defined by the user, including those established by the installed extensions, toolbars and other add-ons for IE by default. This includes all the security, privacy and settings area. Also this will erase browsing history, delete all temporary Internet, cookies, form data files and especially all the passwords.
     
     
    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    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.

  • I need to export videos using adobe premiere with these video resolution: DV 25 420, MXF. I have tried many of the export preset, but the MXFop1a give a video exorted with codec 411 instead of 420

    I need to export videos using adobe premiere with these video resolution: DV 25 420, MXF. I have tried many of the export preset, but the MXFop1a give a video exorted with codec 411 instead of 420

    It doesn't seem to be any adjustment for this user.

  • I need help on how to audio output when I go. I ticked the box at the bottom, but when I go to view my video on quicktime, it does not play audio.

    I need help on how to audio output when I go. I ticked the box at the bottom, but when I go to view my video on quicktime, it does not play audio.

    GUYS, I GOT IT. AND THE SOLUTION IS WAYYYYY WITH JUST A RENDERING. So after countless time I spent trying to make it, I found a way that me really happy that my old rendering has not worked. All you have to do is download adobe media encoder and BAM your gold. I make it in h.264 that i couldt using the old rendering and now it works fine.

  • my iphone 5 s has been disabled. I'm trying to restore my iphone with itunes and itunes asks me to put the password for my iphone. but my iphone does not display the unlock screen. What should I do now?

    my iphone 5 s has been disabled. I'm trying to restore my iphone with itunes and itunes asks me to put the password for my iphone. but my iphone does not display the unlock screen. What should I do now?

    Hello

    Follow the instructions here:

    If you have forgotten the password for your iPhone, iPad or iPod touch, or your device is disabled - Apple supports

  • my iPhone 6s has problems with the GPS when I use some applications, it does not work well and give especially the bad road. Can someone help me?

    my iPhone 6s has problems with the GPS when I use some applications, it does not work well and give especially the bad road. Can someone help me?

    My iphone 6 has started having the same problem. Its literally the GPS. Saying that it does not find me at all. Ive seen say location for more than an hour in the suburbs of chicago. It started to happen to me after I downloaded the latest update for the iphone. I hope they react and let you know what is happening because I'm dying to know as well.

  • the webcam built into my Medion Akoya laptop does not work with Skype

    the webcam built into my Medion Akoya laptop does not work with Skype... Thanks in advance

    Do Skype supported say when contact you?

  • recommended security cumulative ie8 and compatible display updates fail. can install it with the installer of standalone download but then ie8 does not connect. If I remiove update ie8 works very well

    recommended security cumulative ie8 and compatible display updates fail. can install it with the installer of standalone download but then ie8 does not connect. If I remiove update ie8 works very well

    Hi mikedav,

    Thank you for using the Microsoft Windows Vista Forums.

    Method 1:

    Microsoft has released a new "Fix it" solution that should automatically solve your problems with Windows Update.  Just click on the link below and follow the instructions.

    How to reset the Windows Update components?

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

    If you are not able to connect to the internet after you install the update, you need to optimize Internet explorer by following the instructions below.

    Method 1:

    Follow the instructions in the link below which will help you solve the problem.

    Tips for solving problems with Internet Explorer

    http://windowshelp.Microsoft.com/Windows/en-us/help/8038f9ac-9bf9-4809-8d75-fc42818d8af71033.mspx

    Method 2:

    Follow the instructions in the link below to optimize Internet Explorer.

    How to optimize Internet Explorer

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

    Please post back and let us know if it helped to solve your problem.

    Kind regards

    KarthiK TP

  • Possible error with module GWT.xml file. The value of time compilation agent user (ie6) does not match the value of user.agent (ie8) run time

    Hi there... How can I sort this problem as this message looks back constantly on google Account... ERROR POSSIBLE WITH GWT. The value of time compilation agent MODULE XML FILE user (ie6) does not match the value of user.agent (ie8) run time

    Hello nEve Adam,.

    Thanks for the return of the response.  Below, I've added some links Google support on this issue.  I hope this helps.

    ERROR: Problem Possible with your *. GWT.XML file module. The value of compile time user.agent (opera) does not match

    http://www.Google.com/support/forum/p/blogger/thread?TID=2d6d9bd1326a07c4&hl=en

    In addition,

    Message from Web page

    http://social.technet.Microsoft.com/forums/en-us/ieitprocurrentver/thread/53194559-306a-4ffc-a614-4bac817f178d

  • I'm scanning in legal size docs. with my printer/scan/fax. The application of fax scan in windows 7 does not show an option to paper size for legal-size paper.

    I have a new HP with Windows 7.  I'm scanning in legal size docs. with my printer/scan/fax.  The application of fax scan in windows 7 does not show an option to paper size for legal-size paper.  I could do this on my old XP computer.  Microsoft forgot add parameters of legal size in this application?

    Hello notnewbee,

    Thanks for posting on the Microsoft answers Forum.

    You do not give the model of your printer/scanner/fax machine so I can't direct you to the website of the manufacturer of specifc. However, I would
    you go to the website of the manufacturer of your printer and download the latest drivers for Windows 7. Sometimes, if you use a driver that is not intended for your operating system, then your device can operate and install, but some features may not work.

    If they do not have an updated driver, then try the compatibility mode for Windows XP and see if your printer will work correctly.
    The information below will show you how you can make older programs run on Windows 7 here.

    If please reply back and let us know if this helps solve your problem or if you still need help.

    Sincerely,

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

Maybe you are looking for

  • How to adjust the video memory on Satellite A100-811

    Hi all There, an agency know how to adjust the memory of the video card in the laptop Toshiba Satellite A100-811?The physical memory of my laptop is 512 MB, I want to share my 128 MB videocard, nomatter if 384 will remain in my physical memory. Your

  • HP Officejet Pro 8600: Recently a fax pops up when I try to print photos and the picture does not print

    We have a printer all-in-one HP Officejet Pro 8600 operating from a desktop HP with Windows 7. Recently, in the last two weeks my wife told me, we cannot print photos. The documents appear to be printed without a problem, but when trying to print a p

  • Z560: power on z560

    Little used Digital Entertainment Center now will not be powered.  Power cord changed - still no answer.  Blue light does not come on to the market button / stop.  No response to wireless keyboard or remote control either.

  • Help... not able to go online

    I have an HP mini and I am not able to go online. When I checked, there was a! 801.11/WLAN Broadcom, Marvell Yukon 88380PCI-e fast ethernet controller-symantec network security miniport and WAN min (IP) port... is there a way I can fix this... Thank

  • Laptop doesn't receive not updates soundcards

    My computer is a computer game Asus with windows vista, I had quality with this notebook PC services. But recently I noticed that when starting Windows Update box says that it can not be updated, has era code 80070002. I followed suggestions and did