Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Xamarin for Android and MQTT?

$
0
0

Hi everyone, I just entered the Xamarin world , therefore I'm kind of a newbie here... :)
I'm a C# developer and I need to develop a simple Android app. Obsiously trying Xamarin for Visual Studio was the first choice.

This app needs to use MQTT client functions, so I checked nuGet for packages that I've used in the past for C# programs. However, none of the packages that I find there seems to have seems to be compatible with my Xamarin project.

Tried to install M2Mqtt 4.1 adnd I receive the error "Could not install package 'M2Mqtt 4.1.0.1'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v4.4', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author."

Tried also in Xamarin Studio, same packages, same error.

Am I'm doing something wrong? If not, how do I use MQTT client functions in a Xamarin.Android envirment?

Thank you!

Luca


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>