Quote:
Originally Posted by pavan_sistla
Hi,
I want to know which application is launched i.e. my own application needs the information of application which was started.
|
A way I'd share information like this would be to use what's called a "Custom Protocol Handler".
Imagine your app is App A, and the second app is App B.
In App A, you register the custom protocol handler "appA://" and look for a component of that Url called "notify" for instance... and when App B starts, it tries to open the URL "appA://notify/appB".
Edit: Look at this for example
http://iphonedevelopertips.com/cocoa...rl-scheme.html
Just watch that if App A is not running, then iOS will launch A and bring it to the front.
Cheers,
Coulls