1

Possible Duplicate:
how to run my application in background in iphone?

Hi friends. Am new for iphone applicaions. Now am struggle with add Background process in my application. That means i need to run my application after ckick "iphone HOME button". How can i do this.. Can anyone help me???

Thanks in advance...

Community
  • 1
  • 1
Yuvaraj.M
  • 9,691
  • 16
  • 70
  • 98
  • What specifically do you want running in the background? A task? location? voice-over-ip? music? – Black Frog Apr 22 '11 at 09:42
  • I want to running task in background. And how i can check whether device supporting multitasking and background feature??? Thanks for reading my english..... – Yuvaraj.M Apr 22 '11 at 12:07

2 Answers2

1

Since iOS 4.0 iPhone supports "multitasking" this means if you click the home button your app sleeps, this needs almost no battery or memory and if the iPhone run out of memory it will terminate sleeping applications.

Every app supports this kind of multitasking exepted you don't allow it for your app.

But there are also three real multitasking functions:

  • VoIP
  • GPS
  • Music

Those three functions you can really use for multitasking apps. But nothing more...

Fabio Poloni
  • 7,941
  • 3
  • 42
  • 74
0

Your application will move to background,if your iPhone device support multitasking feature, you can select and bring that in foreground, And multitasking is supported in iOS 4.0 and onward.

So for the iOS 3.0 and below, when you click on the Home button then your application is automatically terminated my iOS itself.

Jhaliya - Praveen Sharma
  • 31,542
  • 8
  • 70
  • 75