Hi Wally,

First of all, thanks a lot for your book, it's my companion for 8 monthsŠ

I'm trying to put on work "Listing 12-2: Extract open URL information",
where another application (or via Safari URL) I can call a "myapp://" to
call my application and do something with parameters passed back.

The thing is, my application is still running, and it calls another
application and, at the end of something, this other application callback my
application and, at this time, my application must execute something with
parameters passed back.

But on book sample we have:

public override bool FinishedLaunching (UIApplication app, NSDictionary
options)
{
if (options != null)
{
var urlOptionKey = new NSString("UIApplicationLaunchOptionURLKey");
var urlSourceKey = new
NSString("UIApplicationLaunchOptionsSourceApplicationKey");
var url = (NSUrl) options[urlOptionKey];
var source = options[urlSourceKey].ToString();
Console.WriteLine("Url = " + url.AbsoluteString);
Console.WriteLine("Source = " + source);
}
Š
}

So, as my application is still running/waiting and it's not in the first
view when this happens, I didn't figure out yet what to override inside a
view controller to execute when I type myapp:// on SafariŠ The application
is called but I don't know how to get this event of external call when it's
already runningŠ FinishedLaunching it the first thing called on App start
but I don't know what to do when it's already running.

Any tips?

Thanks,

Karl



_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to