windows-10-universal

flipview in a universal windows app

邮差的信 提交于 2019-12-13 01:28:42
问题 I want to add a flipview in my code like this image, but I get this result in all pages when I slide in every page: this is my code, <FlipView x:Name="flipView1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="642"> <FlipView.ItemTemplate> <DataTemplate> <Grid Style="{Binding HorizontalAlignment, ElementName=grid}" ScrollViewer.HorizontalScrollBarVisibility="Auto" Background="Transparent" > <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> <ColumnDefinition Width="*" />

Universal Windows 10 Emulator not starting up OS

。_饼干妹妹 提交于 2019-12-13 00:47:58
问题 The Windows phone emulator running Windows 10 has been working since I've installed it and last time I used the emulator was a few days ago. Now for some reason when I load my application emulator does not load the OS. here's the steps I go throuogh to run the app : -Run "Mobile Emulator 10.0.10586.0 720p 5 inch 1GB (which is my usual emulator to run)" Message box saying "Configuring Windows Phone for debugging ... " Another message box appears saying "Click "Retry" to run the emulator in

Windows 10 uwp hide soft keyboard even when I set focus to a control

匆匆过客 提交于 2019-12-13 00:17:06
问题 I have a Windows 10 mobile uwp app and I am having two issues. First, I set focus to controls in the app. I do this by using the common call successfully Control.Focus(FocusState.Programmatic); However, there are some cases where this does not work. Most times it does but for example, when my page loads, I am trying to set an initial focus in one of the fields and it does not work. I have tried this call in two places. First, in the constructor for the page, after InitializeComponenets and

Is it possible to use nvidia Nsight to debug cppwinrt directx12 applications?

☆樱花仙子☆ 提交于 2019-12-12 23:13:29
问题 I have a UWP cppwinrt app that is using directx12 to render a cube with a basic shader. I would like to use a graphics debugger to inspect the data being sent to this shader. First I am trying to use the Nvidia Nsight debugger for visual studio 2017. The problem is that when I go to "Start Graphics Debugging" from the Nsight menu, the app immediately stop with an error saying: "Failed to launch UWP app (Could not terminate existing process)". I am able to launch the Nsight debugger on a

Upload UWP app to Microsoft Store in all 3 platforms (x86, x64, ARM)

本小妞迷上赌 提交于 2019-12-12 23:04:46
问题 I have a 3rd party DLL (in all 3 platforms x86, x64 and ARM) referring in my UWP app. Due to this reason I have to change my reference manually each time I need to build my UWP app to specific platforms. Now I need to publish the app to the store but I can't select all platforms due to the manual handling of the 3rd party DLL. I tried building the app in release mode separately and tried to upload to the store but it does not allow. Only way possible is by selecting all 3 platforms in the

Unable to connect Socket Mobile scanner(Model: CHS 7Pi) in windows 10 uwp

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-12 22:35:57
问题 I'm working in Socket Mobile scanner(Model: CHS 7Pi) integration with Windows 10 UWP application. I'm getting following exception "Value does not fall within the expected range." after successfully making contact with scanner via bluetooth I using below sample for my testing. https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/BarcodeScanner below msdn url suggest, it will support my scanner. https://msdn.microsoft.com/en-us/library/windows/apps/mt426649.aspx#Bluetooth

Why some UWP projects has project.json some doesnt has?

不想你离开。 提交于 2019-12-12 22:03:30
问题 I can see that some UWP projects has project.json file and all the NuGet packages entries are included in the project.json. But some UWP projects doesnt has project.json. NuGet packages entries are included in .csproj file itself. Why? 回答1: In earlier stages of developing .NET Core tooling project.json (developed by ASP.NET Core team) was seen as a better way to manage NuGet packages, but later decision was made to move back to .csproj for various reasons. So now UWP is storing references to

Why cannot I open links in an external browser in a WebView (UWP)?

蓝咒 提交于 2019-12-12 18:07:42
问题 I'm developing a Web App application that is almost finished, the app has a local WebApp that has some links and I'd like to open them in an external browser (Edge, Chrome, etc.). My code is split in 3 parts: 1) Windows Runtime Component: using System; using System.Collections.Generic; using Windows.Foundation.Metadata; using Windows.Storage; using Windows.System; namespace CallJSInterface { [AllowForWeb] public sealed class CallJSCSharp { public async void OpenURL(string url) { await

Image in the interface is not updated after WritableBitmap has changed

别等时光非礼了梦想. 提交于 2019-12-12 16:20:35
问题 I am trying to update the image by drawing circles every time mouse pointer is moved. The pixelBuffer is stored in map object and updated with CircleFilledWithGradientMethod() . I load the pixel buffer in to WriteableBitmap Bitmap and then try to display it by setting image source of an image element in my XAML UI to Bitmap. What happens, is that when I first move my mouse, I see the very first 2 circles drawn but then as I move the mouse, the image does not get updated. Why could that be? Is

Can't use winscard.h in a UWP app due to WINAPI_PARTITION_DESKTOP blocks

一笑奈何 提交于 2019-12-12 14:32:45
问题 I'm developing in C++ a Universal Windows Platform app. I have a working project in C++ which can communicate with smart cards. For this communication it uses the winscard.h library. I'd like to use in the UWP app this functions provided by the winscard.h , but I can't compile it in the UWP. After some research I found that in this header file there is a condition: #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) So this is the reason the compiler doesn't found the methods. Going forward