launch_default_for_uri


Description:

public static bool launch_default_for_uri (string uri, AppLaunchContext? launch_context) throws Error

Utility function that launches the default application registered to handle the specified uri.

Synchronous I/O is done on the uri to detect the type of the file if required.

Parameters:

uri

the uri to show

launch_context

an optional AppLaunchContext.

Returns:

true on success, false on error.