简体   繁体   English

可以在“ Metro”环境和桌面环境中启动应用程序吗? -Windows 8 / 8.1

[英]Possible to launch an application in the “Metro” environment and desktop environment? - Windows 8/8.1

Ok, so I'm a major amature to the world of programing and I want to make an app that can be deployed through the Windows Store. 好的,所以我是编程领域的主要人物,我想开发一个可以通过Windows应用商店部署的应用程序。 This is mainly because it seems easier and cheaper than if I were to distribute it myself. 这主要是因为它看起来比我自己分发它更容易和便宜。 I'm using Visual Studio Ultimate 2013 (hooray for free college software!) and I plan on using c# and JSON to pull some data from a public api. 我正在使用Visual Studio Ultimate 2013(免费的大学软件,万岁!),我计划使用c#和JSON从公共api提取一些数据。

My question is: If I develop an app so that it can be downloaded and installed from the Windows Store to be primarily be used in "Metro" mode, can I also add a button that makes it switch over to desktop mode like Google Chrome has? 我的问题是:如果我开发了一个应用程序,以便可以从Windows应用商店下载并安装该应用程序,使其主要在“地铁”模式下使用,我是否还可以添加一个按钮使其切换到桌面模式,例如Google Chrome ?

Note: I have done some research on the subject and I think this is doable, but I could never find specifics on how it's done. 注意:我已经对该主题进行了一些研究,我认为这是可行的,但是我永远无法找到具体方法。 I appreciate any insight you can provide! 感谢您提供的任何见解!

AFAIK, as of Windows 8.1 there is no built-in support in WSA to run in a window on the desktop, unless you find that Snap mode suits your needs (it does for me). AFAIK,从Windows 8.1开始,WSA中没有内置支持可在桌面上的窗口中运行,除非您发现Snap模式适合您的需求(对我而言确实如此)。 Primary browser is an exception, but it's not strictly just a WSA. 主浏览器是一个例外,但严格来讲它不仅仅是WSA。

However, there are 3rd party solutions to do precisely that, eg ModernMix , so technically it's possible, but goes outside of what you have access to during WSA development. 但是,有第三方解决方案可以精确地做到这一点,例如ModernMix ,因此从技术上讲是可行的,但超出了您在WSA开发期间可以访问的范围。

There are also talks about Windows 8.2 supporting this out of the box: dailytech 也有关于Windows 8.2支持此功能的开箱即用的消息: dailytech

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 直接启动Windows 8.1和/或嵌入到应用程序而不是桌面中 - Launch Windows 8.1 and/or Embedded directly into application instead of desktop Windows Phone 8.1中的环境变量 - Environment variables in windows phone 8.1 如何在Windows 8.1 Metro应用程序中上传图像? - How to upload an image in Windows 8.1 metro application? Windows 8,从Metro应用程序启动展望 - Windows 8,launch outlook from metro application 是否可以用C#编写在Windows 8 Metro环境中运行的Ping类? - Is it possible to write a Ping class in C# that will run within Windows 8 Metro environment? Windows 8.1 Metro应用程序因HRESULT崩溃:0x80040150 - Windows 8.1 metro application crashes with HRESULT: 0x80040150 是否可以使用带有Metro界面的Windows桌面应用程序(或不打算去Windows商店的Metro应用程序)? - Is it possible to have a windows desktop app with metro interface (or a metro app with no intention of going to the windows store)? 如何通过C#表单应用程序启动Windows8 Metro App? - How to launch a Windows8 Metro App by C# form application? WIndows 8.1应用程序中缺少System.Environment定义 - System.Environment definition are missing in WIndows 8.1 app 是否可以在同一解决方案中开发Windows 8.1桌面和商店应用程序? - Is it possible to develop for Windows 8.1 Desktop and Store App in the same solution?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM