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
Related
I'm a Windows developer and have written all sorts of windows client applications using C++ and C#. I wanted to write an Android app and put it on the Google Store, but I'm only equipped with Visual Studio.
I wanted to ask if it is realistic to think that I can create an app, from scratch, including engine and UI using Xamarin only. I saw there are a few Xamarin samples out there, but I didn't want to start only to find out that it's not enough for some reason.
Currently I'm struggling a bit in getting my environment right, but thought I'd throw this question here to you guys ... Maybe it's not even worth starting?
Thanks.
Yes, Xamarin can be used to develop Android apps from scratch. Xamarin has two main libraries that help with this.
Xamarin.Android will give you access to all the Android APIs directly from c#. Note that you still need to know the basic Android concepts like what is an Activity and an Intent.
The other library is Xamarin.Forms. It is a cross-platform library that will give you a basic set of UI controls and widgets that you declare usong an xml syntax, and program with C#. This library has a few limitations, but you can also use the features of Xamarin.Android alongside it to get at the missing features.
Some advice: if possible, develop and debug directly on an Android tablet. Android emulators are not that good and hard to configure. Hope this helps.
There are 2 types of Xamarin you can use.
Xamarin Forms : Which is the unified version that use XAML for the UI. It is very recommended to use this if you are building a simple application.
Xamarin Native : The "native" version of platform that are written in C#, if you want to create Android-only apps, I really recommend this, since it's very similar with the native Android code, but it's wrapped using C# (You can still using nuget package).
I want to use the Cognitive speech service (real-time continuous speech to text and interim results) in the Xamarin app. Is there any SDKs or plugin available? Since REST API has some limitations (no interim results), i am unable to go with it.
Currently the SDK supports C# .NET and C++. We are expanding SDK support on other platforms. Support for .Netstandard and UWP will coming soon. Xamarin is also on our list. Please stay tuned.
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#).
I want to implement PDF Viewer with annotations in Xamarin Cross Platform apps (UWP, Android & ios). As per suggestion on (https://components.xamarin.com/gettingstarted/pdfnet-mobile-sdk?version=1.0.0). How can we implement PDFnet PDFViewer in Xamarin Forms portable library? since they written separate libraries and code for different platforms or should we use native apps?.
That is an old version that is no longer updated. To get the latest Xamarin SDK please fill in this form.
https://www.pdftron.com/pdfnet/mobile/request_trial.html
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.