Posts

Showing posts from August, 2015

QUICK TIPS FOR WINDOWS 10 UWP DEVELOPMENT

Image
How can I deploy to a non-RTM phone from RTM Windows 10? A UWP app has a minimum  supported version listed in its project file. When building on Windows 10 RTM, that minimum version is set to 10240 – the Windows 10 RTM build number. But for the time being our Windows 10 phones are running pre-release builds, such as build 10166. You need to tweak your app project so it thinks it’s OK to run on your phone’s earlier version of Windows 10. 1) Right-click your app’s project in the  Solution Explorer  and choose Unload Project: 2) Open the project file for editing by right-clicking it and selecting the Edit option: 3) Change the  TargetPlatformMinVersion , e.g. to  10.0.10166.0  to support the (as of this writing) current phone build of Windows 10. 4) Reload your project by right-clicking it and selecting  Reload Project . Voila! How do I Change my App’s Title Bar Colour? Windows 10 defaults to white title bars for all apps (which looks ...

Build multi-device apps using adaptive triggers Source: MSDN

Image
Universal Windows App Development Tools and Visual Studio 2015 help you target your UI to multiple devices in these ways: Universal controls and layout panels that optimize the UI based on the device they're running on A new VisualStateManager that dynamically applies changes based on the window size Tools to help you design a UI that can adapt to different screen sizes This topic covers each of these techniques below, together with guidance and examples. Before you start, download and install Microsoft Visual Studio. Make sure that the Universal Windows App Development Tools are selected from the optional features list. Without these tools, you won't be able to create your Windows 10 universal apps. Overview The Universal Windows Platform supports several techniques to target an app to run across multiple devices. Here are the summaries of these techniques: Technique When to use Fluid UI Using Controls and Layout to Adapt This is the simplest approach and sho...