Skip Navigation

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.
  1. In
    Microsoft Visual Studio
    , open your project.
  2. Right-click the
    References
    folder and click
    Add References
    .
  3. On the
    .Net Assembly
    tab, click
    Browse
    and navigate to the uncompressed package with the appropriate DLL for your platform.
  4. Follow the prompts to add the DLL to your project.
  5. From the
    Add/Existing Files
    menu, 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 targeting
    Android
    11 that use root detection, APK scanning, and other
    CylancePROTECT Mobile
    features. Usage of the BlackBerryProtectSupport library is shown in the ApacheHTTP, GreetingsClient, GreetingsSample, and SampleAppSuite (Forms) sample apps.