win-universal-app

Sharing data files between users in a Universal Windows Platform application

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-11 02:38:37
问题 I am about to embark on the development of a line of business application using the Universal Windows Platform (Windows 10). One of the requirements of the application is the synchronisation of data from a server to a local SQLite database; this is required because the application needs to be usable where there is no network connectivity. It is likely that multiple (windows domain) users will be accessing the application on the same device, sometimes simply by "swapping users", other times by

UWP_Can not start app using StartupTask Class?

混江龙づ霸主 提交于 2019-12-11 02:26:17
问题 I follow this article to startup my UWP app when system reboot. https://docs.microsoft.com/en-us/uwp/api/windows.applicationmodel.startuptask#uwp-app-startup-task-extension UPDATE I also tried that article, used exactly source code in that sample Configure your app to start at log-in and below is phenomenon: - when I click Request to Enable StartUp button on main page of UWP app, it shows Startup State as Enabled. - I check Task manager, this app is enabled in startup list. - After I restart

How can I launch the Alarms App through a Universal Windows App

落花浮王杯 提交于 2019-12-11 02:24:30
问题 I am trying to launch the default Alarms App somewhere in my app through an action the user performs. I know you can now add your own alarms and notifications but I want the user to be able to use the default Alarms App. How would I go about doing this? 回答1: You can use Launcher class to launch the Alarms App by uri as follows: await Windows.System.Launcher.LaunchUriAsync(new Uri(@"ms-clock:")); The uri of Alarms&CLock is ms-clock in system. You can find the protocol in Settings->System-

Inspect dump files from UWP app

余生长醉 提交于 2019-12-11 01:43:56
问题 First I enabled saving of dump files on a Windows 10 Mobile phone: Settings > Update & Security > For developers > Save this many crash dumps: 3 Then I debugged an app which throwed an exception. I continued the debugging after stop. After disconnecting and connecting the mobile phone again, I was able to access the dump file stored under Windows phone\Phone\Documents\Debug directory. The file is called FPCL.WIndows - a736c773-c105-4b30-a799-4bf317872f5e with exception C000027B on 5-03-2016

How can I migrate my WP8 application to universal when it uses a local linq to sql db?

穿精又带淫゛_ 提交于 2019-12-11 01:23:26
问题 EDIT: To clarify, I am referring to the local database support: Local Database for Windows Phone 8 using Microsoft.Phone.Data.Linq namespace. I believe that the technology is based on SQL CE. I have an existing Windows Phone 8 application that I would like to migrate to the new Universal Windows application framework. The application relies heavily on Linq to SQL that is baked into the Windows Phone Silverlight API. I understand that I can stick with Silverlight, but it seems to me that it is

c# system.net.dns universal app (W10) not working

蹲街弑〆低调 提交于 2019-12-11 00:12:05
问题 I tried to get IP adress from DNS by using IPAddress[] ip = Dns.GetHostAddresses("www.google.com"); in univesal c# windows app. But it shows me error Error CS0103 The name 'Dns' does not exist in the current context I tried it in console app, it works perfectly. Namespace System.Net doesnt contain Dns in win 10 universal app. Could you tell me, where is problem or another solution? My CODE using System.Net; public MainPage() { this.InitializeComponent(); } private void button_Click(object

Cloning a Windows Store app - What should be changed?

冷暖自知 提交于 2019-12-11 00:06:53
问题 I need to create a copy of a Windows Store app that will coexist with the original one on the store. I plan to create a copy of the solution folder and then change the package display name in appxmanifest (Packaging). Is there anything else I need to change to prevent conflicts between the apps? 回答1: Changing the package display name won't be sufficient and even it's not needed - you can have two apps with the same name on your phone. The most important is Name (in Identity node) and

XAML Custom Textbox Cursor Stays at Start of Entry

与世无争的帅哥 提交于 2019-12-10 23:07:44
问题 I'm working on creating custom controls for a XAML app for Windows 8.1 Universal/UWP and keep finding little nuances. I can't seem to find any great tutorials on creating custom implementations of existing controls (like the TextBox) so I've been looking through the source code of controls like Telerik to try and understand how their custom controls are working. The latest issue I'm encountering is being unable to create even the most simple custom TextBox without the cursor staying at the

WinRT & UWP WebView localhost url doesn't fire when app is packaged

泪湿孤枕 提交于 2019-12-10 20:58:04
问题 Boy I'm really struggling with this one! So I have a WinRT Metro application that has an HTML webpage embedded into a webview within the application. In the HTML page there is a div with an href to a localhost url. I'm using this localhost call to communicate with a .NET desktop application that is listening for this url on a localhost port. When I build the application (as debug or release) in Visual Studio (2015, update 1 or 2), the application works as expected. I can click on the div, the

Check online status, for example by pinging

只谈情不闲聊 提交于 2019-12-10 20:15:17
问题 I am developing an universal windows app for Windows 10 IoT using VB.NET. I am checking for two things - first is, if there is any network at all. I am using Imports System.Net NetworkInformation.NetworkInterface.GetIsNetworkAvailable for this. But what this does not tell me is if I really do have internet access, it only indicates if I am connected to a network. Is there any way to ping an address (like 8.8.8.8)? I cannot find a solution. The device will only be used for private purposes,