Is there any way to detect if browser is running in Windows 8/8.1 (metro) mode or in Desktop mode?
Related
In the Package.appxmanifest of a windows 8.1 winrt project, if you set the initial rotation preference as portrait
<m2:VisualElements DisplayName="SplashScreen" Square150x150Logo="Assets\Logo.png" Square30x30Logo="Assets\SmallLogo.png" Description="SplashScreen" ForegroundText="light" BackgroundColor="#464646">
<m2:SplashScreen Image="Assets\SplashScreen.png" />
<m2:InitialRotationPreference>
<m2:Rotation Preference="portrait" />
</m2:InitialRotationPreference>
</m2:VisualElements>
If the windows 8 / windows 8.1 / windows 10 tablet is held in landscape, the splash screen first shows up in landscape mode and then rotates to portrait mode, however the same issue is not observed for windows universal apps.
Is there a way to get the splash screen as portrait?
Has somebody faced this issue?
I have Windows 10 Pro installed (Hyper-V activated) and Visual Studio Enterprise 2015 (with "Universal Windows App Development Tools" and "Windows 8.1 and Windows Phone 8.0/8.1 Tools" installed) . I can launch succesfully all Windows Phone 8.1 Emulators but if I launch Windows Mobile Emulator 10 that is what happens:
The Phone Emulator opens properly with the write "Loading...".
After a while appears the write "OS is starting...".
Finally (after 5-10 minutes) the write disappear without launching the OS, the emulator just stays open with the black screen.
Visual Studio doesn't give any error so I really don't know what is the problem.
I also tried to launch the emulator directly from Hyper-V (right click on the emulator->Connect and then Action->Start) but the window just stays black. It seems I can't load the OS.
Any suggestion would be appreciated.
Open your HyperV, Open Visual Switch Manager .
Find VisualSwitch related to the Emulator ,click on it .
In Connection Type ,set connection to Private network ,Then press OK and restart your PC .After restart do the same and change Connection Type to Internal network and then restart.
Then it should work ,I guess!
I have a maybe a small problem.
My task is to test a windows 8.1 tablet app. I have no tablet here, so I installed the Visual Studio 2013 Express and the Windows Phone SDK.
If I start the "windows phone application deployment" and try to start the *.appxbundle file, I get an error
a packaging error prevented this application from installing
I sent this back to the developer, he means the app is made for tablets and have to be tested on tablets.
So my question:
Is it somehow possible to simulate windows 8.1 tablet on a windows 8.1 system?
How to install the .appxbundle file?
Thanks.
If you want to test the app in a tablet then there is no need of a Windows Phone SDK or any simulator. You can install the app in your Windows 8.1 pc/desktop, and it will be the same as it will be on a tablet, because a windows store app is common for tablet and pc.
And to install the .appxbundle you can refer to this link (from step 6).
Found a solution, install the app with windows power shell
add-appxpackage C:\myapp.appx
I would like to know if it is possible to create win 8.1 apps with WinJs 2.0 (where the hub, search, back button, etc is included) on a machine with Windows 8 or do i have to install the preview of Win 8.1?
You need the preview of Windows 8.1 along with the version of Visual Studio for it.
You need to install preview on Win 8.1 as WinJS 2.0, relies of features introduced in IE 11 (mutation observers etc).
I Want to Switch metro to desktop becasuse in metro my win32 window would not be the topmost. I found these Way but can't work:
1. simulate win + D key by sendinput, it doesn't work in metro
2. minimize the window above my window, it doesn't work with some window
how can i Switch Metro to desktop by windows api?
TKS