January 21, 2018

Develop for Windows 10 Q&A – (1) Random Points

ja

I have been watching Jerry Nixon and Andy Wigley’s A Developer’s Guide for Windows 10. I take notes along the way. Some topic I have covered a few times, a few things are new. They appear to be random because the way I pick them, so I put them up after each video or two. Hope that refresh and consolidate your memory.

This Q&A is related to video #1.

 

Q: What does Pivot control appear to be?

A: Moving from Windows Phone to UWP, the Pivot control look and function the same on the phone,  but turns to tabs on larger screens. At 28:00, it is briefly demoed in video #1. I am not sure if I am exaggerating but I feel Pivot control the one of most important elements in Windows Phone. If I am going to develop Windows 10 apps, I will use Pivot as the main container control.

Q: Is there a HoloLens emulator in Windows 10 SDK?

A: Not yet. There are many emulators right now. HoloLens emulator is mentioned in video #1. I feel like there will be one. There are two reasons I say that: 1. It is possible, I don’t know how, but… 2. It is desirable, not need to explain. 3. I found when these two say something speculative, treat it as a fact.

Q: Continuum use cases?

A: This maybe a little off topic, since they talked about it, so I took notes and talk about it again. Continuum is amazing, it turns a phone into a PC, but what’s the use for it? Only case I can come up with is when you travel, you only bring a phone, a mini keyboard, an wireless display adaptor, then have computer in the hotel room. Is that really desirable?

Q: Why there is no need for #if anymore?

A: The purpose of #if is to generate multiple binaries on one code, well, on Windows 10, you are coding for UWP, you create one binary for all Windows 10 devices, that eliminate the chance of using #if. However, there are exceptions for every rules. For example, if you want to create different editions (free, lite, pro, etc.), you may still need #if.

Q: Where to get developer resources for UWP?

A: Three main links: dev.windows.com, microsoftvritualacademy.commsdn.com.

Q: What is .Net Natives?

A: I haven’t read enough to answer that. It sounds like all .Net apps on Windows 10 will be compiled to machine code instead of intermediate language code. .Net runtime would be gone, or reduced. That’s great news.