multitasking Questions

3

Solved

Can I get a phonegap application running on iOS 4 to have a background service when it's not the active app (e.g. check a url every hour and alert the user if there have been any changes)? And if...
Stria asked 1/10, 2010 at 18:16

2

Solved

I'm planning to implement multi-task in my app. I can see many methods here to do that in the AppDelegate like applicationWillResignActive, applicationDidEnterBackground, applicationWillEnterForegr...

6

Solved

I am looking for a way to have an iPhone application run in the background indefinitely. This app will not be using location services or VoIP, but instead be preforming a specific task (sorry but I...
Moats asked 9/8, 2011 at 14:53

3

Solved

I read this Wikipedia text slice: Because a cooperatively multitasked system relies on each process regularly giving up time to other processes on the system, one poorly designed program can con...
Conversable asked 29/6, 2011 at 13:32

3

Solved

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 i...
Obeisance asked 15/7, 2010 at 1:17

9

We're developing iPhone GPS application for car drivers. As you probably know, iOS4 introduced multitasking, so our application can run in background - and it is. It's part of its functionality. ...
Corry asked 23/7, 2010 at 13:59

2

Solved

I was wondering whether Lua has any preemptive multitasking facilities built-in. I would like to have concurrent threads to use on my multi-core system. I looked into coroutines (see lua-users.org...
Subversive asked 23/3, 2011 at 16:18

1

I searched on the Internet alot but cant find a proper answer to this. I have used apps like 3G watchdog and Advanced task killer on my android phone. I noticed that they always have an icon up wh...
Prudhoe asked 13/2, 2011 at 7:33

1

Solved

I want my app to reload data as soon as the app switches from the background to the foreground. Thats my code: DataAppDelegate.h #import <UIKit/UIKit.h> #import "DataViewController.h" @c...
Predictor asked 7/2, 2011 at 10:1

2

I'm using NSURLConnection to download resources asynchronously in iOS. (They are large-ish PDF files, so it takes some time on a slow connection.) Now I'm updating my app from iOS 3 to iOS 4. As m...
Criticize asked 28/11, 2010 at 15:8

1

Solved

While running some tests I've noticed that when an app (with no background privileges, i.e. voip, gps, etc) enters the background state, any background threads (or concurrent NSOperations) running ...
Aback asked 21/1, 2011 at 18:8

5

Solved

I wrote a program in F# that asynchronously lists all directories on disk. An async task lists all files in a given directory and creates separate async tasks (daemons: I start them using Async.Sta...
Proceeds asked 5/1, 2011 at 20:28

2

I'm making an alarm clock app with multitasking support. However, I'm stuck with some limitations of the sdk. I need to play selected alarm sound whenever the alarm time comes with some propertie...
Electrolytic asked 9/10, 2010 at 21:31

1

Solved

I was just wondering if it was possible to make an iOS app that would track your location via GPS while it was in the background. I tried this with the built-in app "Maps", but to no avail. If th...
Nurture asked 9/12, 2010 at 16:32

1

Solved

Would it be possible to use the audio controls in the multitasking tray for non-audio related tasks? (For example, putting the app icon there, or using the buttons to respond to something else?) ...
Simian asked 11/11, 2010 at 20:11

2

Solved

Assuming this is possible, I would like my iOS application, when backgrounded, to poll a server (i.e. essentially, retrieve the contents of a URL every 30 minutes and notify the user if it contains...
Felid asked 27/10, 2010 at 11:46

1

I have an application wherein when the user taps iPhone's central button, the application is sent to background, but I want it to be closed. I can hand event and close it, but may be there is some...
Sullen asked 20/10, 2010 at 23:36

4

Solved

I'm new to iPhone development. I'm building an app that loads data from a local sqlite3 DB in - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOp...
Reft asked 15/10, 2010 at 14:31

0

My app plays background audio using AVAudioPlayer and receives remote control events from iOS. Everything works fine while audio is playing, but if audio is paused and my app is moved into th...
Peculiarity asked 17/9, 2010 at 20:57

4

Solved

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 ...
Buckner asked 6/7, 2010 at 11:1

1

I'm currently testing the latest iOS4 Feature to put my location aware app in the background. Well, it does work! But on the other hand it's quite hart to handle the immense power usage. The app ...
Ruching asked 28/8, 2010 at 1:28

1

Solved

I updated to the latest iOS 4 SDK, and updated my iPod touch to the latest OS fine. I built my application against 4.0, and it appears to use the multitasking functionality fine. However, when I ru...
Notation asked 9/8, 2010 at 6:55

1

Solved

I am assuming I need to implement: [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(resignActive:) name:UIApplicationWillResignActiveNotification object:nil]; but am...

1

Solved

I'm trying to play sequence of audio files in the background using AVAudioPlayer. When the app is not in the background it plays well, but when the app goes to the background it won't play the seco...
Ed asked 21/7, 2010 at 8:48

2

Solved

I am working on an app for iOS 4.0. The app was originally on 2.2.1. I upgraded it to a universal app, but now it seems to be multitasking. When I press the menu button while running the app, inste...
Gentility asked 16/7, 2010 at 19:25

© 2022 - 2024 — McMap. All rights reserved.