How to manage WiFi connection in universal app (win 8.1)? - c#

I'm writing universal app for win 8.1 using C#, which should have capability to show available WiFi networks and manage connecting to them.
I've found libraries for that: http://managedwifi.codeplex.com/ or http://blogs.msdn.com/b/winsdk/archive/2015/01/09/wlan-programming-how-to-tips-and-tricks-including-using-it-in-c.aspx .
Unfortunately they are not build for .NETCore and I haven't find a way to include it and compile them in my project.
I've tried also Windows.Networking.Connectivity.NetworkInformation.GetConnectionProfiles but I can get names but not the exact SSID displayed to the user.

Related

how to get open window store app using C# windows application and get uwp installed list

how to open windows stores app uwp app using C# windows application
How to open a windows stores app using C# windows application
using Process.Start("");
How to open any voice command like cortana ?
not sure you can link to the exe since it's a UWP app but fortunately it supports protocol activivation so causing this to work
Process.Start("ms-windows-store://");
Regarding #2,
To build skills (in US markets in English, including Cortana) start here:
botframework then skills kit
If you don't want to build skills but just want STT/TTS, start here:
Bing Speech

Windows 10 Pro -version 1803 bluetooth Profiles Access

We are looking to access and use Bluetooth profiles in our WPF application using C# in Visual Studio 2017.
Issue details:
Platform: Windows 10 Pro - version 1803.
Issue brief: We are trying to access Bluetooth profiles via desktop(c#) of connected phones, however on windows 10 the profile show enable but the profiles are not working eg: HFP connects, however, the voice is not heard
We have tested this on following Bluetooth devices:
1.Bluetooth CSR 4.0 Dongle (CSR8510 A10) (Note: this Bluetooth connects and show HFP and works as expected, however, the Bluetooth does not show on the device list and hence we cannot connect programmatically using c#)
2.IOGEAR's Bluetooth 4.0 (Model GBU521W6) (Shows on device list and our application can detect a device, however, HFP is not working as expected both from the application or from normal device section)
Required Profiles:
1.Hands-Free Profile (HFP)
2.Message Access Profile (MAP)
3.Phone Book Access Profile (PBAP)
We have Already Tried with following:
Updating drivers
Tried uninstall install many times
Used android, ios, and windows phone's
Side note: Our application with same code works on windows 7
MAP abd PBAP is not a problem because both are OBEX based (which is RFCOMM).
However there can be some problems with HandsFree. It works great with BlueSoile drivers. But with standard microsoft may not work.
The first step it to use BluetoothSetServiceState with HFP UUID to tell windows to install drivers for your device's HFP profile. If function succeed you should see 2 audio devices appeared in your system: one is Inout and other is Output. You can find them using any media API (DirectSound, legacy API).
To be able to work with PBAP and MAP you need anyhow connect to your device through RFCOMM. WinSock or any other way is good.
Please note that the method above works only with Microsoft Bluetooth drivers. Other drivers (BlueSoleil, Toshiba) have absolutely different API so you have to add it into your application if need to support them.
Or you can simple take a look on BluetoothFramework

how to get list of all installed apps and run them in UWP WinRT 8.1

I'm actually creating an UWP 8.1 app for one of my client.And I've got some little issue with it.At some point of my app I've to get all the names of installed app in the device and view it as a list.When the user will click on any of them, I've to launch that certain app.
I've already tried to add restricted capabilities in the app manifest but it shows a blue line when I add,
Morever I can get access to the AppData/Packages by using folderpicker somehow but don't know what to do.
The app is for WinRT surface 3 and it isn't going to store or anything it has only one user. So if anyone know any sort of solution please let me know.
The PackageManager class has the methods to enumerate all installed apps.
However, in 8.1 the PackageManager can only be used in desktop apps (e.g. WPF, Winforms, Win32). It cannot be used from a Store app on that version of the operating system.
On Windows 10 you can use the class from both Store/UWP apps as well as classic desktop apps.

how do you beta a windows phone 8.1 app

How beta windows phone 8.1 app. Might sound like a newbie question but bear with me. I have written and app like quite a few others but this is the first app where I want to support wp8.1 and wp10. The app side loaded on to a wp8.1 or wp10 device works fine as expected.
If put into the Windows store as beta with the necessary emails will install on wp10 devices but refuses to install on wp8.1 devices no matter what.
If I put into the store as normal it fails testing with an ungraceful shutdown that I cannot replicate.
I can't install beta to get the crash dumps to find out what's going on. So now am completely stuck.
Any help or advice would be much appreciated.
If you want to publish a beta version to a specific group of people, then you'll need to select the following option :
Hide this app and make it available only to the people you specify
below, who can download this app on Windows Phone 8.x devices. A
promotional code may be used to download this app on Windows 10
devices.
Only the people whose email addresses (associated with their Microsoft accounts) that you enter in the box can download your app by using the direct link to its listing. If you want W10 beta testers, then you'll need in addition to generate promotional code and send each promoted link to your W10 beta testers. Check this link to learn more about beta publishing on Windows Store.
If you failed to install beta version on WP8.1 devices, I can see two reasons:
Email addresses defined in the publisher portal do not match with the one activated on the WP8.1 devices
You tried to install the WP8.1 app immediately after defining the list of Email addresses in the publisher portal. In fact you'll to wait couple of hours before beta version becomes available on devices
Thanks for your answers. But after a long protracted process I finally got through to Microsoft. (If you do't have paid for MSDN support is damn near impossible to talk to anyone) Turns out there was a problem with my dev account. safe to say the issue is now fixed and apps are downloading/installing again

Is there any way of deploying the WP8 app "without Cable"

I am a wp8 developer and searching for a way to deploy my app on device "without the cable". I have searched over the web and could find nothing helpful. I know about he "Application Deployment" tool in WP8 SDK and my phone is also Developer Unlocked. I know how to simply deploy an app on windows phone. All i am looking for is to know, Is there any way I can deploy my application to my phone without using the phone cable?
Lets say i dont have my cable with me, what options do I have now?
Currently you can't debug an app on your phone without the USB cable. You can do this when developing for Windows 8.x so perhaps with the coming WP8.1 update we'll get the same feature for the phone..
There is the beta testing you could do for a test deployment through the store but the app will run through the cert. process so this is no option for testing while developing and there is no debugging.
You can only use the cable to deploy to your device. If you dont have a cable with you, just use the emulator.

Categories

Resources