Load bindings for a new project
If you are starting a new project that has not already been configured for the
BlackBerry
Dynamics
bindings for Xamarin
, you must configure the project to load them.- InMicrosoft Visual Studio, open your project.
- Right-click theReferencesfolder and clickAdd References.
- On the.Net Assemblytab, clickBrowseand navigate to the uncompressed package with the appropriate DLL for your platform.
- Follow the prompts to add the DLL to your project.
- From theAdd/Existing Filesmenu, add the following dependencies, located in the root Examples folder:
- android_handheld_resources-<sdk_version>.aar; set the build action to AndroidAarLibrary
- zxing-android-embedded-<sdk_version>.aar; set the build action to AndroidAarLibrary
- core-3.4.0-<sdk_version>.jar; set the build action to AndroidJavaLibrary
- android_handheld_blackberry_protect_support-<sdk_version>.aar; set the build action to AndroidAarLibrary
android_handheld_blackberry_protect_support-<sdk_version>.aar is required for apps targetingAndroid11 that use root detection, APK scanning, and otherCylancePROTECT Mobilefeatures. Usage of the BlackBerryProtectSupport library is shown in the ApacheHTTP, GreetingsClient, GreetingsSample, and SampleAppSuite (Forms) sample apps.