Windows 10 – Brightness Not Working (Surface Pro 3)

My wife encountered an issue on her Surface Pro 3 (running Windows 10 Creators Update) this morning where the brightness sliders had no effect on the screen.

I took a look at it and found that the following solution worked for me:

  • Open Device Manager
  • Expand Sensors
  • Right click on HID Sensor Collection V2 and then select Uninstall from the pop up menu
  • Reboot

Hopefully this helps!

 

Advertisements

Windows 10 UWP – Template 10 Mobile Status Bar

Windows-Dev

Template 10 is a set of Visual Studio project templates for Windows 10 XAML / C# apps.

In my previous post I set the app theme to Light and found that the status bar was completely white on Windows 10 Mobile. The status icons were no longer visible.

Before we can make changes to the status bar we first need to add Windows Mobile Extensions for the UWP  to our references:

In the Solution Explorer right click on References and then click Add Reference. In the left pane select Universal Windows and then Extensions from the drop down menu. In the right hand pane select Windows Mobile Extensions for the UWP and click OK.

Now we can customize the status bar by adding the highlighted code to App.xaml.cs.

public override async Task OnStartAsync(StartKind startKind, IActivatedEventArgs args)
        {
            // TODO: add your long-running task here
            await NavigationService.NavigateAsync(typeof(Views.MainPage));
           
            //Set StatusBar background and foreground colors
            if (Windows.Foundation.Metadata.ApiInformation.IsTypePresent("Windows.UI.ViewManagement.StatusBar"))

            {
                var statusBar = StatusBar.GetForCurrentView();
                if (statusBar != null)
                {
                    statusBar.BackgroundOpacity = 1;
                    statusBar.BackgroundColor = Colors.Orange;
                    statusBar.ForegroundColor = Colors.White;
                }

Next just add the required using statements as prompted by Visual Studio.

As you can see I set the background color to orange and the text to white:

uwp-status-bar

Sources:

View story at Medium.com

https://stenobot.wordpress.com/2015/07/08/uwp-app-development-styling-the-mobile-status-bar/

https://blogs.msdn.microsoft.com/gianlucb/2015/10/08/uwp-windows-10-app-titlebar-and-status-bar-customization/

Windows 10 UWP – Setting a Light Theme in Template 10

Windows-Dev

Template 10 is a set of Visual Studio project templates for Window 10 XAML / C# apps. By default Template 10 uses the Dark theme.

If you need to switch the Light theme you can add the following code to App.xaml in <common:Bootstrapper:

RequestedTheme="Light"

To see this change in the designer, save changes and restart Visual Studio.

Windows 10 Mobile – Outlook Mail: There is not enough memory or disk space to update the display

Windows-Dev

I got this error today opening an email in the Outlook Mail app on my Lumia 640XL running Windows 10. I am using the Insider app and am on the production ring:

There is not enough memory or disk space to update the display.

Currently the Outlook Mail app cannot be reinstalled on Windows 10 Mobile – this left me with the option of doing a hard reset as follows:

Swipe down from the top of the screen and then tap All Settings, System, and then About. Scroll down, then tap Reset your phone, and then follow the prompts.

Once I reset my phone and updated the Outlook Mail and Outlook Calendar app my phone functioned correctly again.

If you find an alternative work-around please let me know in the comments below.

Template 10 – Error CS0234 The type or namespace name ‘ApplicationInsights’ does not exist

Windows-Dev

Template 10 is set of Visual Studio templates for Windows 10 UWP C# and XAML applications. For those who are interested there is a whole course about Template 10 on the Microsoft Virtual Academy site.

Once you have installed Template 10 via NuGet you will find that your project fails to build with the following error:

Error CS0234 The type or namespace name ‘ApplicationInsights’ does not exist in the namespace ‘Microsoft’ (are you missing an assembly reference?)

The solution is to add the following references to ApplicationInsights in project.json dependencies:

	"Microsoft.ApplicationInsights.PersistenceChannel": "1.0.0",
	"Microsoft.ApplicationInsights": "1.0.0", 
	"Microsoft.ApplicationInsights.WindowsApps": "1.0.0",

You should then be able to build and run your Template 10 project.

The full project.json is as follows:

{
  "dependencies": {
    "Microsoft.NETCore.UniversalWindowsPlatform": "5.1.0",
	"Microsoft.ApplicationInsights.PersistenceChannel": "1.0.0",
	"Microsoft.ApplicationInsights": "1.0.0", 
	"Microsoft.ApplicationInsights.WindowsApps": "1.0.0", 
    "Microsoft.Xaml.Behaviors.Uwp.Managed": "1.1.0",
    "Newtonsoft.Json": "8.0.3",
    "Template10": "1.1.*"
  },
  "frameworks": {
    "uap10.0": {}
  },
  "runtimes": {
    "win10-arm": {},
    "win10-arm-aot": {},
    "win10-x86": {},
    "win10-x86-aot": {},
    "win10-x64": {},
    "win10-x64-aot": {}
  }
}

SourceStackoverflow

Quick Tip: Remove Firefox Frequent List From Taskbar Menu

Firefox Logo

Firefox has a jump-list of frequent used web pages when you right click the Firefox taskbar icon:

Firefox - Frequent

This can be disabled as follows.

Type about:config into the address bar and then press Enter.

Note the warning displayed and then click the I’ll be careful, I promise! button to continue.

In the search bar type frequent and then right click on browser.taskbar.lists.frequent.enabled and then click on Toggle from the drop down menu.

ToggleFrequentFirefoxList

The value will change from true to false.

The change will take effect immediately.

Windows 10 – How to stop sending and receiving updates to and from PCs on the Internet

Windows-Dev

The default delivery method for updates in Windows 10 is to get updates from Microsoft, PCs on your local network, and PCs on the Internet. This is a two way street – if you opt to get updates from other PCs on the Internet then you will at some point be using your own bandwidth to deliver updates to them.

Fortunately this is easily resolved as we can simply choose get updates from Microsoft and PCs on our local network as follows:

  • Click the Start button and then click Settings,
  • Click the Update & security button,
  • Click the blue link for Advanced options,
  • Click the blue link to Choose how updates are delivered,
  • Leave the toggle for updates set to On and then click the PCs on my local network radio button,
  • Close the Settings window.