windows-10-universal

How do I put a WinJS.UI.Menu inside of a win-splitview-content section?

断了今生、忘了曾经 提交于 2019-12-13 08:42:55
问题 I have a very simple app. I started with the WinJS App (Universal Windows) template in VS2015. I have a split view and inside the split view content section I have a menu. The menu appears when the control button is clicked but none of the options are selectable. <div data-win-control="WinJS.UI.SplitView" data-win-options="{closedDisplayMode: 'overlay',panePlacement:'left'}"> <div class="win-splitview-pane"> </div> <div class="win-splitview-content"> <button id="selectionButton">Selection<

Can't open Package.appxmanifest

老子叫甜甜 提交于 2019-12-13 07:19:07
问题 When I create universal app and try to open Package.appxmanifest, doesn't work and It says " Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information ." so any solution for this? and I'm using VS 2015 回答1: If you try to repair Visual Studio, it should fix the problem. There is likely a corrupted file preventing you from opening the package.appxmanifest. 来源: https://stackoverflow.com/questions/43377005/cant-open-package-appxmanifest

Compilation of Release configuration fails (ILT0005)

╄→гoц情女王★ 提交于 2019-12-13 07:13:16
问题 I've updated Visual Studio 2015 to Update 2 recently. Since then, I'm not able to compile my already published app anymore. Even a new blank UWP project does not compile. I get the following error message: ILT0005: "C:\Program Files (x86)\MSBuild\Microsoft.NetNative\x86\ilc\Tools\nutc_driver.exe @"C:\Users\locked\documents\visual studio 2015\Projects\App1\App1\obj\x86\Release\ilc\intermediate\MDIL\App1.rsp"" Exitcode -1073740791 I completely uninstalled all Visual Studio relevant components

Windows UWP - WebView get selected Text

拈花ヽ惹草 提交于 2019-12-13 05:47:19
问题 Currently in my UWP app I am getting the Text-selection of a webview through DataPackage package = await webview.CaptureSelectedContentToDataPackageAsync(); and read out the string with await package.GetView().GetTextAsync(); This works perfectly on the PC but not on the phone. What would be the best way to go about it on the phone? I tried injecting javascript with window.getSelection().toString(); or document.selection.createRange().text; but it didn't work or I used it the wrong way. Any

How to add the instrumentation key in Windows Dev Center Dashboard / Usage page to Azure Portal?

耗尽温柔 提交于 2019-12-13 05:38:28
问题 I have published an app to Windows Store. Subscribed to Azure. It seems I can only deploy/create new Application Insights resource. How to add/link the instrumentation key found in Windows Dev Center App Analytics / Usage page to Azure Portal / Application Insights? 回答1: If you follow the standard getting started flow for Application Insights. Use the InstrumentationKey that the AI portal provides. Specify the iKey in the ApplicationInsights.config file. If the key is in the .config file, the

Find currently active user in xbox one UWP

≡放荡痞女 提交于 2019-12-13 04:33:10
问题 Using the below code I am able to get the list of all signed in users. Is there a way to know which is the current active user? IReadOnlyList<User> users = await Windows.System.User.FindAllAsync(); 回答1: I recently ran into this problem myself, and posted about it here. Someone responded there, and gave me some pretty big hints, which in turn helped me to get this solved. Here is the quick and dirty (my UWP is HTML/JavaScript based BTW): First, include the WinJS library in your project, if you

Application life cycle on a physical device without Lifecycle Events

天涯浪子 提交于 2019-12-13 04:33:05
问题 Is there a solution that will allow me to run and test the application life cycle on a physical device? Without the use of "Lifecycle Events" built-in Visual Studio 2015? I wanted to be able to call the appropriate methods of life cycle as Suspend and Resume after pressing the physical buttons on the device (arrow return, windows icon, etc.) and if possible get a message about calling this method something like: private async void Application_Suspending(object sender, SuspendingEventArgs e) {

Run python script from UWP

∥☆過路亽.° 提交于 2019-12-13 03:23:13
问题 I've already read and researched all over the net including here: Windows Universal Apps: Call python method from C# [closed] And I understand that UWP is a sandbox and can't open other processes. Nonetheless, I got no other choice but to use python API inside UWP app. The answer in the link above is not clear enough for me and I hope to get any solution, even if it's not a direct one. Of course I tried IronPython which is not working. And Process/ProcessInfo which brigs-up "access denied".

WIndows-10 Mobile: “The specified module could not be found. (Exception from HRESULT: 0x8007007E)”:null

安稳与你 提交于 2019-12-13 02:35:24
问题 I have a C# app targeting UWP/Windows-10 for desktop & mobile platforms. The C# app calls into native component written in C++. My native C++ code has Visual C++ component extensions(C++/CX). The native code is then packaged as a .dll & bundled along with the app. The app works perfectly fine on Desktop, i.e when I run it in x86 or x64 , Local Machine , but encounters this error while running on Mobile, i.e. on x86 Mobile Emulator or on an ARM device(Nokia 950) The specified module could not

select each ListViewItem and apply a modification in a universal App

隐身守侯 提交于 2019-12-13 01:40:21
问题 I have a ListView that displays those informations,what I want is to display a different background for my button If I get fav = 1,and a different image if I get aime = 1,: JSON format: { success: 1, total: 2, locals: [ { id_local: "82", fav: 0, aime: 0, aimepas: 0, all_like: "2", all_dislike: "0", }, { id_local: "83", fav: 1, aime: 1, aimepas: 0, all_like: "5", all_dislike: "0", } ] } and this is my code: Uri = "URL"; var http = new HttpClient(); http.MaxResponseContentBufferSize = Int32