Questions tagged [windows-10-universal]

The Universal Windows Platform is a common platform for all devices running Windows 10. The UWP is separated into device families like PC, Mobile, IoT and many more. The UWP allows you to use common code for all device families.

Universal Windows Platform

Windows 10 introduces the Universal Windows Platform (), which further evolves the Windows Runtime model and brings it into the Windows 10 unified core.
As part of the core, the UWP now provides a common app platform available on every device that runs Windows 10 (). With this evolution, apps that target the UWP can call not only the WinRT APIs that are common to all devices, but also APIs (including Win32 and .NET APIs) that are specific to the device family the app is running on.

The UWP provides a guaranteed core API layer across devices. This means you can create a single app package that can be installed onto a wide range of devices. And, with that single app package, the Windows Store provides a unified distribution channel to reach all the device types your app can run on.

Resources

2393 questions
0
votes
1 answer

Validate email and show error as a toast - uwp

I want to validate email address and need to show error message as a toast. I followed this link. It shows toast well. But those toast messages are coming as notification on notification area of device. Actually for validation purposes we really…
nsds
  • 961
  • 4
  • 13
  • 39
0
votes
0 answers

Programmatically read capabilities from manifest of UWP app at runtime

My question is similar to How to get programatically all capablities that enable in manifest for UWP app (sic), but I wish to do this at runtime instead of reading directly from the Package.appmanifest or AppManifest.xml file. I am writing an SDK…
Greg Thatcher
  • 1,303
  • 20
  • 29
0
votes
1 answer

Error adding WrapPanel

I created a new blank Windows 10 Universal app and tried to add a WrapPanel exactly as per the sample code in the link: WrapPanel XAML Control I am getting the following error message on wrapPanel:WrapPanel The name "WrapPanel" does not exist in…
slayernoah
  • 4,382
  • 11
  • 42
  • 73
0
votes
1 answer

Populate ComboBox items and SelectedValue in a ComboBox that is within a GridView DataTemplate

I am developing a Windows 10 Universal App and I have trouble getting items to populate in a ComboBox (both ComboBox items and SelectedValue) that is within a GridView DataTemplate. I don't seem to be able to find a way to do this. Here are the…
slayernoah
  • 4,382
  • 11
  • 42
  • 73
0
votes
1 answer

Testing UWP app in development that uses GetAppAndOptionalStorePackageUpdatesAsync to check for store updates

I'm adding code to my UWP app that will detect if mandatory updates are available and automatically download and install them. This app is being deployed by Microsoft Store for Business as an LOB app once it is ready for production use. During…
Steve
  • 279
  • 3
  • 13
0
votes
1 answer

How to add timeout to serialDevice?

I'm currently working on a project where I use a serial port with a UWP app. Sometimes I have the problem that I expect a certain amount of data but when I don't get that amount of data my serial port keeps reading until I cancel it manually. When I…
Daniel
  • 242
  • 2
  • 12
0
votes
1 answer

UWP Command Bar with Custom Image

I am new in UWP app development. I would like to add a command bar with custom icon bellow my app main page. Can anyone suggest me how to do this. The image which I would like to add in my command bar is below:
mnu-nasir
  • 1,642
  • 5
  • 30
  • 62
0
votes
2 answers

UWP doesn't connect to virtual serial port

I will not be able to access the hardware I'm programming with sometimes or it's just not good to debug. So that's why I thought to make my life a bit easier and work with a virtual serial port. I chose to use com0com since it's pretty straight…
Daniel
  • 242
  • 2
  • 12
0
votes
1 answer

UWP Push Notification - Send message externally

I have Register my app for the windows store (by doing steps 1 to 13) as in the link Now notification works when I'am adding notifications in developer account. Now I want to know that can I send the notification message to my app externally? For…
nsds
  • 961
  • 4
  • 13
  • 39
0
votes
1 answer

Auto scrolling content in Windows 10 UWP app development

I am new in UWP app development. I would like to know what are the alternative of Android TextSwitcher and ImageSwitcher control in Windows UWP app development platform. Thanks.
mnu-nasir
  • 1,642
  • 5
  • 30
  • 62
0
votes
1 answer

Can't open a HID USB device using HIDDevice class in windows 10 UWP

The following code returns null in some Windows 10 systems currentDevice = await HidDevice.FromIdAsync(devices.ElementAt(0).Id, FileAccessMode.ReadWrite); I found out that this problem could be resolved by…
Sansei
  • 93
  • 10
0
votes
1 answer

App sometimes freezes/crashes when invoking serial port communication. How to fix that?

I'm currently developing a WIn IoT app for the Raspberry Pi and I have a significant problem there...I could really need some help solving that... The problem I'm having is that I have different commands I send over the serial port and every command…
Daniel
  • 242
  • 2
  • 12
0
votes
2 answers

UWP XAML designer not showing up layout items

I followed a tutorial (Microsoft's "Getting started with Windows Template Studio") for creating a example UWP app using Windows Template Studio for Windows Desktop. They usually ask questions like : "The XAML Editor doesn't open, doesn't shown etc."…
0
votes
2 answers

How to add the "Windows.Web.Http" to your project?

I am in the process of changing my Windows 8.1 store application to use TLS 1.2. This was required by the client who recently moved all Web APIs to HTTPS and forced the entire traffic network to use TLS 1.2. My store app started having communication…
Eddie
  • 271
  • 4
  • 18
0
votes
0 answers

Creating a Unity VR app for Mixed Reality and Windows 10 Universal

I created a Unity, Windows 10 Universal project, with VR enabled, using a 2d template, and the only scene consists of a cube on either side of the screen. I set up the cameras so that I had a left and right for each lens, with each cube applied…
Nick
  • 1,015
  • 12
  • 31
1 2 3
99
100