IPhone screen dim in OpenglES app

I have written a small app to show off an animation in OpenGLES but after a while the iPhone screen goes dim (power save mode?) is there an event I can handle to stop that from happening because at the moment the user keeps needing to tap the screen which is undesirable.

\[UIApplication sharedApplication\].idleTimerDisabled = YES;

Similar Messages

  • Compiz Standalone, annoying screen flicker with OpenGL apps

    I am using the Nvidia proprietary drivers.
    Whenever I'm running an OpenGL app, such as virtualbox, and I try to change viewports, the screen goes black for an entire second or two.
    Help?

    Bump.
    I have tried every combination of --indirect-rendering, --loose-binding, SynctoVBlank, etc that I could think of.
    I'm guessing there is some misconfiguration of my nvidia driver or X.
    Section "InputClass"
    Identifier "Keyboard Defaults"
    MatchIsKeyboard "yes"
    Option "XkbOptions" "terminate:ctrl_alt_bksp"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Monitor Vendor"
    ModelName "Monitor Model"
    #Option "DPMS" "False"
    #Option "DPI" "89x89"
    HorizSync 30.0-130.0
    VertRefresh 50.0-100.0
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Viewport 0 0
    Depth 24
    #Option "ConnectToAcpid" "False"
    Option "AddARGBVisuals" "True"
    Option "AddARGBGLXVisuals" "True"
    EndSubSection
    EndSection
    Section "Device"
    ### Available Driver options are:-
    ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
    ### [arg]: arg optional
    #Option "SWcursor" # [<bool>]
    #Option "HWcursor" # [<bool>]
    #Option "NoAccel" # [<bool>]
    #Option "ShadowFB" # [<bool>]
    #Option "UseFBDev" # [<bool>]
    #Option "Rotate" # [<str>]
    #Option "VideoKey" # <i>
    #Option "FlatPanel" # [<bool>]
    #Option "FPDither" # [<bool>]
    #Option "CrtcNumber" # <i>
    #Option "FPScale" # [<bool>]
    #Option "FPTweak" # <i>
    #Option "DualHead" # [<bool>]
    Option "Coolbits" "1"
    Option "NoLogo" "True"
    #Option "TripleBuffer" "True"
    Option "RenderAccel" "True"
    Option "BackingStore" "True"
    #Option "OnDemandVBlankInterrupts" "True"
    Option "MigrationHeuristic" "always"
    Identifier "Card0"
    Driver "nvidia"
    VendorName "nVidia Corporation"
    BoardName "GeForce 8300 GS"
    BusID "PCI:1:0:0"
    EndSection

  • IPhone screen lock turns off app audio

    Why does my This American Life app stop playing when I lock my iPhone screen? And how can I make it keep playing? Is there a setting somewhere that I can change? It's annoying to have to keep touching the screen so it will keep playing!

    Wait, I just realized this only happens when I'm streaming audio -- I'm trying it now at home, with a WiFi connection, and it keeps playing after the screen locks.

  • Why does my iPhone screen dim when I send text messages?

    Whenever I'm texting someone and I tap the voice button to use talk to text, the screen dims to black on my 5s, if my face gets close to the phone.
    Also, if I put the phone up to my ear or near my face whenever I have text message convo window open, the phone beeps and dims. It starts trying to record a memo or something?
    I'm jailbroken and I have never seen this happen before. Any ideas on what is going on?
    Would appreciate any help! - bud

    We really do not support jail broken devices as it violates the terms of this site. That said the dimming when the phone gets close to your face is a normal function via a proximity sensor to stop inadvertent button triggers

  • Feature request - Organize iPhone screen layout in iTunes Apps window...

    As much as I love the jiggly icons and ability to lay out things as I like on my iPhone, I would like to see them all in my iTunes App window, and drag and drop them in that window instead. It would be faster and easier to organize things in the App window, and of course, adjust things a little on the road with the current method on the phone.

    Tell Apple:
    www.apple.com/feedback

  • A magazine's app on my iPad has stopped working.  When I open the Newsstand folder and click on the app, the screen dims briefly, then returns to the Newsstand folder. The other app in my Newsstand folder (Wall Street Journal) opens without any problem.

    A magazine's app on my iPad has stopped working.  When I open the Newsstand folder and click on the app, the screen dims briefly, then returns to the Newsstand folder. The other app in my Newsstand folder (Wall Street Journal) opens without any problem, and this magazine's app opens just fine on my wife's iPad.
    I have deleted the app and reinstalled it from the Apple store and that makes no difference.  I have also done a hard reboot on my iPad with no result.
    Any thoughts about what might be wrong? 

    Hey everyone in Apple world!
    I figured out how to fix the flashing yellow screen problem that I've been having on my MBP!  Yessssss!!!
    I found this super handy website with the golden answer: http://support.apple.com/kb/HT1379
    I followed the instructions on this page and here's what I did:
    Resetting NVRAM / PRAM
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    I went through the 6 steps above twice, just to make sure I got rid of whatever stuff was holding up my bootup process.  Since I did that, my MBP boots up just like normal.  No flashing yellow screen anymore!!   
    (Note that I arrived at this solution when I first saw this page: http://support.apple.com/kb/TS2570?viewlocale=en_US)
    Let me know if this works for you!
    Elaine

  • ITunes 11 how do I arrange apps on iPhone screens from computer? Device tab disappears???

    I just downloaded iTunes 11, and am regretting it. It is super easy to buy new music, apps and vids, but I can't figure out how to get it to display my iPhone screens on the computer.  It will sync, when I plug in my phone via a USB cord, but other than that...what the heck?  I tried to click on my Device tab but the second I do, that tab just disappears.  Nothing changes, I get no screen showing my iPhone screens, no way to move around my apps in iTunes.  What am I missing or doing wrong?  I can go to my Apps tab and see all my apps, in alphabetical order.  I can select them all and update them, etc., etc., but I just can't figure out how to show my iPhone screens while in iTunes. 
    I've searched online and found a How To that shows your phone comes up after you click on the Device tab...but I can't get that Device tab to work.  HELP!  This is driving me nuts and making me feel completely illiterate.

    This is what I done on my Macbook Pro 10.7.5, Using iTune 11.0.1 to Sync with my iPad 2.
    Here you go
    Once iTunes 11.0.1 is up & running
    On the top Left hand side, Click on Apps
    In the Middle of iTunes, Click on iPad or iPhone
    Then on the top right corner, Click on your device icon with the Eject button
    Then you should see you device screen at the bottom were you can start moving around apps or etc.....
    I hope this tip Help

  • Two problems with my iPhone: screen doesn't light up at notifications & iPhone says updated apps still need to be updated

    Alright, I'm having two annoying problems with my iPhone. It's an iPhone 4.
    I'm using the latest iOS.
    The first problem is that when I get a notification (a mail, text message, whatever), I hear the sound that it makes, but the screen doesn't light up. Then, when I click the home or the turn-on / off button (basically when I'm in the lock menu), it doesn't show the notification either. Yet, in the notification settings, I've set up to show them. For example mails. I just received a few mails. For mail, I've selected the banner in the notification center. But I see no banner. I see nothing in fact. I can unlock my phone and go in mail, and see the mail there.
    What could be the reason for this? I've recently done some changes on it, I mean, not exactly on the iPhone, but in iTunes. I removed all photos from my iPhone (over 3000) and all songs that were on it. I decided to sync only the latest 3 months of photos and 3 months of music. I don't think it's related but it's the last thing I've done with it, and since then this has been happening, so I thought I'd mention it.
    My second problem is that, while I was updating my music and photo library on my iPhone, I also synced all app updates. I have around 6 or 7 of them, lurking there for a while, and I never got the time to download them in iTunes and sync them with my iPhone. So that's what I did as well. Strangely enough, when I visit the App Store app, under Updates, it still tells me I have 5 apps to update. I remember one I updated on the iPhone itself.
    They're all listed there with the little bar that shows up when it's loading, except it isn't loading. It's just stuck there, at the very beginning. No, not even at the beginning, because the blue little bar that moves forward isn't even present.The also show up this way on my iPhone "desktop" (Home), and it says "Waiting..." below them.
    I've tried syncing again, and also restarting the iPhone, but it didn't help. Anyone know what's wrong here?
    I appreciate all help. Cheers guys

    Nobody? The second problem is solved! But my phone still doesn't light up or shows a banner or anything when for example a mail arrives?

  • HT1937 I have installed an app : Birdfield guide in my iPhone 4. But the app is not working after installation. It shows black screen when opened

    I have installed an app : Birdfield guide in my iPhone 4. But the app is not working after installation. It shows black screen when opened. I need suggestions to make it work or the reasons for not working.

    Yes TeeKnows, try deleting it and download it again. After finished installation if still shows black screen delete it out off 'running apps' by double tapping the home button and swipe it off. If still shows black screen then try fully turning off your iPad (holding the sleep button) and turn back on again.
    I hope I helped
    thanks
    Lydia

  • The screen on my iPhone is frozen and I can access apps through Siri. The touch screen works within the apps but not in the home screen. What do I do?

    the screen on my iPhone is frozen and I can access apps through Siri. The touch screen works within the apps but not in the home screen. What do I do?

    Have you tried a reset which is similar to a computer restart and is done by pressing and holding the home button and the sleep/wake or on/off button simultaneously until you see the Apple logo and then release?

  • I downloaded a new APP to my iPhone it appears on my screen but can't get it to appear on my wife's iPhone screen.  Her screens were initially full of Apps, I later made room for the new APP but can't get it to appear even after  making room for the new A

    I downloaded a new APP to my iPhone it appears on my screen but can't get it to appear on my wife's iPhone screen.  Her screens were initially full of Apps, I later made room for the new APP but can't get it to appear even after  making room for the new APp.  It can be opened, but I want the APP to be on her iPhone screen as well as on mine.  Help, please.

    Is the app downloaded on her phone also?

  • External screen dims when opening different apps?

    Hi All ----
    Seems my external screen dims and rectifies when opening different apps - like some kind of brightness adjustment going on... it doesnt happen on the MBP, just on the external screen --- i've checked all possible settings on Ext. Displ. / re-booted / repaired perms... cant quite figure it out.
    I dont think this is energy-saver related.
    Many thnx for any help in adv. ---
    cheers,
    J.

    The problem with that is, it's hard to put it back together without assuring that you're not pinching the cable again.
    Instructions can be found here.
    As he says, the cable can be found at Small Dog Electronics:
    http://www.smalldog.com/product/43417
    If you need replacement feet, they can be found at MicroDoc.
    The specific link you need on PowerBook Tech's website can be found here.
    If it looks like too much for you to handle, you may want to check out DT & T Computer Services. Perhaps in a metropolitan area like Austin you can check the Yellow Pages and find a technician willing to match the price.
    At one point, DominionTech in Colchester, Vermont was offering the repair for $79.90, but I'm not sure if that price is still available.
    Good luck.

  • Why is the lower part of my iPhone screen unresponsive (certain apps only)?

    I have an iPhone 3GS, just updated it to iOS 6 last week.
    It has been working fine, but since yesterday the lower 1/10th of the screen (where the send button is for SMS, space bar and other key items) is unresponsive in certain apps.
    For example, I can swipe to unlock the phone from the locked state and generally use the lower 1/10th of the screen, but when I try to use this area in Messages, Camera, emails and other key apps the lower 1/10th of the screen is unresponsive.  Nothing happens when I click action items.  In some apps (messages) it is only the lower left corner that doesn't work.
    Has anyone had app specific unresponsiveness from their iPhone screen?
    I restored the phone last night to no avail.
    HELP!!
    I need it to work until I upgrade to iPhone 5 when it is back in stock!

    iPhone, iPad, iPod touch: Troubleshooting touchscreen response
    Symptoms
    Use this article to troubleshoot the following iPhone, iPad, iPod touch Multi-Touch display (or touchscreen) response issues:
    Multi-Touch display (or touchscreen) does not respond
    Portions of the Multi-Touch display do not respond
    Multi-Touch display is very slow to respond
    Multi-Touch response is erratic
    Resolution
    If your device is experiencing any of the symptoms listed above, try the following steps:
    Restart your device
    Hold the On/Off button until "slide to power off" appears. Slide to power off your device. When it is off, press the On/Off button to turn it back on.
    If you can't restart your device, reset it by pressing and holding the Sleep/Wake button and the Home button at the same time for a least ten seconds, until the Apple logo appears.
    Clean the screen with a soft, slightly damp, lint-free cloth.
    Avoid using the device while wearing gloves, with wet hands, or immediately after applying hand lotion.
    If you have a protective case, or if you are using a plastic sheet or film on the display, try removing them and testing the device without it.
    If the steps above don't resolve your issue, please schedule a service appointment with an Apple Retail Store for evaluation. If an Apple Retail store is not an option, contact Apple to find out your best service option or see theService FAQ for your product.
    Reference: http://support.apple.com/kb/ts1827

  • Is there a setting for iphone 4 to have the screen dim to black while on a call?

    is there a setting for iphone 4 to have the screen dim to black while on a call?

    If you put the phone to your ear, the proximity sensor darkens the display automatically. If you are just holding the phone in your hand or something similar, the proximity sensor is not activated.

  • HT204266 my facetime app has mysteriously disappeared from my iphone screen I did not remove it can someone let me know is this common and can I still use facetime?

    My facetime app has disappeared from my iphone screen.  I did not do anything for it to disappear so what happened?

    On the iPhone there is no FaceTime app or icon for it.
    FaceTime is integrated into iOS.
    You access it through contacts.

Maybe you are looking for

  • IPod cannot be updated because there is not enough free space

    iPod cannot be updated because there is not enough free space to hold all of the songs in the iTunes music library. But my iPod does not show any songs. This all strated when I plugged the iPod in to the computer to charge it. I lost my songs on the

  • Why is my order taking that long to process and to be shipped?

    Well its almost going to be 5 days and my order still says processing in the details it said that it would be shipped from 1-3 days and that it will be delived from Delivers   Jan 11 - Jan 13  via 2-3 Business Days all i want to know is why does it t

  • Fonts not showing in inDesign

    A am using (in two different offices) Extensis Fusion 3 and Universal Type Server 3 (UTS) and both are having the same issue. I am on Windows 7, 64bit with Adobe CS5 with Adobe font collection. All licenced and legit versions. This issue has been hap

  • Saving message when locking a window

    How do we save a message that can be used whenever we lock a remote computer. eg. Computer is no longer available for use. thanx E.D.

  • Error: Overloading ambiguity between "operator+(const RWCString&, const RWC

    We always get the following error when we are compiling our source codes: Error: Overloading ambiguity between "operator+(const RWCString&, const RWCString&)" and "RWCString::operator const char*() const" Our compiler is Workshop 6 update 1. We can c