WPF touch application for Windows 8 - c#

I know it is possible to do a Touch Application for Windows 7 using the Surface SDK in Visual Studio 2010.
I would like to do the same thing in a Windows 8 environment but Surface is unfortunately not supported.
I do not want to build a Metro Application but I need an executable with touch support that works in Win 8.
Does anyone know if it possible to do a touch exe for windows 8?

You can use the SDK on a windows 8 machine. I'm using visual studio 2010 with the sdk on my machine. You'll need to install Xna to to make it work. And in xaml, change your windowtype from surfacewindow to window.

Related

Simulate Windows 8.1 on Windows 10 with Visual Studio

I'm using Windows 10 and Visual Studio 2015. I can test my UWP "Universal Windows" app using the emulator for Windows Phone 8.1 and 10. I can also test it using the simulator for Windows 10. Is it possible to test it using a simulator for Windows 8.1?
*CORRECTION:
I used the wrong terminology. I meant to say Universal Windows app instead of UWP. Yes, a UWP app is for Windows 10 and Windows 10 Mobile only. What I meant is a Universal Windows app targeted for Windows 8.1 and Windows Phone 8.1, that also is capable of being run on Windows 10 and Windows 10 Mobile.
Is the answer still the same?
In fact, Visual Studio's 'emulator' for Windows Desktop is just a virtual instance of installed OS, not an emulator. Thus, you can't use the Win8.1 'emulator' of Visual studio on Windows 10 - because no Win8.1 installed. You should consider another options - like as VM, actual system, etc.
edit - My answer is applicable for Win8.1 Universal App. You can run your Win8.1 Universal app with Win10 or Visual studio Win10 simulator(like as size-different tablet emulation), but Visual Studio Win8.1 simulator is not available on Windows 10.
Windows 8.1 doesn't support UWP apps.
If you choose to develop Universal Windows apps with Visual Studio
2015 on a platform other than Windows 10, these are the restrictions:
Windows 8.1: You can’t run the app locally (only on a remote Windows 10 device). You can use the emulators in Visual Studio, but
not the simulator.
Windows 7: You can’t run the app locally (only on a remote Windows
10 device). You can’t use the emulators or the simulator in Visual
Studio either.
Source: MSDN

Cross-platform development on Mac using Xamarin/Visual Studio/Eclipse advice [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I recently bought a Lumia 950 on Windows 10 and want to develop some Universal Windows Apps, and I already got developed Android apps developed on Eclipse.
So, I would prefer to develop on my Mac (OS X 10.9.5) and cross-platform (I also got an iPhone 4S). In case of I really need to develop on Windows, I have a windows 10 Insider on a virtual machine, but I would prefer use it to test my apps. Also, develop Mac apps can be interesting.
I don't know if there is great Eclipse plug-in to do it, and as it is already a "gaz factory", I would prefer Xamarin, which seems much more adapted.
But I don't know which version to use, there is so much declination of this tool :
Xamarin Studio (Mac OS compatible)
Visual Studio IDE
Visual Studio Code (Mac OS compatible)
Visual Studio Comunity
I have a lot of questions:
What differences there is between those IDEs?
Can I use iOS/Android/Windows Mobile emulator on my environment?
Now that Visual Studio includes Xamarin. Is it well integrated ?
Can I develop on my Mac ? or use my Windows 10 VM?
Can I deploy my apps on my Windows Mobile? On my iPhone? With debugging?
Thanks to make my mind clear :)
What differences there are between those IDEs?
On Windows there are two choices for Xamarin app development.
Visual Studio
is the default choice for Xamarin on Windows. It has the most up-to-date support and should be most stable. Since Microsoft bought Xamarin, the platform became free for all developers, so you no longer need the paid Visual Studio IDE, but you can use Visual Studio Community.
Xamarin Studio
is the second choice, which also works great, but because of all the extensions and first-class support, Visual Studio is definitely a better choice.
On Mac you can use Xamarin Studio only. The app should be always on par with the Windows version.
If you really don't want to use Windows 10 (which is a great OS ;-) ), Xamarin Studio will probably suit your needs for iOS development. For UWP however, you will need to use Visual Studio on Windows as it is the only way to build UWP apps.
Can I use iOS/Android/Windows Mobile emulator on my environment?
Android emulator is avaiable on both Mac and Windows, so you are covered there.
iOS Simulator runs only on Mac, so in case you use Xamarin Studio on Mac, it will run out of the box and if you use Visual Studio on Windows, you will need to connect to it using the built-in Visual Studio Xamarin Mac Agent. The newest versions of Visual Studio also have a preview of an awesome Remote Simulator for iOS. With this, you can view the simulator directly on your PC and even use touch gestures to control it, which is normally impossible on Mac.
UWP has Emulators for Mobile and Simulator for desktop, you need to use Visual Studio on Windows 10 to run them (and build UWP apps).
Visual Studio includes Xamarin. Is it well integrated?
Yes! As I have said above, it is a first-class experience!
Can I develop on Mac?
You can develop iOS and Android apps on Mac, but need Windows with Visual Studio to build UWP apps.
Can I deploy my apps on my Windows Mobile? On iPhone? On Android?
On Mac you can debug Android and iOS apps as well as test on a real device by connecting it and selecting it as the debug target.
On Windows you can debug UWP and Android apps on your devices and also debug iOS apps by connecting the Mac Agent as I have described above. Visual Studio and Mac Agent communicate very well with Mac, so it works great even with debugging on real iOS device :-) .
Hope this helps! Looking forward to your UWP and Xamarin apps :-) !

