- What is the BlackBerry Dynamics SDK?
- Requirements and support for platform-specific features
- Steps to get started with the BlackBerry Dynamics SDK
- Implementing SafetyNet attestation for BlackBerry Dynamics apps
- About the BlackBerry Dynamics SDK for Xamarin.Forms
- Sample apps
- Testing and troubleshooting
- Testing with Microsoft Visual Studio
- Implementing automated testing for BlackBerry Dynamics Xamarin apps
- Disable ARM v8 to avoid potential issues
- Deploying your BlackBerry Dynamics app
- Deploying certificates to BlackBerry Dynamics apps
- Legal notice
- BlackBerry Docs
- BlackBerry Dynamics Bindings for Xamarin.Android 7.0
- BlackBerry Dynamics Bindings for Xamarin.Android Development Guide
- Assign IGDEventListener and IGDStateListener implementations to the Android class
Assign IGDEventListener and IGDStateListener implementations to the Android class
In your app file, usually defined as
path_to_your_project
/app.cs
, assign the static
IGDEventListener
and IGDStateListener
implementations to the
GDAndroid
class.Authorization occurs after
OnCreate
method completes. Any interaction with
the BlackBerry Dynamics Runtime
outside of authorization within this
method results in an exception.[Application] public class GoodApplication : Application { public GoodApplication (IntPtr handle, JniHandleOwnership transfer) : base (handle, transfer) { // do any initialisation you want here (for example initialising properties) } public override void OnCreate () { base.OnCreate (); GDAndroid.Instance.SetGDAppEventListener (GDEventListener.Instance); GDAndroid.Instance.SetGDStateListener(GDStateListener.Instance); … } }