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
11
votes
1 answer

ListView ManipulationCompleted event doesn't work on phone

I have this code in a Windows 10 UWP application: MyListView.ManipulationMode = ManipulationModes.TranslateX; MyListView.ManipulationStarted += (s, e) => x1 = (int)e.Position.X; MyListView.ManipulationCompleted += (s, e) => { x2 =…
SYL
  • 337
  • 4
  • 16
11
votes
3 answers

how to read a text file in windows universal app

I am trying to read a text file named thedata.txt that has a list of words that I want to use in a hangman game. I have tried different ways, but I can't figure out where the file gets placed, if at all when the app runs. I added the file to my…
Chris Mason
  • 113
  • 1
  • 1
  • 5
11
votes
1 answer

Difference between winforms,WPF and metro?

How is Metro different from WPF and WinForms? Are only metro style apps allowed to be sold on the Windows App Store?
Some Body
  • 1,881
  • 4
  • 19
  • 16
10
votes
3 answers

Microsoft's Feedback Hub now crashes my UWP app

The Feedback Hub worked perfectly since I launched my app months ago. Suddenly I tested launching it from within my app so that I could go directly to the feedback hub page for my app and the app just crashed. So then I launched my app in debug mode…
10
votes
2 answers

Win 10 Universal App with Cordova trying to load flash

I'm building a cross-platform Cordova app with Visual Studio 2015 and tools for Apache Cordova. Therefore I'm using the Blank Cordova App (with TypeScript) from Tools for Apache Cordova. Everything seems to work fine, except there is a strange error…
Phonolog
  • 6,321
  • 3
  • 36
  • 64
9
votes
1 answer

How can i change the Package family name in uwp windows 10

I want to change the key mentioned in fig., when i change the certificate file it changes to the another temporary key, and the publisher folder is creating with this key as name. but i want it as a meaningful name. is it possible.? if anybody…
9
votes
1 answer

How can I get a Win32 HANDLE for a StorageFile or StorageFolder in UWP?

I know I can use Win32 APIs for accessing files within my own local data folder (eg, see this answered question) but I need to access files outside of my app (eg, from the Pictures Library) and the libraries I'm trying to use are all based on Win32…
Peter Torr - MSFT
  • 11,824
  • 3
  • 18
  • 51
9
votes
2 answers

Week view on in-app calendar (Universal Windows Platform / UWP)

I was wondering if is there a custom view that lets me show a week view (or a day-view) like the Windows 10 Calendar app. I've looked at CalendarView, but it seems not I can show only one week/day, with hour delimiters. I've looked to custom views,…
webo80
  • 3,365
  • 5
  • 35
  • 52
9
votes
0 answers

Getting Error while trying to load DLL using DllImport in windows 10 universal app

I am creating windows app. which is targeting windows 10 platform and it is Universal Windows App and I am using https://github.com/phatware/WritePadSDK for creating writing lad in windows app. Now what i have done is in the solution that i…
Pradeep Gaba
  • 415
  • 3
  • 17
9
votes
2 answers

Windows-10 UWP Binding Image url to Image source in ListView

I am porting my WinRT app to UWP. My app tries to display an image, the uri for which is received from an online query. I am binding it to Image source like this in XAML App cannot…
Ganesh kudva
  • 990
  • 3
  • 13
  • 34
8
votes
2 answers

How to launch a full-trust (desktop bridge) app from UWP with arbitrary parameters

Is it possible for a UWP app to launch its Desktop Bridge (full-trust application component) with arbitrary command-line arguments? I see the ability to specify "argument groups" (see…
8
votes
1 answer

How to add my protocol into default programs in windows 10?

Hi I have a new protocol URL:myTest, how can I add it in windows 10 so I can see it listed in default programs? Shall I add it in registry? How/Where exactly could I do that? I want to associate a program with this protocol.
spspli
  • 3,128
  • 11
  • 48
  • 75
8
votes
2 answers

How can I set the Windows position on startup

I want to set the position of the window on the right side on the screen similar to WPF. Is there a way in UWP to do this?
RandomUser
  • 79
  • 4
8
votes
2 answers

Xamarin.Forms: Customize button style on hover in UWP

I have defined some style in App.xaml of the Xamarin Forms project. But that doesn't affect the button if you hover over it or press it. The font color changes here to black and a gray border around the button appears. Now I want to overwrite this…
testing
  • 19,681
  • 50
  • 236
  • 417
8
votes
1 answer

How to import .CDA tracks from a CD in windows 10 universal app?

I need to import tracks from a CD but so far I am unable in doing so. I can successfully import .mp3 or many other audio formats from a CD. For importing purpose first I scan files and folder of a CD. Then I show the list of files to user and copy…
Waqas Ahmed Khan
  • 343
  • 4
  • 21