1

I'm working on monotouch framework, I'm writing an application for iPhone device, I want to call another program running on the iPhone from my own code...

Anyone can help me with this, usually in C# we just create a process for that exe file.

Is there anyway to do that with monotouch?????

Regards

ManKeer
  • 543
  • 2
  • 6
  • 27

3 Answers3

1

You could of course use URL Schemes, but those suck. I have a blog post on super-duper-easy-peasy local cross-application communication using background tasks in iOS.

It's basically the same way that PhoneGap and Appcelerator Titanium work to communicate back to native platform specific APIs:

Code: https://github.com/anujb/MultitaskingHttp

Blog Post: http://blog.devnos.com/remember-when-apps-didnt-talk-to-each-other

Anuj
  • 3,134
  • 13
  • 17
1

In Objective C code you can go with URL Schemes, using that you can launch another application from your application.

Mrunal
  • 13,982
  • 6
  • 52
  • 96
0

The short answer is that this can only be done of a URL scheme catches it. The long answer has, well---already been answered :)

Community
  • 1
  • 1
Authman Apatira
  • 3,994
  • 1
  • 26
  • 33