win-universal-app

Splash screen for universal windows 10 apps

本小妞迷上赌 提交于 2019-12-04 15:36:08
问题 I am creating a windows 10 universal app targeted for both Windows Phones and Windows Desktop, the problem I am facing on is when adding splash screen through the package.manifest file to the app, there is no option to add splash screen which fits the phone's portrait orientation (see the image below), And when I deploy the app on the phone the splash screen appears like shown below. 回答1: In this case, you will also want to specify the Background color , on your first screenshot. Read this -

What's the easiest way to play audio in background in UWP?

家住魔仙堡 提交于 2019-12-04 15:10:04
I am working on my Project (a soundcloud client) and the app can play tracks just fine, but not when the app is minimized. I use the MediaElement-Object for playing the mp3 from the url. How can i force the music to continue playing the music, when the app is in the background. Or whats the easiest way/best explained tutorial to implement this. I searched alot for a good answer, but the ones, i found, was too good for me :D What means, that i didn't understand it. To play audio in the background you will have to do a Declaration in Package.appxmanifest for a Background Tasks, enable audio and

phone call in Windows 10 UWP

拈花ヽ惹草 提交于 2019-12-04 14:55:19
Currently, I found Windows.ApplicationModel.Calls API. unable to make a call or launch different options available to make a call from my app. And also I try this Code but still can't implement the Phone call function, any solutions for UWP? Thank You. if (ApiInformation.IsApiContractPresent("Windows.ApplicationModel.Calls.CallsPhoneContract", 1,0)) { PhoneCallManager.ShowPhoneCallUI("0213132131", "my name"); } I've come with a solution that is working on emulator, I cannot test it on actual device, cause I don't own one. PhoneCallStore PhoneCallStore = await PhoneCallManager.RequestStoreAsync

System tray/taskbar icon/notify icon with universal apps

狂风中的少年 提交于 2019-12-04 13:55:25
问题 Is there any API I can use to create systray icons in universal apps, or is this a no-no? In that case, what should I use instead, can I somehow integrate my app into the action center or is that MS-only? 回答1: I'm sorry but I think that is not possible: the only option would be to develop a companion win32 program that creates the icon and establish some sort of communication between both (the win32 app could launch the UWP app, and the UWP could send status info to the win32 app). That would

Access ResourceDictionary in Windows Phone project from Shared project in App.xaml of Universal 8.1 App

我怕爱的太早我们不能终老 提交于 2019-12-04 13:49:38
I am creating a Windows Universal 8.1 app. In the Windows Phone 8.1 project inside I have a certain Xaml file as ResourceDictionary. In the Shared Folder I have the common App.xaml of the 2 projects (Windows and Windows Phone). Path of ResourceDictionary is: "MyApp.WindowsPhone/Assets/Styles/JumpList.xaml" In App.xaml I add: <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="MyApp.WindowsPhone/Assets/Styles/JumpList.xaml"/> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> But I am getting: An error occured while finding the resource

How to create a Tokenizing Control for UWP as known from Outlook when using To, Cc and Bcc

感情迁移 提交于 2019-12-04 13:06:22
There is a great article about how to write a Tokenizing Control for WPF here: Tokenizing control – convert text to tokens But how is this accomplished in an UWP App? The Windows 10 UWP Mail client does this just fine, so I know that it is possible. But how? Tokenizing is super useful for To/CC/BCC input areas, as we know it from Outlook and lately from the Windows 10 UWP Mail client. I suspect that RichTextBlock or maybe RichEditBox combined with AutoSuggestBox could be part of the answer, but in the WPF example above FlowDocument is used and FlowDocumet is not supported in UWP. I haven't

SQLite secure Windows Phone 8.1

最后都变了- 提交于 2019-12-04 11:46:43
I have windows universal app. In this app I use SQLite and I need secure this file. It is saved in the LocalFolder and user has access to him. I need set access only for my APP or set password for this database or anything else. Please, Do you know about extension that can help me? Thanks In Windows Store API you will find some namespaces, which I think you can use for your purpose: Windows.Security.Cryptography , Windows.Security.Cryptography.Core and Windows.Security.Cryptography.DataProtection . Edited after Maarten Bodewes comment - added randomized initialization vector. A very simple

Universal Windows (UWP) Range Slider

此生再无相见时 提交于 2019-12-04 11:38:09
I want to create range slider in UWP . I didn't find any example. There are only single sliders but I want it like . Does anybody know how can i do it? Please help me. To create a range slider in UWP, we can create a custom control or use UserControl . Here I use UserControl for example: Firstly, I add a UserControl named "MyRangeSlider" in my project. In the XAML: <UserControl x:Class="UWP.MyRangeSlider" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns

Deploy Windows Apps to Family and Friends without store, enterprise or development-tools

南楼画角 提交于 2019-12-04 11:11:02
问题 I wrote a App for my family/friends and now we would like deploy it on or PCs. Publishing it in the store is not an option and not everyone has an Widows Live account. Sideloading isn't an option, because we do not own a Enterprise edition. I found only the three already described ways. Either by publishing it in the store, using the development tools or having the enterprise edition. Is there a fourth way to deploy a Windows UWP App without using the Windows Store or the need to install a

Universal Windows Platform Apps and C++/CLI (VS 2015 RC1)

*爱你&永不变心* 提交于 2019-12-04 11:10:07
问题 I have some C++/CLI code which derives from the .NET System Namespace classes. Is there a way to reuse this code for Universal Windows Platform Apps? I can't get a reference to the System Namespace in C++, though in C# it is possible. It looks like there is only support for C++/Cx code and not for managed C++/CLI. 回答1: The syntax and keywords of the C++/CX extension resembles C++/CLI a great deal. But that's where similarity ends, they have nothing whatsoever in common. C++/CX gets compiled