Skip to content

gjmwolmarans/Xamarin.Android.PInvokeSample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Native Interop Sample

Sample to demonstrate calling C/C++ unmanaged code from C# within a Xamarin.Android Unit Test.Project using P/Invoke.

NOTE: This is not a fully functional math library, it simply aims to demo desirable interop operations.

Setup

  1. Compile the mathlib in the jni folder with ndk-build.
  2. Run application.

Functionality

  • Return the absolute value of an int.
  • Transform int array to absolute values.
  • Return a double range from parameters.

About

Xamarin.Android P/Invoke Sample

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published