I am trying to open files in my native application from my application.
Windows.Storage.ApplicationData.current.localFolder.getFileAsync("downloads\\" + fileName).then(
function (file) {
var options = new Windows.System.LauncherOptions();
options.displayApplicationPicker = true;
options.desiredRemainingView = Windows.UI.ViewManagement.ViewSizePreference.useHalf;
Windows.System.Launcher.launchFileAsync(file, options).then(
function (success) {
if (success) {
} else {
}
});
});
I tried using LauncherOptions.DesiredRemainingView so that each launch has a split application screen (50/50) and your own applications open whatever size they are by default. Reader (50%), Photos (70%).
The Windows Dev Center application for the Windows Store has a launch sample that includes various DesiredRemainingView enumerations , and none of the operations listed were processed when I built the downloaded sample.
Are there other options (LauncherOptions) that I need to change / set?