win-universal-app

Universal App VS2015 Windows Phone Emulator is not Running

泪湿孤枕 提交于 2019-12-31 21:23:53
问题 I am developing Universal App using VS2015 in Win10. The simulator and the android emulator is running fine. But when I started the Windows Phone Mobile Emulator, then the emulator runs and shows "OS is starting", and then after a long delay (i.e. 10mins) the Emulator turned off and these messages have been shown. Error : DEP6100 : The following unexpected error occurred during bootstrapping stage 'Connecting to the device '8BDF218D-FDBB-4A97-90F9-3AA33B559A92'.': DeviceException - App

VisualStudio.com can't load the temporary UWP certificate during builds

╄→尐↘猪︶ㄣ 提交于 2019-12-31 11:03:16
问题 I set up my Visual Studio Team Service account to clone my private GitHub repo and build the Windows UWP application anytime I queue a build. The cloning works without any issues; the compilation of every project (6) works except one. The Windows UWP app project. I receive the following warnings while the build server compiles the app: C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets(1778,5): Warning APPX0104: Certificate file 'myapp

Extract Frames from Video C#

你离开我真会死。 提交于 2019-12-31 10:06:01
问题 I'm trying to make an app that use the camera to record a video and process the images of the video. Here is what I want. First, my app records a 10 second video with Torch. Second, I use a method to playback the video to see what I record. I'm stuck on three things. How can I convert my video into individual frames (images)? Is it possible to asynchronously convert the video while it is being recorded? When I do convert the video into individual frames, how do I work with them? Are they

Extract Frames from Video C#

家住魔仙堡 提交于 2019-12-31 10:05:03
问题 I'm trying to make an app that use the camera to record a video and process the images of the video. Here is what I want. First, my app records a 10 second video with Torch. Second, I use a method to playback the video to see what I record. I'm stuck on three things. How can I convert my video into individual frames (images)? Is it possible to asynchronously convert the video while it is being recorded? When I do convert the video into individual frames, how do I work with them? Are they

Simulating a mousehover effect on a fontIcon in uwp

≯℡__Kan透↙ 提交于 2019-12-31 07:15:07
问题 Am currently working on a uwp project involving the use of a hamburger menu. So far I generated the menu using this code <FontIcon FontFamily="Segoe MDL2 Assets" Glyph="" Foreground="Black" VerticalAlignment="Center" Margin="12,0,8,0"> What I really what to achieve is that when the mouse hovers on the icon, the background colour of the hamburger menu is expected to change. This is similar to a minimize button in a windows app. After searching the API I realised that there wasn't any

Expanded from: differen screen and different view

隐身守侯 提交于 2019-12-31 05:22:12
问题 A expanded question from: different screen and different view I want to change the grid content of the row and column based on the screen size. For example when the screen width is more than 1000 one row with three buttons,when the screen width is more than 600, in two row two buttons, one textbox. in others size in three row three textboxes? How to achieve it? 回答1: Use AdaptiveTriggers to change the row and column numbers as well visibility of controls <VisualStateManager.VisualStateGroups>

HtmlAgility:no contents appeared (C#,UWP)

浪子不回头ぞ 提交于 2019-12-31 04:28:00
问题 i tried to use htmlagilitypack to parse a table,after i ve done i realized that i forgot to prove if htmlagility part works or not. ... and its obvious it doesnt work i also didnt know what have i missed and where have i done totally wrong... cause i m a beginner... so pls dont be too hard on me. public partial class WebForm1 : System.Net.Http.HttpClient { protected void Page_Load(object sender, EventArgs e) { System.Net.Http.HttpClient httpClient = new System.Net.Http.HttpClient(); string

Recursive XAML binding data templates on the Universal Windows Platform

我的梦境 提交于 2019-12-31 04:22:06
问题 So I have a class Task which has a couple of properties and also can have a list Task objects ( child tasks ) inside it. I would like to recursively display each Tasks and their sub-tasks on the 'UWP'. Apparently 'WPF' had special 'UserControls' for that purpose according to this post: Are recursive DataTemplates possible? but they don't seem to be available on 'UWP'. 回答1: You can use TreeView Control. Here are the links to this project: NuGet:WinRTXamlToolkit and GitHub:WinRTXamlToolkit.

Universal App Windows Phone Orientation

不羁的心 提交于 2019-12-31 04:20:28
问题 Recently I was developing a Universal app for both the Windows Phone and Windows Store. In that app, I was trying to fix the Orientation of the App to Landscape. But in WinRT based apps of Windows Phone 8.1, I failed to find any Orientation option. In the Silverlight apps, we can fix the Orientations as we want. But is there any way to fix the Orientation to Landscape mode in the Universal Apps? It will be very helpful if someone help me in this regard. Thanks in advance. :) 回答1: Under WinRT

Vertical Text in UWP apps with XAML

我只是一个虾纸丫 提交于 2019-12-31 03:58:06
问题 I want to write text vertically inside of a border element. As shown in this picture. I've tried using RenderTransform with this code <Border Width="80" Background="Teal"> <TextBlock Text="CATEGORIES" Foreground="White" FontFamily="Segoe UI Black" FontSize="30"> <TextBlock.RenderTransform> <RotateTransform Angle="-90" /> </TextBlock.RenderTransform> </TextBlock> </Border> This rotates the text vertically but the TextBlock takes the old values of height and width before Transform and doesn't