Unable to reverse idleTimerDisabled.  Is that normal?

I have an app that I want to sometimes keep from going to sleep. I do this:
<pre>
self.application.idleTimerDisabled = YES;
</pre>
to keep the device from going to sleep, which works great.
However, when I want to keep it from staying away, I tried this:
<pre>
self.application.idleTimerDisabled = NO;
</pre>
Which didn't seem to do anything.
I also tried this, thinking that maybe my pointer was no longer the real-deal:
<pre>
UIApplication *ObjAppSingleton = [UIApplication sharedApplication];
ObjAppSingleton.idleTimerDisabled = NO;
</pre>
but still no luck. The app seems to be in permanent stay-awake mode.
Has anyone successfully reversed a call to idleTimerDisabled?

Some observations that might help others:
* I recently upgraded to firmware 2.0.1 (5B108)
* idleTimerDisabled = YES worked when the phone was tethered, but not while untethered, so, after some digging...
* I found that once I copied the application pointer for later calling, then it would suspend sleep the first time the app was installed, but not after re-launching the newly installed app (via springboard instead of xcode).
* Doing this in my app deleagate was reliable (for tethered, untethered, and subsequent relaunches):
<pre>
- (void)applicationDidFinishLaunching:(UIApplication *)application {
application.idleTimerDisabled = YES;
</pre>
* Trying to set idleTimerDisabled = YES via a copied pointer to the application or referencing the singleton wasn't reliable (only tested from different area in the code, not in applicationDidFinishLaunching)
<pre>
UIApplication *ObjAppSingleton = [UIApplication sharedApplication];
ObjAppSingleton.idleTimerDisabled = YES;
</pre>
Your mileage will definitely vary.
Hope this helps.

Similar Messages

  • Unable to reverse the GI of non-valuated material in Vl09

    Hi All,
      My user is unable to reverse the GI for the non-valuated material . The error message occurs " doc 4901151816 does not contain any selectable items".The given below the doc .flow.
    The user did GI for 901 mov.type in VL02n . I have observed that there is no reverse mov.type for 901 in the system . Is the error occurs due to non-exist of the reversal mov.type?
    Please advise.
    Free of Charge 70219835 / 10
    . Purchase order 2245102298 / 10
    . Delivery Standard 80323135 / 10
    .. WMS transfer order 11216908 / 1
    .. Handling unit 348260 / 1
    .. GD goods issue:delvy 4901151816 / 1

    Hi,
    Go to OMJJ and here for movement type "901", under option "Reversal/follow-on movement types" assign the reversal movement type as 602 or (902 copy of 602) and Type of Posting as "2" (Reversal(qty cannot be entered; gener.of matchcode))
    And Reverse in VL09.

  • Unable to reverse Service entry sheet posted in earlier prds

    Hi All,
    We are unable to reverse the service Entry sheet created via Shipment cost document. As the Shipment cost document was created in the month ofJanuary 2011. And now that period is closed. But I am looking the way wherein by changing the posting date to current month date. So that system should allow me to reverse the cancellation of service Entry sheet
    by ticking the cancellation tick mark under the Settlement Tab.
    I need inputs for reversing it in current month. in the similar lines. as we reverse the service entry sheet in ML81N and have an option to change the Posting date. But in VI02, Date Cancellation field is greyed out and we are unable to tried it out.
    So basicaly how to change the posting date in shipment cost document, sothat cancellation should happen in date which is being entered by user.
    Thanks
    Nitin

    Hello there,
    I had the same problem yesterday and we were able to do the reverse of the ship cost provision and the repost using posting dates from this month. Here is what we did:
    For reversing using a different date.
    Go to VI02, double click on the position, go to "settlement" tab and select "Cancellation" box, then use the menu bar in the "Item" -"Redet. settlement date option" , you will have an information pop up message "Redet. settlement date not possible - account
    already assigned to item" ,  just hit enter and the "date cancellation" field will be now available to modify. Put the date you desire and save.  If you go to the document flow, you will notice the cancellation is done and the posting document is in the FI period you desire.
    To repost the same shipment cost with the new date (current period).
    Go to VI02, double click on the position, go to "settlement" tab , Hit the button "delete account assigment" and the settlement date field will be available for change. Modify the date, save and leave the transaction.
    Enter again and from the menu go to "Item - account assigment", and you will notice the system already redetermine the account assigment, go back (F3) and the "Transfer" field is not available to select and save.
    Then you have the new service acceptance posted with the current period.
    I spend some time and couldn´t find the answer in other websites, now that i have the answer, I hope this help somebody else,
    Rgds,
    Sara

  • 144 cycles with only 6% health, is that normal?

    Hi there!
    I´m writing you from Spain cause it seems than the Spanish Apple support service is unable to do or to tell me anything else about my battery. As I wrote on the subject my battery is just with a 6% of health after only 144cycles. The weird thing is that in spite of the fact that the battery is doing more cycles now, the cycle counter doesn´t change at all! Is that normal?
    Do you think I can get another new battery without any charge? My MBP is from March 2007 but it seems not to be under the exchange battery program.
    Thanks a lot!

    Have you calibrated your battery?
    http://docs.info.apple.com/article.html?path=Mac/10.4/en/mh2339.html
    After doing this, do a PRAM reset:
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P, and R.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination 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.
    Then, lastly, an SMC reset:
    If the computer is on, turn it off.
    Disconnect the AC Adapter and remove the computer's battery.
    Press and hold the power button for 5 seconds and then release the button.
    Reconnect the battery and AC Adapter.
    Press the power button to restart the computer
    This should hopefully reset the callibration, and your battery should get better. It's possibly not the battery that's at fault, but how the mac reads the information on the battery

  • I want to make a slideshow to view on my television with image's duration ranging from seconds to an hour or more and I want to use my iPhone or iPad mini to control the television through my Apple tv.  I've been unable to locate an app that will do this.

    I want to make a slideshow to view on my television with image's duration ranging from seconds to an hour or more and I want to use my iPhone or iPad mini to control the television through my Apple tv.
    I've been unable to locate an app that will do this.  The Photos app that comes with the phone or iPad has extremely limited duration controls.  PhotoStream seems to load everything from my phone or iPad not allowing me to just load up a set group of images.
    iPhoto for iPad is getting some terrible recent reviews.  I tried a couple other free apps but they don't use Airplay.
    I can do something like this with iPhoto and my MB Air, but it's kind of ugly to have the computer open in order to connect by Airplay to my Apple TV.  I've thought the iPad or iPhone would be a lower profile controller.
    Am I out of luck?

    Thanks for your help.  Since I'm uninterested in loading all my photos (the only option) into photostream, I won't be able to use the settings in ATV.  I guess I'm just stuck with using iPhoto on my MB Air.  Thanks again.
    paul

  • I am unable to open a project that I have worked on and saved.  I get an error message that the file is damaged and cannot be opened.

    I am unable to open a project that I have worked on and saved.  I get an error message that the file is damaged and cannot be opened.

    Leslie Tanaka
    Travel and detours have kept me from following up sooner. If the problem that you wrote about still persists.....
    Let us go back over that Adobe document regarding troubleshooting damaged projects.
    3. Delete the Application Preferences
    Where you able to follow that path and delete the Adobe Premiere Elements Prefs file at the end of the path? And, after you did, did the saved/closed programs still refuse to open? If you could not carry out this procedure, what were the limiting factors that kept you from do
    7. Test to see if individual media files are causing the problem.
    That is an important one. How far did you get into following the instructions given in the document? If you could not complete the test, what was the major block that prevented you from doing so?
    I want to make sure that we have gone through everything in that document and ruled all factors there in or out. If it was a matter of you not understanding the instructions, I am hoping that the above will channel you questions to me so that I can clarify anything that you did not understand in the Adobe document instructions.
    I do not recall if I asked previously. Even if you cannot open all your saved/closed projects, can you still open a new project and save/close it? Maybe even reopen it?
    Please review and consider.
    Thank you.
    ATR

  • I see "Enrollment Settings" under device groups but it doesn't seem to do anything.  Is that normal?

    Hello, first time poster.
    I'm new to most things apple aside from basic use of ipads and iphones.  I was put in charge of the ipads for my school district and after some research and effort, I've gotten a mac server (on mavericks) up and running.
    I have setup an MDM, gotten the token, gotten the VPP, etc...
    Everything is working as it seems to be working.  But...
    In Device groups, under settings for a device group I see "Enrollment Settings" with things like "prompt user to enroll device" and "Supervise (IOS only)".  So I added a device to a new group, reset the device in question and nothing.  The settings appeared to do nothing.  Is that normal or am I missing something?

    Which version of Server.app?  3.1.2?
    Verifty local DNS services.  Invalid DNS causes other OS X Server components to have issues.  You'll need DNS on your local network somewhere, whether that's served by OS X Server, or another DNS server doesn't matter.
    Launch Terminal.app from Applications > Utilities and issue the following harmless, diagnostic command:
    sudo changeip -checkhostname
    That'll require an administrative password for the sudo, might generate a one-time message about the use of sudo, and will then display some configuration information and then an indication that no changes are required, or that there are network or DNS issues.  If you're not in .local or .arpa, that'll usually give you a good view of your local network configuration.
    The device has to be enrolled with Profile Manager server.   How you do that depends on how you want to manage your devices.   There are various overviews of how this stuff works too, if you're getting started: here is one video.

  • 12 hours to render? is that normal?

    I have a G5 dual 2.7GHZ machine with 8GB of RAM. 250GB internal drive with 140GB available space, 500GB external Lacie drive with 300GB available space. and I keep all my project files on the external drive when I work on any project.
    So, I recently finished an edit that was 28 minutes, 30 seconds. it was an infomercial, so it had a lower third overlay during the entire edit, a few transitions, but mostly cuts, and a few filters on some shots, nothing too intense. I rendered the sequence which took a few hours, not sure.
    then I exported to compressor for DVD, and chose the 90 minute option with one pass- faster encode. 4 hours have elapsed, and I have 8 hours to go.
    is that normal?
    I've been using FCP5 for the first time on a new G5 for a few months now, and all the projects that I've rendered out for DVD so far, I just exported and walked away, and usually came in the next day and it was done, so I never really monitored rendering time until now. I upgraded from a G4 500MHZ single processor using Premiere 6.5, and my render times were not nearly that long. I was thinking that with a G5 that was nearly 8 times as fast, my render time would be much shorter, only it got longer. I love FCP5 much more than Premiere, and OSX is great, but render times are just insane.
    again, from the info that I provided, should my render times be that long, or am I doing something wrong?
    thanks for any insight anyone can give.

    checked my settings, and I had it set to normal.
    while I had that window open, I clicked on the Render Control Tab, and noticed that under Render & Playback, all three options were checked- Filters, Frame Blending For Speed, and Motion Blur. could this be a reason? and if I unchecked say Filters, would that mean, it would render the sequence without any filters I had applied?
    one other problem I have been having just this week with this particular project is that FCP seems to be running really slow. other programs run normal, so I'm pretty sure its an issue specific to FCP. for example, just now when I had the sequence settings window open, and I was click on the tabs, from video processing to render control, there was a hesitation before it would display the tab. Its like driving on flat tires or something. and at this time, I have no other program open except Safari, so its not like I"m taxing my resources. what could cause FCP to bog down?
    thanks for your help.

  • HT201412 My cousin bought iPod touch 5th gen. Then it doesn't turned on. He charge it a charge icon appeared but after 30 mins still off . Is that normal for a brand new iPod touch? Please help me..

    My cousin bought iPod touch 5th gen. Then it doesn't turned on. He charge it a charge icon appeared but after 30 mins still off . Is that normal for a brand new iPod touch? Please help me..

    Not Charge
    - See:    
    iPod touch: Hardware troubleshooting
    iPhone and iPod touch: Charging the battery
    - Try another cable. The cable for 5G iPod (lightning connector) seems to be more prone to failure than the older cable.
    - If a 5G iPod      
    Iphone 5 lightning port charging problem - SOLUTION!
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar
    and
    try:                                               
    - iOS: Not responding or does not turn on           
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable       
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar                              

  • I just downloaded Itunes on my phone and it needed to update a os1. I have new icons now but it erased all my contacts. Is that normal? Are all my contacts gone for good?

    I just bought a square and in order to use it I needed to download Itunes with OS1. I did it but now I have no contacts, is that normal? Are all my contacts gone for good?

    There is no iTunes download for any iOS device.

  • Unable to find a WSDL that has a definition for service

    Dear all
    I have a very simple composite applicationexposing a web service. When I deploy the application I get:
    There was an error deploying the composite on soa_server1: Deployment Failed: Unable to find a WSDL that has a definition for service {http://soa/sf/login}bpelprocess1_client_ep and port loginPort_pt. Please make sure that the port attribute for the binding defined in the composite file is correct by checking the namespace, service name, and port name. In addition, check that the WSDL associated with the binding namespace is imported and currently reachable (check the import nodes at the top of the composite file). Finally, validate the HTTP proxy settings for the server.
    However the build process shows no errors. The entire application was built using Jdeveloper 11.1.1.5 using a pre-constructed WSDL. The SOA suite is 11.1.1.5
    Any pointers will be really appreciated.
    Thanks
    The composite is this:
    <?xml version="1.0" encoding="UTF-8" ?>
    <!-- Generated by Oracle SOA Modeler version 1.0 at [2/28/13 2:25 PM]. -->
    <composite name="SOA2" revision="1.0" label="2013-02-28_14-25-14_553"
    mode="active" state="on" xmlns="http://xmlns.oracle.com/sca/1.0"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
    xmlns:orawsp="http://schemas.oracle.com/ws/2006/01/policy"
    xmlns:ui="http://xmlns.oracle.com/soa/designer/">
    <import namespace="http://soa/sf/login" location="loginToSFDC.wsdl"
    importType="wsdl"/>
    <service name="bpelprocess1_client_ep" ui:wsdlLocation="loginToSFDC.wsdl">
    <interface.wsdl interface="http://soa/sf/login#wsdl.interface(loginPort)"/>
    <binding.ws port="http://soa/sf/login#wsdl.endpoint(bpelprocess1_client_ep/loginPort_pt)"/>
    </service>
    <component name="BPELProcess1" version="2.0">
    <implementation.bpel src="BPELProcess1.bpel"/>
    <property name="bpel.config.transaction" type="xs:string" many="false">required</property>
    </component>
    <wire>
    <source.uri>bpelprocess1_client_ep</source.uri>
    <target.uri>BPELProcess1/bpelprocess1_client</target.uri>
    </wire>
    </composite>
    The WSDL used to generate the BPEL is:
    <?xml version= '1.0' encoding= 'UTF-8' ?>
    <definitions
    targetNamespace="http://soa/sf/login"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns1="http://soa/sf/login"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:flt="urn:fault.partner.soap.sforce.com"
    xmlns:obj="urn:sobject.partner.soap.sforce.com"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:typ="urn:partner.soap.sforce.com"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    >
    <types>
    <xsd:schema targetNamespace="http://uk.gov.fca.sf/login" elementFormDefault="qualified" xmlns:tns1="http://uk.gov.fca.sf/login"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:flt="urn:fault.partner.soap.sforce.com"
    xmlns:obj="urn:sobject.partner.soap.sforce.com" xmlns:typ="urn:partner.soap.sforce.com"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/">
    <xsd:import namespace="urn:partner.soap.sforce.com" schemaLocation="xsd/partner_types.xsd"/>
    <xsd:import namespace="urn:fault.partner.soap.sforce.com" schemaLocation="xsd/partner_faults.xsd"/>
    <xsd:import namespace="urn:sobject.partner.soap.sforce.com" schemaLocation="xsd/partner_objects.xsd"/>
    </xsd:schema>
    </types>
    <message name="loginInMessage">
    <part name="loginIn" element="typ:login"/>
    <part name="LoginScopeHeaderIn" element="typ:LoginScopeHeader"/>
    <part name="CallOptionsIn" element="typ:CallOptions"/>
    </message>
    <message name="loginOutMessage">
    <part name="return" element="typ:loginResponse"/>
    </message>
    <portType name="loginPort">
    <operation name="loginOp">
    <input message="tns1:loginInMessage"/>
    <output message="tns1:loginOutMessage"/>
    </operation>
    </portType>
    <binding name="loginPortSOAP11Binding" type="tns1:loginPort">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="loginOp">
    <soap:operation style="document" soapAction="http://soa:8101/login/loginOp"/>
    <input>
    <soap:body use="literal" parts="in"/>
    </input>
    <output>
    <soap:body use="literal" parts="return"/>
    </output>
    </operation>
    </binding>
    <binding name="loginPortSOAP12Binding" type="tns1:loginPort">
    <soap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="loginOp">
    <soap12:operation style="document" soapAction="http://uk.gov.fca.sf:7101/login/loginOp" soapActionRequired="false"/>
    <input>
    <soap12:body use="literal" parts="in"/>
    </input>
    <output>
    <soap12:body use="literal" parts="return"/>
    </output>
    </operation>
    </binding>
    <service name="loginSrvc">
    <port name="login_port_11" binding="tns1:loginPortSOAP11Binding">
    </port>
    <port name="login_port_12" binding="tns1:loginPortSOAP12Binding">
    </port>
    </service>
    <partnerLinkType name="ProviderRole"
    xmlns="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
    <role name="Role1">
    <portType name="tns1:loginPort"/>
    </role>
    </partnerLinkType>
    </definitions>

    Hi,
    I don't see a loginPort_pt port in the wsdl, but it is referenced by the composite...
    There's only ports login_port_11 and login_port_12 defined...
    Cheers,
    Vlad

  • Auto-Capitalization: How can I set Pages v5.01 to auto-capitalize the first letter of the first word in a sentence and to automatically change lower case "i" to "I" appropriately. I'm unable to find a menu that offers me these.

    Auto-Capitalization: How can I set Pages v5.01 to auto-capitalize the first letter of the first word in a sentence and to automatically change lower case "i" to "I" appropriately. I'm unable to find a menu that offers me these.

    Gavin Lawrie wrote:
    Once it had been established that the iWork rewrite had resulted in some features being lost and others broken, and once Apple had acknowledged the concerns* and suggested they are working on fixes**, I'm not sure what else there is to achieve.
    You are writing that in the perspective of having read about it here already. Repeated often enough that you encountered it somewhere in the posts.
    Users are flooding in here and don't know any of this. Of course we have to repeat everything endlessly.
    Because I like to give precise, understandable and workable answers to repeated questions, and Apple doesn't allow sticky posts here, I created a separate forum which users can consult to look up real answers, and contribute for themselves if they have something valuable to add:
    http://www.freeforum101.com/iworktipsntrick/
    There is a section purely devoted to Pages 5. Add whatever answers you feel will lighten the problems of Apple's 'upgrades'.
    Peter
    * Where have they acknowledged anything?
    ** They have barely anything listed, compared to the massive list of deleted features, and nothing but an extraordinarily long time frame considering they created the problems here and now. Apple has not said they will do anything at all about fixing the real issues, the biggest of which is that the new iWork apps break virtually all the work of existing users.

  • I am running XP SP2 fully patched. I recently upgraded to 3.6.3 and since then, clicking on an icon that normally would open another windows (for example, a printer-friendly version of the current web page), nothing happens. In these situations, I have be

    I am running XP SP2 fully patched. I recently upgraded to 3.6.3 and since then, clicking on an icon that normally would open another windows (for example, a printer-friendly version of the current web page), nothing happens. In these situations, I have been forced to go to IE or Crome in order to accomplish what I need to do. Very frustrating. Also clicking in the slider area has no effect. "Page Up" and "Page Down" keys work. Holding down left mouse button on slider works. Also very frustrating. Can someone help
    == This happened ==
    A few times a week
    == Upgraded to 3.6.3.

    Many thanks.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • I have been working on the same numbers file for the past few weeks.  The last time I opened it was 1 week ago.  Today when I tried to open it I am unable and getting a message that the file is invalid and the index.xml file is missing.

    I have been working on the same numbers file for the past few weeks.  The last time I opened it was 1 week ago.  Today when I tried to open it I am unable and getting a message that the file is invalid and the index.xml file is missing. 

    Hi Tracie,
    I upgraded to Maverick OS X 10.9.5, numbers spreadsheet is saved. Upon re-opening, it appears to be frozen, a warning "file is invalid as index.xml file is missing". I checked, and the file is not "locked". This appears to occur only with using the new numbers app. When I open previous spreadsheets from old iWorks, no such problem occurs.
    How did you resolve your problem?
    Would appreciate any help here.
    Thanks,
    Deehay

  • IPS shows Memory usage 80 % is that normal ?

    Hi there.
    I have a 2 5525x configured as active/standy and bot IPS modules configured with defaults there is no internet connection to them and no traffic passing thru , but IPS show memory usage 80% is that normal ?

    Could be, every environment is different when it comes to IPS. It all depends on what signatures you have configured and tuned.
    Sent from Cisco Technical Support Android App

Maybe you are looking for

  • Jaxws: Setting mime boundary in http header

    hi I am trying to attach a file to my soap message. I use handlers to attach the file.. I have to change the "Content Type"boundary="----=_Part_1_20501244.1204205295369" to some meaningful boundary name in my jax code. I dont know how to set that bou

  • Is it possible to do this on APE or any other product?

    Hello, Does anyone know whether it is possible to make something like this on Adobe Premiere Elements, or would you know what program would be best suited to create this? I've got a video already but I want to add certain images to match the stuff I

  • How to export and compress a video on imovie

    I have a video that is 285MB and I need to it be 50MB is this an impossible task or is there a way of doing this? Please help as the video can be no bigger than 50MB and I would still like it to be a good quality! The version of imovie I'm working wi

  • Released transports not showing in queue

    We released many transports a few weeks ago and ended up changing our transport routes and target groups.  Now, those transports are not showing up in queue.  Is there a way to make those transports appear in the queue again in the sequence they were

  • Simulation loop write to file

    I'd like to write to a spreadsheet the data from the two waveform charts in the attached VI. I've tried using the write to spreadsheet VI inside the loop but get prompted for a file name each iteration. When I put the VI outside the loop, all I get i