Is there any solution how to open exe file (as for me as example it's Flash app and Prezi.exe) in view in the UWP app?
Something like this https://www.youtube.com/watch?v=N6GWgxEvibE
Related
I have a Visual Studio project with two start-up applications: a UWP and a console app. In the UWP I launch the Main Page in full-screen mode with
ApplicationView.PreferredLaunchWindowingMode = ApplicationViewWindowingMode.FullScreen;
In the App.xaml.cs file. I then launch external applications in Program.cs by creating new processes and setting their filename to the .exe I want to launch. However, when I do this the UWP Main Page goes into full screen but I can't see the external applications. How to I make the external apps launch in front of the main page so that I can see them right away when I run the project?
How to I make the external apps launch in front of the main page so that I can see them right away when I run the project?
For this scenario, you could minimize UWP programmatically after external apps launched, the app will switch to front automatically.
IList<AppDiagnosticInfo> infos = await AppDiagnosticInfo.RequestInfoForAppAsync();
IList<AppResourceGroupInfo> resourceInfos = infos[0].GetResourceGroups();
await resourceInfos[0].StartSuspendAsync();
Please note you need make sure the app's mini version is Windows 10 update 1803 (build 17134).
I have a WPF application which is converted to UWP using the desktop bridge, Now I need to call this app/exe from windows scheduler to do some stuff. Now my problem is getting access denied. If any app trying run from task scheduler getting this access denied error.
I have identified a workaround to achieve this. My actual requirement was 'I need to trigger an action in my Desktop bridged UWP app from windows scheduler' unfortunately windows scheduler has not read/write access to the uwp apps folder
The workaround was I have packaged a simple exe along with my UWP app package during first launch of the app the packaged exe will be copied to outside uwp sandbox, from the windows schedule I will execute this copied 'exe' say sample.exe and sample .exe will send a custom windows message to my UWP app.
The work around provided by thunderbird would work only with the Desktop Bridged UWP app. Native UWP app cannot do this way.
I am converting my app from a WP8 project to a windows project. If you run the command
cordova platform add windows
Cordova will create a solution with 4 projects, one for Windows 8.1, 1 for Windows 8, one for Windows Phone and the shared project. From what i can see, these are javascript projects, but i need to run some c# code to start a background service when the app starts. In a WP8 project you can add this code to the Mainpage.xml.cs file.
Is there no c# code that runs in these types of projects, or can you attach any code to run upon startup? How do people start background tasks in these apps else?
In Apache Cordova main page, there is a bunch of links to download Cordova Component for each platform. Choose the one for WP8 GitHub repository, and you will be redirected to
https://github.com/apache/cordova-wp8
Download the repository as a Zip from the right hand side of the page, after unzipping the file, you will happily find that the Cordova library and the project template are written in C#.
Is there a way to do this?
Or at least download the executable and letting user open it?
I want to create a WinRT that depends on a desktop service like this
So either sideload the WinRT from desktop or install the desktop app from Metro.
You can't do that in WinRT today. If you had an executable created for ARM Windows RT today, then you could run the app but Microsoft has not released any tools to create such an executable that runs as a desktop app on Windows RT.
I'm developing Windows Phone application.I'm finished.I need application file.How I create application file like .apk for Windows Phone ?
When you build your project you should get a .xap file somewhere in your projects directory.
I have not worked with Windows Phone myself, so i do not know exactly where. But if it is like desktop C#, the default is bin/release, or bin/debug if it's a debug build.
.apk file is an Android file which contain whole application. For Windows Phone 7 equivalent is .xap file. This is just a zip file with the app and resources. Just remember to upload the release one from Documents\Visual Studio 2010\Projects\AppName\Bin\Release\.