windows-10-universal

prevent windows 10 mobile from locking

时光毁灭记忆、已成空白 提交于 2019-12-24 14:08:04
问题 I have finally upgraded my windows 8 app to windows 10 app. Unfortunately some of the features are not working in windows 10. One of the features I am looking is preventing automatic lock screen while my application is running. In windows phone 8 I am using below code to prevent auto locking of windows phone, however, in windows 10, I didn't find this feature. PhoneApplicationService.Current.UserIdleDetectionMode = IdleDetectionMode.Disabled; What is the alternate of the above in windows 10?

How to check if an UI Element has reached the top of the page in windows phone

蹲街弑〆低调 提交于 2019-12-24 13:50:26
问题 There is a page which has a scroll viewer and some content which is dynamic in nature. In the middle of the page there is a grid. Whenever the user scrolls the page and grid reaches the top of the page i want a notifier. Basically i want to make the grid sticky on top whenever it reaches top of the page. Is there any way we can achieve this in Windows phone application. I dont want to calculate the offset because the content between top of the page and grid is dynamic. 回答1: This used to be

How to create video with overlays in UWP?

喜欢而已 提交于 2019-12-24 10:28:18
问题 I'm using MediaComposition to create an edited video. The composed video will be: One video clip A set of images (overlay frames) that should be shown on top of it. The result should be like this: https://www.youtube.com/watch?v=cFEkkQIYGBc My current code looks like this. Each frame is an abstraction of the overlay image. I called it frames private async Task ExportFrames(IEnumerable<OverlayFrame> frames, IStorageFile inputFile, IStorageFile outputFile) { var folder = await ApplicationData

The “ParseILMergeInfoTask” task failed unexpectedly

耗尽温柔 提交于 2019-12-24 10:02:03
问题 The program is executing properly without any error in Debug configuration But in Release configuration it throws an error. The "ParseILMergeInfoTask" task failed unexpectedly. System.Exception: File 'SharedAssemblyILMergeInfoFilePath' passed to argument 'x86\ret\SharedAssemblyILMergeInfo.csv' does not exist. at Microsoft.Build.ILTasks.ParseILMergeInfoTask.Execute() at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() at Microsoft.Build.BackEnd

.NETcore, UWP - can't install NuGet package

妖精的绣舞 提交于 2019-12-24 08:37:23
问题 I try to create project using Universal Windows Platform. I did a few of them but after download .NET Core i have problem with NuGet Packages. When i try to Install MySql.Data i get Package restore failed. Output: MySql.Data 6.9.9 is not compatible with UAP,Version=v10.0. Some packages are not compatible with UAP,Version=v10.0. MySql.Data 6.9.9 is not compatible with UAP,Version=v10.0 (win10-arm). Some packages are not compatible with UAP,Version=v10.0 (win10-arm). MySql.Data 6.9.9 is not

Integrate skype for business in uwp app

旧时模样 提交于 2019-12-24 06:36:56
问题 I have been trying to find the best way to integrate skype for business in my uwp app. However, there are a ton of articles in MSDN and Skype/Office 365 developer pages. Most of them are from many months ago. What I want to do is simply place a skype call OR skype chat from within my uwp app. I would prefer to integrate it fully into my app but I am also okay if it just launches the skype for business app. However, I am not seeing any way to do this. Am I missing something or did MS leave

UWP Windows-10 Cannot add Microsoft.NETCore.UniversalWindowsPlatform to my C# app

做~自己de王妃 提交于 2019-12-24 06:19:12
问题 I have a C# app targeting windows UWP. It was all working fine couple month's ago. When I opened it today, it cannot find this reference: Microsoft.NETCore.UniversalWindowsPlatform . I am unable to install this reference as well. Here are my project details & the steps I have followed: My VS details: MS VS Professional 2015 Version 14.0.25123.00 Update 2 Microsoft .NET Framework Version 4.6.01038 When I try to install this reference: Referencs(right click)->Manage NuGet Packages , & then by

UWP Windows-10 Cannot add Microsoft.NETCore.UniversalWindowsPlatform to my C# app

混江龙づ霸主 提交于 2019-12-24 06:19:08
问题 I have a C# app targeting windows UWP. It was all working fine couple month's ago. When I opened it today, it cannot find this reference: Microsoft.NETCore.UniversalWindowsPlatform . I am unable to install this reference as well. Here are my project details & the steps I have followed: My VS details: MS VS Professional 2015 Version 14.0.25123.00 Update 2 Microsoft .NET Framework Version 4.6.01038 When I try to install this reference: Referencs(right click)->Manage NuGet Packages , & then by

UWP Windows-10 Cannot add Microsoft.NETCore.UniversalWindowsPlatform to my C# app

人走茶凉 提交于 2019-12-24 06:19:06
问题 I have a C# app targeting windows UWP. It was all working fine couple month's ago. When I opened it today, it cannot find this reference: Microsoft.NETCore.UniversalWindowsPlatform . I am unable to install this reference as well. Here are my project details & the steps I have followed: My VS details: MS VS Professional 2015 Version 14.0.25123.00 Update 2 Microsoft .NET Framework Version 4.6.01038 When I try to install this reference: Referencs(right click)->Manage NuGet Packages , & then by

Deserialize JSON object in c# using Newtonsoft json.net

最后都变了- 提交于 2019-12-24 06:07:30
问题 I have JSON array. I want to map/deserialize this into following class. public sealed class DataItem{ public string UserId {get; set;} public string TestId {get; set;} public string UserName{get; set;} public string Data1 {get; set;} public string Data2 {get; set;} public string Data3 {get; set;} public string Data4 {get; set;} public string Data5 {get; set;} public string Data6 {get; set;} public string Data7 {get; set;} public string Data8 {get; set;} public string Data9 {get; set;} public