Xamarin: Calling Native code from a Hybrid Application

In a recent post, I described how to import code from ASP.NET MVC into a Xamarin Hybrid application.  In this post, I will show how you can reach into native code from that application.

Remember that our application has Views (.cshtml files), a Model class and a ViewModel class.  You will also remember that the UI consisted of a main page (with thumbnails of the images) and a details page with the image and associated meta-data.  We’d like to be able to tweet the image, and iOS makes this pretty simple.

 

Continued here

About Jesse Liberty

Jesse Liberty has three decades of experience writing and delivering software projects and is the author of 2 dozen books and a couple dozen online courses. His latest book, Building APIs with .NET will be released early in 2025. Liberty is a Senior SW Engineer for CNH and he was a Senior Technical Evangelist for Microsoft, a Distinguished Software Engineer for AT&T, a VP for Information Services for Citibank and a Software Architect for PBS. He is a Microsoft MVP.
This entry was posted in Xamarin. Bookmark the permalink.

One Response to Xamarin: Calling Native code from a Hybrid Application

Comments are closed.