I want to develop a WinRT app for Surface.
There is one detail I cannot find anywhere. Will I be able to compile and run on the device using Windows 7 or I need to upgrade to Windows 8?
No, you can't develop an RT "Modern" style app on Windows 7. You'll need Windows 8 either installed as your main OS or hosted in a VM.
It is possible to develop with virtual machine(Win8) in windows 7 unfortunately if you want to develop without virtual machine you have to upgrade it
Not directly, no. WinRT apps require windows 8 APIs, there is no support for building them on Windows 7. You can fake the environment out by setting up a virtual machine and developing on that.
From Microsoft Surface SDK documentation:
"The Microsoft Surface 2.0 SDK provides the managed APIs and the tools you need to develop Surface applications. Applications that are built using the Surface SDK can run on devices made for Surface 2.0, and on Windows 7 computers..."
Read more here: http://msdn.microsoft.com/en-us/library/ff727815.aspx
Related
I have a requirement to develop a SDK(kind of class library) for Windows app supporting Windows 8.1 and Windows universal apps. Please suggest me the right type to choose for this.
At first I was thinking to use Portable class library supporting these 2 platforms but later on some researching found out Windows Runtime component(Universal apps) and read that using this would support app build using non managed code too(C++, JavaScript) which kind of seemed good for me. but when I try to refer this into a windows 8.1 app it says not supported, Do I need to build a separate windows runtime component again for this(I see Windows runtime component(portable for universal windows 8.1 template)?
Is there any chance I could build this without the need of having 2 projects for different platforms?
I've been able to successfully use a WinRT component targeting Windows 8.1 in a Windows 10 app before, but it might have changed and YMMV. Try it out.
I have a full fledged app built for windows 8.1...
Through my research, I discovered that the api changes between 8.1 and 10 is nt that much and an app built for 8.1 will work on 10..
So my question now is will a windows 10 app work on windows 8.1?
If yes, how can I go about it?
I've created a report on changes for WinAPI 8 vs WinAPI 10 that may help you to discover differences in details. It's available on this page. The report is generated with the help of the ABI-CC tool.
Since apps built for WP8.1 don't work on WP8, then I doubt that Windows 10 Mobile apps will work on WP8.1. As far as I'm aware, there are more differences between those two systems' API than between 8.1 and 8.0
Btw, are you asking about the desktop systems or the mobile ones (as the tag you used suggests)?
Running VS2012 Pro on Windows 7 Pro, I need to develop a desktop application for a Windows 8 environment (this is NOT a metro-style interface). What I can't figure out is how to reference the Windows 8-specific libraries (for instance, Windows.Media.Capture). I've downloaded and installed the Windows 8 SDK, but when I try to add a reference to a Windows 8 library, nothing is available in either the Framework or Extensions list.
Any ideas? or am I stuck with having to move to Windows 8 on my development system?
Thanks.
You can develop a .NET 3.x or 4.x app on Windows 7 and run it on Windows 8 in desktop mode just fine. You can also create a C++ app that targets Win32 and run it on the Windows 8 desktop just fine. However, you cannot reference any assemblies on Windows 7 that have runtime dependencies on WinRT APIs. Windows.Media.Capture and the classes contained within (such as CameraCaptureUI) are WinRT APIs and cannot be used on Windows 7. Even if you had Windows 8, very very few WinRT APIs can be called from desktop applications. The Windows.Media.Capture APIs can only be used from a Windows Store (formerly Metro) app.
Dev support, design support and more awesome goodness on the way: http://bit.ly/winappsupport
As Microsoft said that windows 8 and windows phone 8 share the same code base. If I use visual studio 2012 RC write an application for windows 8. I want to know whether I can install and run the same application on windows phone 8?
If the answer is yes we can prepare ourselves for windows phone 8 SDK by learning Visual Studio 2012 RC for windows 8 today!
Right now they haven't announced everything, so this is just my speculation.
I guess that you will not be able deploy the same app (xap file) to WP8 and Windows 8. This by design. Why? Because they are very different systems. Your beautiful, fast and awesome Windows Phone app will suck on Windows 8. There is no silver bullet. It's the same for HTML. You have to create separate mobile version of the web app, otherwise nobody will use it.
They share the same kernel and probably plenty of APIs. But that doesn't mean the runtime environment in which your applications run is the same. E.g. very different form factors make it necessary to adapt the app anyway. Since they never said that Windows Phone 8 has the same application programming model as Windows 8 you can at the moment safely expect not to be able to deploy the same app to both Windows 8 and Windows Phone 8.
That being said, you probably can expect to share a lot of code between both systems, especially if you're using either C# or C++ (with native apps coming to WP8 too).
Application compiled for WP8 won't just run on Windows 8, but you can share lot of code into common libraries.
There is a chapter in Windows Phone 8 SDK about targeting both Windows 8 and Windows Phone 8 development. Mostly is possible either by Portable Class Libraries, referencing common files both in W8 and WP8 projects or using Windows Runtime Components.
http://www.microsoft.com/en-us/download/details.aspx?id=35471
Many Application designed for wp8 work on windows8 also as The developer have also to decide whether it will work in both of then,usually windows8 has not enough graphic and motion control so some WP games do not run on windows8,, You can always see any app permission notice to understand whether it work on wp8 or not on other hand there were also some windows game that has as much graphics that WP could not run,,
Like if you want game like assassins creed it will run on both operating system(WP,window) but in different manner
So it's chooses by game properties that define cap package to run or not
I am upgrading my Windows Mobile 5 project to a Windows Mobile 6 project.
The first step (at least so it seems to me) is to get the Windows Mobile 6 SDK installed.
When I went searching for this I found the following installs that both seemed to fit what I was looking for:
Windows Mobile 6 Professional SDK Refresh.msi
Windows Mobile 6.5 Professional Developer Tookit (USA).msi
So, the question is, do I need these both? and if so, what order do I install them in? and is there any other installers/steps I am missing?
It depends on what you're targeting. There are loads of SDKs, but generally what they bring to the table are emulators and SDK-specific stuff (like additions to the Microsoft.WindowsMobile namespace). Otherwise they really don't do a whole lot. For example you can continue to use just the PPC 2003 SDK to write and deploy apps on WinMo 6.5, you'll just be missing availability of the stuff that was added to be 6.5-specific.
Persoanlly I'd recommend installing the 6.5 Pro (and maybe standard too) SDKs and foregoing the 6.0 SDK unless you need to do emulator testing for something like a 6.0 or 6.1 device.