Windows Universal App maintain open WebSocket - c#

How to have a WebSocket open on Windows Universal App? Can I have my WebSocket to be open even when app is closed?

On a Windows Universal app? Yes.
On a Windows Phone 8.1 app? No.
A Windows Store app can use a ControlChannelTrigger to receive socket notifications in a background task even if the main app is suspended. This is demonstrated in the ControlChannelTrigger StreamWebSocket sample in the Windows Dev Center.
ControlChannelTrigger is not supported in Windows Phone Store apps, but it is supported in Universal Windows 10 apps on mobile devices.

Related

Windows Ink in Windows 10 Mobile

Can use Windows Ink on Windows 10 Mobile? Can I published an uwp app with Windows Ink for Windows 10 Mobile?
Or Windows Ink only Works in Windows 10 Desktop?
Can use Windows Ink on Windows 10 Mobile?
If you mean you are using the InkCanvas control in a UWP app, and you want to know if the InkCanvas can work when running this UWP app on a Windows 10 mobile device, in that case, the short answer should be yes. InkCanvas is not only work for desktop devices.
But pay attention that you must specify support for other devices through the InputDeviceTypes of an InkPresenter object. For mobile you may need to add the Touch device type.
Can I published an uwp app with Windows Ink for Windows 10 Mobile
You could publish it to windows store, and install it in your mobile. There is no special capabilities needed for this control.

WP 8.1 application can't print on Windows 10 Mobile

Hello I have a application which is for Windows Phone 8.1 and it's working fine but when i try to install the app on Windows 10 Mobile everything is fine expect the module for bluetooth printing. It's not printing at all. So my question is how i can make the app to print on Windows 10 Mobile device?

How to connect the Windows Phone 8.1 app to Fabric Crashlytics?

Is there any way to connect the Windows Phone 8.1 application to Fabric Crashlytics?
I found these plugins, that are for iOS and Android only, but I'm looking for the one for Windows Phone.
Is there any way I can connect to that plaftorm?
EDIT: this question is not opinion-based. The answer can be easily validated.
Fabric Crashlytics are not available for windows phone apps. You may try some other Crashlytics services providers such as the HockeyApp. I used it for my app, the service is entirely free for a single app.

Directly reading sensor data by paring Band 2 and PC (windows 8.1) still needs an emulator

I have to read sensor data from Band. I did search and became more confused. It seems there is a way to directly read data from Band by connecting with the desktop (windows 8.1) via Bluetooth. When I run a sample, it returns an error message like ‘deployment failure. No windows phone is detected’.
Is it possible to read sensor data from Band 2 this way?
Software environment: VS2015 community-Blank App (Universal windows);
Hardware environment: Band 2, desktop;
Pairing Band 2 with desktop via Bluetooth;
No windows phone and windows phone emulator get involved. Microsoft Health app is not used.
If yes, can I find sample code online?
Or it should be this way?
Software environment: VS2015 community-Blank App (Universal Windows 8.1), windows phone emulator, Hyper-V is required as well;
Hardware environment: Band 2, desktop, windows phone;
Pairing Band 2 with windows phone via Bluetooth;
Run the sample on the windows phone;
Both windows phone and windows phone emulator get involved.Microsoft Health app is not used.
You can use the Band SDK in one of two ways:
Within a Windows Phone 8.1 or 10 (Universal) application running on a Windows Phone, where the Band is Bluetooth-paired to the phone.
Within a Windows Store 8.1 or 10 (Universal) application running on a Windows PC, where the Band is Bluetooth-paired to the PC.
The Band SDK is the same regardless of the hardware used, so any of the samples should be fine.
Note that you cannot use the Band SDK when your application is running in the Windows Phone emulator nor when the application is running in the Windows simulator.

Wifi Control Windows Phone 8

I'm building a Windows Phone ( and 8.1 App, which uses a Wifi connection to syncronize some data with a database.
My problem is that I have several hotspots. Can I force my application to use a predefined hotspot?
No, you have no control over WiFi with the current API.

Categories