windows-store-apps

Visual Studio 2015 Cordova Windows 10 > Blank/white screen after associated with the existing windows store app

夙愿已清 提交于 2019-12-28 06:34:33
问题 Without associating the app with the store, i can run and debug the cordova app on my devices (all works fine). But after associating the app with the store (or after built a package for the store), the app starts and i get a white screen, no errors in visual studio! I have installed the update 3 and tried to run in release mode, but no success. No errors occur. I Use: - Visual Studio 2015 with Update 3 - Node Version 4.5.0 - Cordova Version 6.3.1 - and release the app for windows 10 ========

How do I access a control inside a XAML DataTemplate?

假装没事ソ 提交于 2019-12-27 10:26:08
问题 I have this flipview: <FlipView x:Name="models_list" SelectionChanged="selectionChanged"> <FlipView.ItemTemplate> <DataTemplate> <Grid x:Name="cv"> <Image x:Name="img1" Source = "{Binding ModelImage}" Stretch="Fill" Tag="{Binding ModelTag}"/> </Grid> </DataTemplate> </FlipView.ItemTemplate> I want to find img1 of currently selected index. While searching for it I found this method on some post here: private DependencyObject FindChildControl<T>(DependencyObject control, string ctrlName) { int

App is not testable

随声附和 提交于 2019-12-25 19:22:28
问题 I receive the information from Microsoft: App Policies: 10.3 App Is Not Testable The app must be testable. If it is not possible to test your app for any reason, including, but not limited to, the items below, your app may fail this requirement. If your app requires login credentials, provide us with a working demo account using the Notes to Tester field. If your app requires access to a server, the server must be functional to verify that it's working correctly. If your app allows a user to

Read and Write to and from folder on Hard Disk without File Pickers?

蓝咒 提交于 2019-12-25 16:57:51
问题 I've released several Windows Store apps over the last 2 years. And while they're moderately successful, they're all Productivity apps. And a Microsoft employee has confirmed (to me) that they do not allow "generic access to the DocumentsLibrary". What this means (in the context that we were speaking in), is that even if I held a Company account with the Windows Store, I/We are still not allowed to gain automatic access to files contained within the Documents Library and we are not allowed to

How to share an address using StreamSocket?

我只是一个虾纸丫 提交于 2019-12-25 11:57:35
问题 I'm able to pass a text, and it works like a charm! StreamSocketListener streamSocketListener = new StreamSocketListener(); streamSocketListener.ConnectionReceived += streamSocketListener_ConnectionReceived; await streamSocketListener.BindEndpointAsync(hostName, port); It shows the link in the other device's browser. 回答1: Pseudo code: IStorageFile fileToSend = await KnownFolders.PicturesLibrary.GetFileAsync("foo.jpg"); BasicProperties basicProperties = await fileToSend.GetBasicPropertiesAsync

Get List of installed windows apps

落花浮王杯 提交于 2019-12-25 09:16:36
问题 I want to get the list of installed uwp application in the desktop.I want to make it within uwp application.Is there any way to achieve this? 回答1: We can use PackageManager.FindPackagesForUser(String) method to find all packages installed for for the current user in UWP apps like following: PackageManager packageManager = new PackageManager(); IEnumerable<Windows.ApplicationModel.Package> packages = packageManager.FindPackagesForUser(""); This method returns an enumerable collection of

LiveConect Auth (for SkyDrive) NullReferenceException (WTH)?

雨燕双飞 提交于 2019-12-25 07:47:46
问题 I followed a 43 minute video tutorial on the Channel 9 site and read the LiveConnect page where it shows code and I don't see what I'm doing wrong. It keeps giving me a NullReferenceException error and it doesn't even bring up the "Do you want to allow app X to access skydrive" thing, it just breaks immediately. I've set breakpoints everywhere but there is nothing. Just null, null everywhere. OnNavigatedTo event: LoadProfile(); private async void LoadProfile() { try { LiveAuthClient auth =

xaml WebView: How to catch a “OnNavigation” event @Windows Store App

ε祈祈猫儿з 提交于 2019-12-25 07:29:08
问题 I am developing Windows Store Apps with C#/xaml. How do I notice if a link in my WebView gets klicked? There is no Event for that afaik. I've already looked into this and that but it doesn't provide me with a suitable solution. May I give an example: I am embedding the stream of a facebook page in my WebView via iFrame. I want to block all links that might be in that iFrame. 回答1: You can call InvokeScript with some of your own Javascript to set up a listener for when the user navigates away

Smoothing jagged edges without anti-aliasing - Unity3D

故事扮演 提交于 2019-12-25 05:29:33
问题 Is there a way to smooth out jagged edges of a cube without applying anti-aliasing? This is what my cube currently looks like. I do not want to use anti-aliasing because it does not work when I export the game to Windows Store. 来源: https://stackoverflow.com/questions/29864602/smoothing-jagged-edges-without-anti-aliasing-unity3d

Possible solution to issue with multiple UI dispatchers in the same method?

别说谁变了你拦得住时间么 提交于 2019-12-25 04:30:12
问题 I'm having a problem with using multiple UI dispatchers to modify an list that is bound to the UI. The method with just exit when it hits the first dispatcher. If I wrap the entire method in the dispatcher it works, but I have another solution but I'm not sure it's appropriate: Basically, I have a socket listening in a never-ending loop for network commands from a media device. When it finds one, it calls ProcessCommand. That function calls one of 50+ methods to process the specific commands.