windows-store-apps

Windows Store App Push Notifications via Azure Service Bus

拟墨画扇 提交于 2019-12-13 21:07:59
问题 I'm trying to send a push notification to my Windows Store App developed in my laptop using VS 2013 Express. It's been few days now but I cannot figure out why I get "The Token obtained from the Token Provider is wrong" error. I use Windows Azure Notification Bus for this purpose. I use VS Server Explorer to send test notifications. I can see my laptop is being registered as a device in the Device Registration tab too. I tried the Azure portal as well, but the same error. However, when I try

Login with Microsoft account using Live SDK

谁说胖子不能爱 提交于 2019-12-13 20:15:22
问题 I am creating a Windows 8.1 application, and I want to use it with multiple accounts. When I first started the application, I used the wl.signin scope to test the app faster, but I want to test now with other account(s). So I deleted this scope, I uninstalled the app from my computer, and from my Live Account I removed the apps permissions. Still, if I want to log in for the first time, the app wants permission for automatic login(== wl.signin , which I deleted from my scopes already as I

adding drink to favorite page on click in windows store

冷暖自知 提交于 2019-12-13 19:23:43
问题 I am making an app of drinks for windows store. According to requirement user can select drink as favorite. So his favorite drinks should be shown in favorite page. So how can I add these drinks to favorite page on button click as shown in image 1 Is it possible without using database..? Any share of idea would be appreciated. I am using xml file to save data on button click I have managed to get the data from xml file in a grid on my favourite page but it is statically done by me as I had

Prevent a ScrollViewer's scrolling conditionally

独自空忆成欢 提交于 2019-12-13 16:27:18
问题 Is there any way to not only be notified of a ScrollViewer 's scroll, but to be able to prevent it. Something like a ScrollChanging event so I can set e.Cancel to true ? (I don't want to disable scrolling, nor do I want to implement it myself because it seems impossible to get the ScrollBar 's events to detect a user dragging them. At least in UWP .) The problem is that ScrollViewer_PointerWheelChanged isn't raised when it scrolls. Only when it doesn't have any need to scroll does it fire. 来源

SOAP encoding in Windows Store App

喜你入骨 提交于 2019-12-13 13:17:25
问题 I am trying to create a Windows Store App that consumes a web service. Visual Studio denies to create service proxy methods with following warning in logs: Custom tool warning: Contract ... is not compatible with Windows Store apps because it contains one or more operations with SOAP Encoding (use='encoded'). Only the non-encoded operations will be generated. So the questions are: Where can I find full list of Windows Store app limitations on web services consumption? Are there any known

How do I normalize a string?

落花浮王杯 提交于 2019-12-13 12:58:34
问题 In .NET you can normalize (NFC, NFD, NFKC, NFKD) strings with String.Normalize() and there is a Text.NormalizationForm enum. In .NET for Windows Store Apps, both are not available. I have looked in the String class and in the System.Text and System.Globalization namespaces, but found nothing. Have I missed something? How do I normalize strings in Windows Store Apps? Does anyone have an idea why the Normalize method was not made available for Store Apps? 回答1: As you've pointed out, the

WCF C# Windows Store APP I am getting this exception “There was no endpoint listening at [URL] that could accept the message…”

别来无恙 提交于 2019-12-13 12:51:48
问题 I made a WCF that connects SQL DB and get data to a Windows Store App... Yesterday worked just fine. I could get the data from the DB to the Client app. Today I open the solution again and for my surprise it just stop working just like that... I 've been searching in foruns some ideias but didn't get any positive result. I didn't change a single line of code, and I really don't know what is happening. I tried to make a new solution, a new project with that funcionality and nothing, just doesn

show progress bar/ring in windows 8 app while a webpage is loading in webview control

会有一股神秘感。 提交于 2019-12-13 12:31:47
问题 I have the experience of adding the progress bars and progress rings while calling async functions . That has been an easy job as it relies on only IsIndeterminate and IsActive properties of progress bar and progress ring respectively . Now my question is that , how to show a progress bar/ring in the app while some webpage is loading in the webview control of a windows 8 app . I am searching for a property or event , that tells the web page in web view is currently in loading state . If

Images are Getting cached in UWP application

流过昼夜 提交于 2019-12-13 12:22:01
问题 In my UWP application I am binding the images from azure. It is getting cached when it get the response. When I change the image in the azure it's not reflecting in my UI, Instead it display the image from cache. Is there any way to clear the cache of my UWP application or to restrict the application to cache images?. 回答1: Have you tried CreateOptions="IgnoreImageCache" ? <Image> <Image.Source> <BitmapImage UriSource="{Binding Url}" CreateOptions="IgnoreImageCache" DecodePixelWidth="120"

Save information of Line and Images

為{幸葍}努か 提交于 2019-12-13 08:13:18
问题 I am developing Drawing App for Windows store.I want to save information of Line and Images in XML drawn in the screen How can I do that please give me suggestion? 回答1: Try to use XML/JSON serialization for line. You can save image as base64 strings JSON.NET Line serialization winrt How to convert Base64 string to image, then bind it to GridView in a Metro Style App? Read Base64 image with C# in a Windows 8 app 来源: https://stackoverflow.com/questions/17105051/save-information-of-line-and