uwp

Google APIs for UWP not playing nice with custom redirect scheme

牧云@^-^@ 提交于 2019-12-07 19:02:49
问题 I'm writing a UWP application that will work with the Google Drive APIs. My issue seems to be out of poor documentation from Google for UWP applications. In the documentation it states: Additionally, you can use the reverse DNS notion of the client ID as the custom URI scheme (e.g. com.googleusercontent.apps.123). ...And right below that, it states: For UWP apps, the scheme cannot be longer than 39 characters. The problem here is that the client IDs are already above 39 characters. There is

UWP run Exe file with Parameters

此生再无相见时 提交于 2019-12-07 19:01:28
问题 on UWP, I want to run a Exe file with parameter. Here is an example. process.exe filename.txt this Command line application process the text file and output a result file as Text. My Question is How to pass the parameter. I success to run Exe file on UWP, but the input full path for filename maybe wrong and failed. in ViewModels, await FullTrustProcessLauncher.LaunchFullTrustProcessForCurrentAppAsync("spectrum"); in Package.appxmanifest <Extensions> <desktop:Extension Category="windows

ScrollViewer IsHorizontalScrollChainingEnabled and IsHorizontalRailEnabled functionality

大城市里の小女人 提交于 2019-12-07 18:12:49
问题 Can someone explain what these two properties do exactly? IsHorizontalScrollChainingEnabled IsHorizontalRailEnabled I tried the first one with nested ScrollViewers, but can't find any difference in functionality. Is it enabled or disabled by default? What does it do exactly, there is no information about functionality in the docs or Google available as far as i can find. Docs: True to enable horizontal scroll chaining from child to parent; otherwise, false. The two properties

How can I disable tilt animation on GridView/ListView in Win10 Universal app?

◇◆丶佛笑我妖孽 提交于 2019-12-07 18:10:01
问题 It used to be I could cancel the tilt effect on GridView/ListView by editing the item container style and removing the storyboard animations. However, when I edit the templates now on Win10 Universal apps, I am not seeing any of the storyboards. Where can I cancel the animation at? Here's the style that's generated for me (and when used, does not disable animation): <Style x:Key="ListViewItemStyle1" TargetType="ListViewItem"> <Setter Property="FontFamily" Value="{ThemeResource

WebRTC for UWP, new RTCPeerConnection() doesn't complete execution

白昼怎懂夜的黑 提交于 2019-12-07 18:03:10
问题 I’m trying to create a Universal Windows Platform application that uses WebRTC, but my code never executes past the first new RTCPeerConnection. I have been looking at the open source project WebRTC for UWP (blog post with links to git repos) and managed to build and run the ChatterBox VoIP client example. Since I am new to both UWP programming and WebRTC (and .NET, C# and Windows programming in general) the examples I have been looking at in the repos mentioned above have been much too

Use ZXing.Net.Mobile result.text as input for WebView

ぐ巨炮叔叔 提交于 2019-12-07 17:55:51
i currently try to create a Barcode scanner UWP App for Windows 10. The purpose is that i want to use the scanned Barcode as input for a web search. I used the well documented ZXing.Net.Mobile package and I already got the scanner running in the app. The scanner starts, the Barcode is scanned and the result is displayed in a message box. I used the following line of Code in the MainPage.xaml.cs: MobileBarcodeScanner scanner; public MainPage() { //Create a new instance of our scanner scanner = new MobileBarcodeScanner(this.Dispatcher); scanner.RootFrame = this.Frame; this.Loaded += MainPage

UWP Desktop Bridge & Local App Data virtualized folder location

自闭症网瘾萝莉.ら 提交于 2019-12-07 17:49:09
问题 I am in the process of converting a Win32 app (Zoom Player) to the UWP AppX model using the " Desktop Bridge " conversion tool. Under the folder model introduced in Windows VISTA, the application's files that do not require create/write access are installed under the " Program Files " folder and files that require create/write access are Installed under the LocalAppData folder (" C:\Users\bLight\AppData\Local " when calling the " SHGetKnownFolderPath " WinAPI function with the FOLDERID

UWP: Can't create a new VPN profile

血红的双手。 提交于 2019-12-07 17:43:55
问题 I'm trying to create a new VPN profile in a universal windows app. I am using this api. There are two documented ways to do that. AddProfileFromXmlAsync and AddProfileFromObjectAsync. Unfortunately for me none of them work correctly. When I'm using AddProfileFromXmlAsync I get all the time error AccessDenied. I saw on this thread that somehow it could be related to bad xml syntax but I get the same error also when I am using the exact xml in the Microsoft example. AddProfileFromObjectAsync

Does ApiInformation not respect the app target version

╄→尐↘猪︶ㄣ 提交于 2019-12-07 16:51:47
问题 Imagine the following setup: UWP Library: MinVersion: 10240 TargetVersion: 16299 This library checks at runtime if the UniversalApiContract Version 5 is present. If yes, it will use the new NavigationView control that. UWP App: MinVersion: 10240 TargetVersion: 10240 This app references the UWP Library project. When I run this app on my Computer, which has Windows 10 Version 16299 installed, the following happens: The UWP Library checks at runtime for the api contract. As I have the newest

Template 10:Get the splash screen like the course in MVA

ε祈祈猫儿з 提交于 2019-12-07 15:52:28
I just completed the course on template 10 in mva. Now I am working on this app and would like it to have the splash screen like this(of course the logo can be changed). Where should I get started to code(any tutorial)? Or if there's a sample code available. Screenshots: I think it uses an extended splash screen. The extended splash screen in UWP is the same as it in a Windows 8.1 app. You can start with How to extend the splash screen (XAML) , there is a 8.1 sample in this document, and you can also refer to the official UWP Splash screen sample . And from your picture, there is a circular