title: Xamarin: Bridging C# with a native Android library
body: <p>Though I have been developing on the .Net platform for years now, I am more or less a newbie when it comes to mobile development.</p>
  
  <p>I am developing a cross-platform messaging app using Xamarin, and the app relies heavily on XMPP for updates from the server. I have looked around a bit, however there seems to be no XMPP library that has been ported to Xamarin yet. (I am specifically looking for a free library.) I wanted to know if it is possible to build some kind of a bridge between Xamarin's C# code and the <a href="https://github.com/igniterealtime/Smack" rel="nofollow noreferrer">Smack XMPP library for Android</a>. Once I have an idea how to do this, iOS should not be much of a challenge.</p>
  
  <p>Of course, this could have been a more generic question: is it possible to bridge Xamarin's C# code with a native Android library?</p>
  
  <p>Any pointers will be of immense help.</p>