windows-store-apps

How to read Beats-per-minute tag of mp3 file in windows store apps C#?

你说的曾经没有我的故事 提交于 2019-12-23 17:35:04
问题 i am trying to read bpm embedded in mp3 file like this one : i have tried using Windows.Storage.FileProperties.MusicProperties but it only contains title, singer, etc. it can't read the bpm i showed before. im looking into https://taglib.github.io/ they seems not having such function too. is there any workaround to this? 回答1: When you've loaded your music file into a StorageFile, you'll want to place a similar call in your code like this: var fileProps = await file.Properties

Capture speaker output

若如初见. 提交于 2019-12-23 16:40:19
问题 I've seen that I can capture the microphone and sound-files with elements in the Windows.Media.Audio namespace. I'm looking to capture the speaker output , though. For example, I click on something and the system sounds the alert sound - I want to be able to capture that. Is there any way of doing that using elements in Windows.Media.Audio (instead of going more low level into Win32 calls)? 回答1: Well, even with "low level Win32 calls", you can't do any loopback recording in UWP. This is

How do I get the local host IP address in a Windows Store app?

谁都会走 提交于 2019-12-23 15:13:58
问题 A particular rest service I am calling in a Windows Store app wants the IP address of the calling computer as a parameter. None of the tried and true examples using System.Net or System.Net.NetworkInformation compile in a Store app. What is the magical combination of types and methods available in a windows store app that will get to the local machine's IP address? I feel like it is probably obvious but I am not seeing it! 回答1: You will have to contact an external server. Even if the platform

Microsoft Visual C++ Runtime Package framework is missing the framework dependency declaration in the manifest

扶醉桌前 提交于 2019-12-23 14:46:51
问题 I receive the following error on the Windows App Certification Kit for Windows 8.1. The app manifest test detected the following errors:XXX takes a dependency on Microsoft Visual C++ Runtime Package (Microsoft.VCLibs.110.00) framework but is missing the framework dependency declaration in the manifest. My solution builds with zero errors. However, I receive an error after I create an app package and run the Windows Application Certification Kit. I have added and removed references to the C++

AccessViolationException when setting the Text in a RichEditBox

只谈情不闲聊 提交于 2019-12-23 12:19:26
问题 I've spent hours trying to understand what is happening here. I have a RichEditBox that the user can interact with by tapping on it and using the keyboard or by tapping on a couple of buttons that add some characters inside the RichEditBox. This is a method I use: private void ptrPlus_click(object sender, RoutedEventArgs e) { try { myRichEditBox.Document.Selection.Text = ">"; myRichEditBox.Document.Selection.SetRange(this.Document.Selection.StartPosition + 1, this.Document.Selection

Windows UWP as Screensaver?

霸气de小男生 提交于 2019-12-23 10:11:10
问题 On Windows 10, can a UWP be launched as a screensaver? If so, how do you register your app with the OS such that it gets listed in the screensaver dialog? (Windows 8 store apps cannot be screensavers. I cannot find any information on UWPs) 回答1: I am very sorry to disappoint you, but no, you can not set your UWP app as a screensaver provider. What you could do instead is offering the user to give your app control of the lock screen or wallpaper image. UWP apps are able to set these images even

SignTool error when signing AppX file: “Error: SignerSign() failed.” (-2147024693/0x800700cb)

被刻印的时光 ゝ 提交于 2019-12-23 09:17:58
问题 I am creating an Appx package using makeappx.exe and then try to sign it using SignTool.exe . The error I get from SignTool is: "Error: SignerSign() failed." (-2147024693/0x800700cb) The certificate I am using is created by me following instructions from here. In EventViewer there is no record about this failed operation! I do not understand what this error means and how to fix it!! Has anyone encountered this before, and found a solution? I can't use Visual Studio so I need to stick with

How to limit transformation of images inside canvas in window store app

故事扮演 提交于 2019-12-23 05:11:53
问题 I have been struggling for two weeks for this problem . I am applying dragging and scaling to an image inside canvas.Dragging works fine and is limiting inside canvas IsBoundary functions but when I am applying scaling its drag area changes . If increases scaling with mouse drag area increases also and whem I make it shrink in size drag area also shrinks.Help me to solve this problem of limiting scaling Thanks. Here is my code link sample 回答1: I think I understand your question. When you

The content of a ListView with ItemsPanel modified is not shown in designer (VS and Blend)

帅比萌擦擦* 提交于 2019-12-23 04:50:49
问题 I have this code: <ListView Margin="0,10,0,0"> <!--Orientation="Horizontal"--> <ListView.ItemsPanel> <ItemsPanelTemplate> <WrapGrid Orientation="Horizontal" /> </ItemsPanelTemplate> </ListView.ItemsPanel> <ListView.Items> <AppBarButton Icon="Download" IsCompact="False" Label="Stáhnout test" HorizontalAlignment="Center"></AppBarButton> <AppBarButton Icon="Play" IsCompact="False" Label="Spustit test" HorizontalAlignment="Center"></AppBarButton> <AppBarButton Icon="Attach" Grid.Column="4"

Is the Windows App Store required for a UWP application?

半世苍凉 提交于 2019-12-23 04:15:16
问题 If it is, how can I use it to develop something in-house? I don't want it on the store. It should never be seen outside of the Enterprise. Edit: Is sideloading the only way? 回答1: I don't want it on the store. It should never be seen outside of the Enterprise. Sideloading is not the only way for the employee in your enterprise to acquire your app. You can also publish your app through Windows Store for business so that you can manage and distribute your package more conveniently. Just change