Using lock screen for my app?
I'd like to make my app use the audio buttons on the lock screen while multitasking. (Yes, like Pandora.) What API am I looking to use? ...
I'd like to make my app use the audio buttons on the lock screen while multitasking. (Yes, like Pandora.) What API am I looking to use? ...
After upgrading to iPhone OS 4.0 the application started to crash after switching between applications. The application crashes in the same place when the application receives a memory warning. It seems like some objects are automatically deallocated when a memory warning is received and then when we try to use the deallocated objects t...
Okay, I'm trying to implement fast switching on my app, and if I don't have to execute any background code / save any user data, do I really even need to do anything ? Or do I just upgd to iPhone SDK 4.0, click compile, and deploy? Is there any way to simulate an out of memory exception, make the OS purge the application to test how it'...
I my testing, when I exit (by pressing the home button) my app, it still is "running" in the background, thanks to the multitasking feature. However, I would like it to quit when the home button is pressed. Is this only happening to me? Anyways, I have tracked it down to the applicationWillResignActive and the applicationDidBecomeActi...
When the user changes NsuserDefaults in settings on the iPhone and activates my app after it being suspended, i want to reload the active view. How can i do this? ...
i am having application running on os3.0 i need to adopt this for ios4.0 wat are the major things i hav to take care... how can i do existing application compatable to multitasking? ...
Hello all, I'm trying to implement OAuth securely as detailed here: http://fireeagle.yahoo.net/developer/documentation/oauth_best_practice#custom-url-osx. I seem to have hit a stumbling block, as I am unable to figure out how to handle a url which launches my application when in the background. I have registered my application to handl...
hi, I have done an application for iphone 3GS and now i want to upgrade the same app to work better for iphone 4 with multi tasking... Can any one help me in making this... My doubt is should i start the project from the scratch making for sdk4 or adding few methods to the existing will reach the target...? Waiting for reply... ...
I have added the UIBackgroundModes property in Info.plist to have an array entry of "audio" and have added the call to setup the audio session: [session setCategory: AVAudioSessionCategoryPlayback error: &error];. However, the only test device I have is the iPod Touch 2G which doesn't support multitasking. I've tried the simulator but ...
When my application goes into the background state and reappears, all CoreAnimations are stopped. In my case the animation in the view was endless, so I would like to restart it when the user resturns. How can I do this? Do I have to listen to applicationDidBecomeActive in every view/layer that has such an animation? That doesn't sound...
Hi all, I set the UIApplicationExitsOnSuspend to boolean and checked the checkbox, so I assumed that - (void) applicationDidEnterBackground:(UIApplication *)application is not called - but I always get into that method when I click the home button in my simulator. Am I doing something wrong or can I be sure that the app will behave t...
Am I missing something here with Multitasking feature. I know we can execute a task in background, but what I really need is that task continues execution when app goes in background. So what I need is different than starting a new task in background. If images are being loaded in a view and user presses the home button to make the app g...
Hi I understand that applicationWillTerminate is no longer called in iOS4, practically. But I have this situation: my audiobook goes in background mode and keeps playing audio; until version 3.x of SDK I saved the point where one listened to the MP3 file, in applicationWillTerminate; now I was told to keep this saving in applicationWi...
Hi All, I'm trying to get 2 tasks to run in my Dynamic C under Micrium uC-OS/II. One task is the http handler, the other reads from the serial port. The serial port task seems to inhibit the http task from running. Any ideas why this is? I thought uC-OS/II was preemtive. void httptask(void* ptr) { http_init(); while(1) { http_...
For the moment I don't want to care about multitasking. My app has a very long development trip behind it, and now it has been engineered that way that when the user hits the home button, the app gets killed. When he comes back, the app appears like he left it. If I wanted to get this same behavior back, which methods would I have to im...
I have iOS 4.0 on an iPod Touch 2nd Gen. There's absolutely no multitasking working. Nothing goes to the background, and double-tapping the Home Button results in just nothing. I wanted to test my app against this new feature, but it appears that it doesn't work for iPod Touch devices? Does that only work on the iPhone? Or is there s...
Was reading through the iOS4 documentation for multitasking, and couldn't figure it out. I basically need to update the badge count on my app's icon after midnight each day as long as the app is running in suspended mode (with multitasking). I know this has to be possible, just can't figure out the best way to do it. Thanks. ...
Hello all, We are looking for a way to timeout an iPhone application, and have tried several methods: NSTimer that resets after an action LocalNotification that resets after an action Both are close, but suffer from unique issues: NSTimer: When the phone sleeps, the timer will not fire LocalNotification: When the app is in the backg...
I have an audio application which works great for iPhone 3.1.x versions. I am trying to upgrade it to iOS4.0 to work in multitasking environment. When I try to create a new "UIBackgroundModes" key in info.plist, it ("Required Background Modes") doesn't show up in drop down list? I also upgraded the Xcode SDK to 3.2.3, Base SDK to 4.0, ...
Hi, I am experiencing an issue with activity indicator freezing when I move application to background and then bring it back to foreground. The application can be loading some data over the network when it is moved to background. Hence I display an activity indicator to the user. I have added the code to make sure that the task finishes...