Path to Windows 8/10 app from win 7/xna/monogame/xamarin

I've made an educational game for Windows Phone 7 with XNA - which is now a dead technology. But through MonoGame and Xamarin I have been able to port it to Android. Now I need it as an app for Windows tablets, windows 8 app or windows 10 universal app.
What is the best route to this? I'm using Visual Studio 2013 with Xamarin Business edition. And I don't know enough about my options. Should I start with the XNA version or the Android/Xamarin version? What template or architecture is best. Or do I need to do a complete rewrite (only keeping the C# business logic)?

Developing Window Store Apps in Visual Studio 2013 on Window 7 64-bit without emulator

This is going to be quite a long question but please bear with me till the end. Before going into the details, below are my PC environments:
Windows 7 Professional x64
Visual Studio Community 2013 Update 4
On top of that, I checked my PC's processor does support virtualization using Intel® Processor Identification Utility.
I also installed all the required SKD 8.1 components required to develop Windows phone 8.1 apps as shown in the picture below.
Now I clearly understands from the visual studio website requirements:-
Windows Phone 8.0 development requires Windows 8.1 (x64) or higher
Windows Phone 8.1 development requires Windows 8.1 (x86) or higher
For the Windows Phone emulators, Windows 8.1 (x64) Professional
edition or higher, and a processor that supports Client Hyper-V and
Second Level Address Translation (SLAT)
But from this SO Q&A it seems like developing windows 8.1 phone apps is still possible. However when I try to open an existing windows phone 8.1 project I got the error as shown in the picture below:
On top of that, in my Add New Project window there are no Windows Store Apps templates showing up.
I later found out from this msdn documentation that the RequiredPlatformVersion Element of the Visual Studio project template is filtering out the templates. However I tried to change the Blank Windows Phone project template element's value to 8 as specified in the documentation and also a few others value smaller than 6.3.0 but still fail to show the template.
Then I tried to install an extension called Windows Phone Template Pack which then adds two window phone project templates in my Add New Project window as shown below.
I created an empty project using that template and surprisingly I am able to open the windows phone 8.1 project as shown in the picture below.
That got me thinking that it should be possible to develop windows phone 8.1 apps but not emulating it but I am out of ideas on how to work around it now. I even tried looking at the denv.exe.config file to try my luck but there's nothing of interest there either.
Is there anyone that successfully build a Windows Phone 8.1 apps in an similar PC environment? A workaround will be sufficient.
Sorry to say this but Windows 8.1 is a requirement for developing as usually emulators on being initialized tries to load the OS into the device like the basic theme etc options.
1) You can try to connect your Windows phone to your PC and select Deploy to Device. (Though it might work and you will be able to debug yet still you would face a problem when you try to create a release build package to be uploaded on windows store. Also even though the fixes might work for short period but with Windows 10 about to be released you would be stuck with waiting for a fix to develop apps for that.)
2) You can try installing windows 8.1 inside VMWARE and deploy it.

Windows Forms in Microsoft Visual Studio 2013 doesn't have Win 8 Style

I have a Win7 machine which I installed MVS2013. I'm trying to do a simple Windows Form Application, but it doesn't have the Win 8 style, but the Win 7.
How could I make one which looks like the Win 8 style?
Or, am I doing it right? Because I've heard that Win 8 only work with Apps.
Thanks for your time.
Best regards.
Windows Form Application is what it says and it has outdated look (doesn't even completely keep up with Vista style as it is old technology used on XP, WPF application is the way Windows Vista and above work).
For Windows 8 you must use Windows Store Application project, which can be only launched if you have Visual Studio 2012 or above on Windows 8 or above.

Categories