AndroidPub
Published in

AndroidPub

Embedding C# in Native Android

Photo by Rustic Vegan on Unsplash
Dependencies

Setup

  1. App
  2. Xamarin
  3. XamarinInterface
  1. XamarinDependency.Application
  2. XamarinDependency.Library
  3. XamarinDependency.BindingsLibrary

Gradle XamarinInterface module

Xamarin BindingsLibrary project

Xamarin Library project

Xamarin Application project

Gradle Xamarin module

  1. assemblies/** Compiled C# .dll files.
  2. lib/** Compiled C++ .so files, including any ahead-of-time compiled C# and mono libraries.
  3. typemap.** Type mappings used by Xamarin.
  4. environment Mono environment settings.
  5. NOTICE Says that this contains open source code. Why not.

Run it!

Considerations

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store