Accessing Win10 API (Specifically BLE) from .NET app - windows

I have a non-UWP .NET app and would like to use BLE. The only support for BLE in windows comes from the UWP API.
My question is can I access the UWP API from my .NET app, and how?
Thanks

No it's not from UWP API. It's from WinRT API which you can access from any .NET app, and even from a normal C++ app as well.
See for example Bluetooth Low Energy in .Net (C#).

Related

Does Firebase Unity support Windows UWP or Windows 10 applications?

According to Unity documentation, unity supports Windows Applications (UWP) and Windows 10 applications, I just wonder that does the Firebase Unity support Windows Applications (UWP) and Windows 10 applications?
Thank you very much.
Most Firebase's Unity SDKs are wrappers around their Android and iOS SDKs, so will not work on other platforms.
Some of the Firebase Unity SDKs provide limited support for working on desktop environments, to simplify development and debugging of Android/iOS apps. See the documentation for a list of features that support this desktop workflow.
As far as I know, none of the Firebase Unity SDKs support running in UWP.
firebase works on windows and mac.
User authentication, real-time database, fire store, and storage are supported.

UWP on windows 10 IoT

I have a UWP application that run on raspberry that handles some stuff.
There is no display connected to Raspberry nor can't be. But few times a day there is a need to change some settings or access application log. I want to connect to device and manage it wirelessly by phone. I know there is a app for Windows 10, but majority of users have Android/iOS.
My idea was to run UWP and asp.Net web application simoutanously on Raspberry. Is it possible?
Or is there any other way to do it?
Thank you for your answers and ideas.
My idea was to run UWP and asp.Net web application simoutanously on Raspberry. Is it possible?
Windows IoT core does not support .Net Framework. So full-wing ASP.NET is NOT supported on Windows IoT Core.
ASP.NET Core is supported by Windows ARM, but it's still in beta.
ASP.NET Core is part of .NET Core, so .NET Core should be installed on PC and ASP.NET Core Web Application needs Windows arm platform to run on raspberry pi. However the Daily Builds of ASP.NET Core is still in a beta version.
UWP and ASP.NET Core CAN be run simultaneously on Windows IoT Core.
The UWP application can be run on Windows IoT core and ASP.NET Core Web Application can be run on ASP.NET Core. So UWP application and Web Application can be run simultaneously.
Link:
https://blogs.msdn.microsoft.com/cesardelatorre/2016/06/27/net-core-1-0-net-framework-xamarin-the-whatand-when-to-use-it/
https://www.microsoft.com/net/download/core#/current
https://github.com/dotnet/core-setup
https://github.com/dotnet/coreclr/issues/7899
https://developer.microsoft.com/en-us/windows/iot/samples/helloworld

Is it possible to develop a desktop application, which will be supported in both Mac and Windows, using Xamarin in Visual Studio?

Our team would like to develop an application in Visual studio and Xamarin. The app needs to be supported in both Mac and Windows. We prefer Xamarin because the back end code can be shared. If possible, how to build and publish it so that it can be only installed in the machines. We are not planning to submit this app to the corresponding app stores.
You can write and Windows Application with C# using WinForms, WPF, WinRT (Windows Store apps).
Also you can write Mac application with C# using Xamarin.Mac.
To share the code between Windows App and Mac App, you just need to split your code into shareable Business Logic (part) and specific UI part.
To share the code, just use PCL libraries.
Yes.
The core business logic can be written in shared code usable on both platforms.
You have a couple of choices of how to develop the UI. You can use native or Xamarin Forms.
If you use native then I would suggest using the MVVM pattern with a framework like MvvmCross. You can then write the bulk of your app in shared code and just write the UI in platform-specific code, with the windows UI written as a standard windows WPF or UWP app, and the Mac app written using Xamarin.Mac using the native Mac API.
If you want to use Forms then you may have to compile the binaries yourself to get Mac support as it won't be available till roughly May 2017, but you could get started building a Forms app for UWP/Windows now and add the Mac project once it is available.

Xamarin.Forms, are there any other application types?

Are there any other way to create Android Application except Xamarin.Forms ?
There is a remark
"The equivalent app written with Xamarin.Forms is called Todo."
at https://github.com/xamarin/mobile-samples/tree/master/TaskyPortable.
So, which application type present at this link?
You can use the Xamarin Native to develop the Android Application. Here is the link to get started with the Xamarin Native with Android: https://developer.xamarin.com/guides/android/getting_started/
And you can also use the Xamarin.Forms Portable and Shared for the Android, iOS, UWP, Windows Phone 8/8.1 and Windows 8.1 application development.
Thank You.

Bing Speech API with Xamarin Android

I am working on Xamarin Android application. Is there any way to use Bing Speech API with my application?
There are two ways of using the Bing Speech API. The first one is a REST service which can be called from any Xamarin.Android application (no additional components required).
The other possibility is to use the client libraries. Microsoft provides libraries for C# (Windows Phone, WPF etc.), Android and iOS. To use the library on your Xamarin.Android application, you can either try to use the C# library or create your own bindings for the Android specific Java library. Here's an article that'll help you with the binding:
Binding a Java library

Resources