Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enable the status bar in the Windows Phone javascript templates for Visual Studio 2013

Does anyone know how to enable the status bar (picture) in a javascript Windows Phone 8.1 application? I am using the javascript Pivot Template in Visual Studio 2013 with Update 2.

enter image description here

like image 932
Ties Avatar asked Mar 19 '23 05:03

Ties


1 Answers

You'll have to add some JavaScript to the ready function of a page for example.

First get the statusbar for the current view. Than decide what to do with it:

var s = Windows.UI.ViewManagement.StatusBar.getForCurrentView();
s.showAsync(); // shows the statusbar

More about the statusbar can be found at the MSDN.

like image 136
Sorskoot Avatar answered Apr 09 '23 03:04

Sorskoot