windows-runtime

StreamSocketListener and localhost

匆匆过客 提交于 2019-12-24 13:05:29
问题 I'm using the following code to set up a StreamSocketListener on my universal 8.1 app: _listener = new StreamSocketListener(); _listener.Control.QualityOfService = SocketQualityOfService.Normal; _listener.ConnectionReceived += OnConnectionReceived; await _listener.BindServiceNameAsync("8776"); This runs without any problems, however when I try & browse to http://localhost:8776 (or directly via ip address or machine name), the request times out. In netstat I can see the 8776 port is open &

Animations in visual state do not animate (WinRT)

痴心易碎 提交于 2019-12-24 12:51:08
问题 I am developing on Windows 8.1 RTM. I have a custom control with a custom dependency property of type double. This control has been placed in a user control. I am calling VisualStateManager.GoToState(control, true) on the user control. The animation should transition for 2 seconds. However, it simply snaps from 0 to 1 and from 1 to 0. The callback function is only called with either 0 or 1. If I directly set the dependency property to any value between 0 and 1, it works as expected. I have

Does protobuf-csharp-port support Windows RT?

送分小仙女□ 提交于 2019-12-24 12:34:02
问题 protobuf-csharp-port homepage(with sourcecode) In my previous windows phone silverlight 8.0 project I used protobuf-csharp-port to implement the GPB, but now I want to port the project to windows 8.1 and then universal ,so I copy the source code to create a windows runtime component(I am a library developper),but encounter some problems: sounds like the Serializable Attribute is not useful any more So question is: Why the red font?Does protobuf-csharp-port support Windows RT? If not,How can I

Register app for a URI association (Windows Phone 8.1 RT)

帅比萌擦擦* 提交于 2019-12-24 11:40:18
问题 Hello i want to create a scheme URI to launch my app from another app. I searched a lot, i found this tutorial URI associations, it shows how to register your app for A URI association but it is for Windows Phone 8. I am developing an app for Windows Phone 8.1 RT and none of the tutorials i found work. At least I'd like to know if it is supported on WP 8.1 RT. 回答1: The term you're looking for is protocol activation . You can have a look at the official Association launching sample. In short:

Windows Phone 8.1 MapIcon Click event

最后都变了- 提交于 2019-12-24 11:34:35
问题 I'm writing a Windows Phone 8.1 app(Windows Runtime version), and I used the MapIcon class to place the icons on the map control. However, I hope these icons can react to the "click" event so that I could show more details after a user has clicked a specific icon. I googled and wasn't able to find an answer. Is it possible, or do I have to create my own class in order to achieve this goal(and how)? It's my first time to develop the Windows Phone 8.1 app, so any suggestions are really

Creating NV12 encoded video using windows media foundation

≯℡__Kan透↙ 提交于 2019-12-24 11:27:43
问题 I was learning to create video files with raw fixed colored images using Windows Media Foundation using this tutorial http://blogs.msdn.com/b/eternalcoding/archive/2013/03/06/developing-a-winrt-component-to-create-a-video-file-using-media-foundation.aspx I was able to create RGB encoded WMV video shown in the above link. But i need to create YUV encoded MP4 video in NV12 format from image. Since NV12 use (W x H x 3/2) bytes of memory buffer for each frame, i created (W x H x 3/2) bytes of

WinRT XAML trying to use a Path defined in ResourceDictionary, but “Element is already the child of another element.”

被刻印的时光 ゝ 提交于 2019-12-24 11:14:27
问题 I'm using Visual Studio 2013 to create a Windows App Store app. I created a ResourceDictionary in a file called AllButtonShapes.xaml to store the Paths for all of the shapes I use on my buttons. I added AllButtonShapes.xaml to my app resources: <Application.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="AllButtonShapes.xaml"/> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </Application.Resources> Three of the paths defined

Updating my Windows Store App [duplicate]

自闭症网瘾萝莉.ら 提交于 2019-12-24 10:58:03
问题 This question already has an answer here : How to Delete Files and Application Data Container Values in One Go? (1 answer) Closed 5 years ago . I would like to update my Windows Store App, but I need to delete everything in the local state folder of the application: C:\Users\usr1\AppData\Local\Packages\myApp\LocalState I am not familiar with the process of updating Windows Store App and the official documentation does not clarify how can I clear the folder just as if the App was reinstalled.

Can we send Tile notification from Desktop app on Windows 8?

限于喜欢 提交于 2019-12-24 10:21:31
问题 as we know, we could send out the toast notification from Desktop App (not store app) on Windows 8 per this link sending toast notification from desktop and also code sample. We are looking at if we could send the tile notification from desktop applications and I didn't find information on internet. So it seems to me that it is impossible. However I just want to confirm with expert here. 回答1: Your assumptions are correct - tile notifications are not supported for Desktop applications. In the

Working with Azure in Winrt with Rest API, trouble with signature

折月煮酒 提交于 2019-12-24 09:29:44
问题 I'm trying to work with azure storage in winrt. Since the azure storage client is not compatible with winrt I am trying to use azure's rest API. I am having a heck of a time getting the signature right and I could use another set of eyes to help me see where I'm going wrong. Azure Account provides a name and key property, this method builds up the request right now simply listing all blobs. 'private async void BuildHTTPRequest(AzureAccount account) { System.Net.Http.HttpClient request = new