Build a smart Android app with LUIS and Xamarin Android

Xamarin.Android Natural language processing android app with LUIS

Hi everyone,

I was working on an android project which required NLP (Natural Language Processing) for interpreting a set of vocal commands in a smart way (AI, a little bit like Cortana, Alexa…). This may seem a little bit difficult from the first point of view but with all the tools which are available to us right now, it is a lot more simple than what you may think.

After making a few researches on the internet, I succeeded in implementing this functionality in the Android app which I was building, and here is an app which has just that functionality.

Note: APP_ID, SUBCRIPTION_KEY constants refer to your app id and your subscription key which I said you should note at the begining of this post.

Now, compile and run this app, You need internet connection for it to function properly since LUIS will query your model online.

Speak your commands to the app, and after being processed by LUIS, the correct intent will almost always be hit (This will depend on how well you will train your model and some other few factors…) from your intent handler.

If you liked this post, or it was useful to you, please 👍 like it, share it on twitter, facebook or other social media… in case you want to get updated on any new useful post, follow me on twitter and like my page on facebook.

Do you want to know how to build a cross platform app for your chat bot ? check this post.