Debug Windows forms application for Windows 10 tablet - c#

Windows forms application works on any device having Windows 10 installed, nevertheless since I am going to deploy my windows forms app to PC and laptop users I would like to make sure it will correctly scale on tablet device.
Is there any Windows 10 tablet emulator that I could use to check application look and feel during debug or how you do it?

The typical scenario for this is using virtual machines (VirtualBox, etc) with a Windows 10 image that reflects your final hardware and software as closely as possible.
It is however not the final hardware and there is usually no way of knowing whether it will work on the production hardware without testing it on production hardware.
You will also need to know the production hardware settings like is it using high DPI settings, etc.

Related

Distribute windows app from my own server

I have developed a Window 10 app using Universal Windows Platform (UWP) app. i just want to distribute it from my own server. i don't want to put it on window store. is it possible? if yes, how can i?
I have windows IOT core devices that will run at different locations, so I need to update my application on all these devices automatically.
For the scenario of IoT core devices, a common easy way is to use the MDM system, aka. Windows 10 Mobile and mobile device management:
The MDM client allows the MDM system to configure policy settings; deploy apps and updates; and perform other management tasks, such as remotely wiping the device.
But this is often be used for company apps, using this means you need to become a partner of Microsoft, so this method is not suitable for personal development.
Another method is that you need to for example check the version of your app in your server and manually Install Universal Windows Apps with the WinAppDeployCmd tool, using this tool can deploy a Universal Windows app from a Windows 10 machine to any Windows 10 Mobile device. But your server should establish connections to target devices before.
You can also refer to the blog: Just released: Windows 10 Application Deployment tool to get started.

Can Microsoft account deploys an app to Windows phone 8.1 more than 3 devices for testing?

I am new in Windows phone development application. I built an app package and use Application Deployment Tool deployed it to devices for testing. But a microsoft account only allows to deploy 3 devices in maximum. I tried The Chinese tool aiyingyong_pc to jaibreak the Windows phone but it not work. Are there any ways to deploy to many devices or any tools can jailbreak the Windows phone?
As far as I know, except for Samsung devices, there is no jailbreak available for Windows Phone 8 (only for Windows Phone 7).
According to Microsoft, you can increase the device limit if you open a support ticket: http://blogs.msdn.com/b/matthiasshapiro/archive/2012/12/14/how-to-register-more-than-3-windows-phones-for-development.aspx
Honestly, I've never tried and the article is more than two years old, so I don't know if it's still true.
Otherwise, the only workaround left is publishing the app as a beta. Though not as convenient, you'll be able to install it on as many devices as you wish.

Getting custom alerts on Android from Windows PC

I have a Win PC (8.1) and an Android phone (5.1); the phone is locked. I have a C# app on the PC that does sensing, and alerts when one or more of several events occur. I need to see those alerts on my phone, and although some delay is OK, it needs to happen pretty quickly.
I'm not fussy about how the phone handles the alerts - visually, audibly, or whatever - so long as I'm made aware of them somehow. Any thoughts?
Take a look at the app called 'Tasker'. Also, you can connect remotely to your computer using Google's app called Remote Desktop. Hope you find a way, this is very interesting.

WPF windows client application on windows 8 pro tablet

currently I am working on a project in which the client GUI application is developed using WPF and C# and it calls a service on the webserver for business related functionalities. This client application is developed for desktop clients.
Now we have a requirement to make the application which was being developed for desktop, to work on a windows tablet (OS windows 8 pro).
So I want to know whether I can Use the MSI generated for desktop application can be used on Windows 8 pro tablet without any changes or not? Will the application work as its working in desktop?
If not then what all things I need to do for running the application in windows 8 pro tablet
I would be grateful if any one could answer these two questions.
All windows applications (except those compiled only for the ARM architecture - probably a rare thing), will run on a Windows 8 Pro device of any form factor.

Creating a Windows Service for Windows 8 to use TCP/IP as soon as booted

On other windows operating systems, I could create a Windows Service that listens to TCP/IP for any communication (like a PBX for example) through sockets.
But, how would i handle this in Windows 8? Applications can't run there all the time and when Windows 8 Metro starts up, applications for the normal desktop aren't running.
I need this service to start up all the time in any situation as soon as the computer starts up...
I also need http://pcapdotnet.codeplex.com an open source project to analyze the network...
What's the best future proof practice in an enterprise environment?
I don't have any Windows 8 experience on me yet.
Try this: If you make your windows service depend on something like the computer browser or could be the workstation service. The net connection should be up then.
You have to code this dependency in (no sample on hand).

Categories

Resources