Showing posts with label Universal Windows Platform Application. Show all posts
Showing posts with label Universal Windows Platform Application. Show all posts

Friday, July 13, 2018

How come my Microsoft Lumia 950 not recognized by the File Explorer?

It has been quite strange the way Windows 10 works.

Few days ago Windows 10 was updated to Insider Preview Build 17692.rs_prerelease-flt.180625-1624 and now I cannot see my Microsoft Lumia 950 connected to the USB (there are three on this laptop) in the file explorer.

It is strange that I can connect to Flash Drives and WD's My Passport 1 TB drive connected to the USB drives.

Even stranger is, the fact that I can deploy UWP (Universal Windows Platform) projects from Visual Studio Community 2017 to the Microsoft Lumia 950 connected to the USB Drive.

I have done a hardware troubleshooting and restarted the laptop.

Still no good.

If I find a fix I will psot here for those who may hit the same wall.

Wednesday, July 4, 2018

UWP: Is there a way to find the device to which you are deploying a UWP Project?

You can find this information using the Windows.System as shown here:

Device_000

We can find the device to which the UWP is deployed using the above information.

Here is a Blank UWP Project's MainPage.xaml.

Device_0
I have a button and a text box. Button's click event finds the device information and writes to the text box using the click event shown here:

Device_00

When deployed to the machine (Windows 10 Pro Desktop), the response is as shown.

Device4.jpg

When deployed to an emulator:

The display shows the device info:


You can get the DeviceFamilyVersion as well. The code is inside the image.

On the emulator this is displayed.