background-process

iPhone app detecting wifi network while running in the background

Hi, does anyone know if there is a way for an iPhone app to continuously detect the presence of WiFi networks while running in the background? What are the limitations? Cheers, Marko ...

Get Java Runtime Process running in background

Hi there I'm writing a java application where I require to run a process in background throughout the lifetime of the running application. Here's what I have: Runtime.getRuntime().exec("..(this works ok).."); Process p = Runtime.getRuntime().exec("..(this works ok).."); InputStream is = p.getInputStream(); InputStreamReader isr = new...

Python: spawn or thread for long running background process?

Hi there, I am planning to make a long running background process with Python but I am still unsure whether to use os.spawnle or thread. I've only read about it therefore I have not much experience with either spawn or thread. Is there any rule of thumb when to use which? Thanks heaps ...

How to keep an iPhone app running on background fully operational.

Hi, first of all, I know there is only support for voip, audio and location apps to run in background and that they will run just while the audio is been played or while using location services, etc. What I want to know is if there is a way to keep my app running on background fully operational, doesn't matter the impact on battery's li...

Background Processes in Java Enabled Phones

I am going to build a great application that will serve the students best for making calls. I need to use Java for mobile for that. I am wondering if all the mobile phones except few allows Java programs to run in background? If they do, is it without any restriction or with? I am asking this question because I own a cellphone that bloc...

Advice on background processing in .net...

Hello, I have a webpage that reads data from an external source. It can take awhile to retrieve the data. I was wondering if someone could give me an idea on the best way to have this happen in the background. I would like the page to come up and display 'Processing' (or somthing like that) in the panel where the data will eventually...

Spawn a background process in Ruby on Windows?

I am basically asking the same question as http://stackoverflow.com/questions/2504445/spawn-a-background-process-in-ruby, except I need to spawn a background process in a Windows environment! Unfortunately, my research has revealed that Windows doesn't support Ruby forks (only spoons. Rimshot!). ...

Background process is exiting faster than I can add its pid for management.

I'm creating background processes in C using fork(). When I created one of these processes, I add its pid to an array so I can keep track of background processes. pid = fork(); if(pid == -1) { printf("error: fork()\n"); } else if(pid == 0) { execvp(*args, args); exit(0); } else...

Background Rake Task Help

I would like to create a Rake task that: checks a column in a table row and if its value is false, sends an email with the row information, and then change the value from false to true. Does anyone know the best way to approach this? ...

How to do calculations only for visible cells in iPhone?

Hi all, I have so many cells in table view say nearly 500. Each and every cells have their own images and string paragraphs. Actually i draw those images & strings with the help of UIView's drawRect method. So i need to calculate image and each string's position (including their width & height to measure the cell height and wrapping are...

Background Running Python Script keeps stopping

I made a .pyw python script that I want to have running in the background of my computer. Right now I have it set to launch by putting it in the Startup folder of my Windows 7 computer, which should trigger it to launch whenever it starts up. The problem is that the script seems to stop running at some point for some reason. I think it...

to run app continously in the background

Hi I want to run my app keep running in the background with location services. For this I have used: * (void)applicationDidEnterBackground:(UIApplication *)application { [locationManager stopUpdatingLocation]; [locationManager startUpdatingLocation]; //timer=[NSTimer scheduledTimerWithTimeInterval:300 target:self selector:@...

Do simple task in the background after a long time on iOS 4+

How can you have the simplest tast happen after 5-10-60 minutes on iOS? Essentially, have an NSTimer fire after a predefined interval. I do "begin task", sleep( for some time ); and then "end task". However my app usually gets killed if I sleep for more than 5 minutes. I've seen posts around that mention that apps can stay alive in the ...

kill all processes spawned by parent with `ssh -x -n` on other hosts

Hi A software named G09 works in parallel using Linda. It spawns its parallel child processes on other nodes (hosts) as /usr/bin/ssh -x compute-0-127.local -n /usr/local/g09l/g09/linda-exe/l1002.exel ...other_opts... However, when the master node kills this process, the corresponding child process on other node, namely compute-0-127 do...