3 Replies Latest reply on Sep 8, 2017 1:57 PM by Darryn Campbell

    Tc8000 Notification Manager is null

    Elesh Jamnadas

      Hello,

       

      I am getting trouble using notification api. Below is the code I am using the obtain the NotificationManager, which is being set to null. Has anyone else had issues obtaining the Notification Manager?

       

       

      public void onOpened(EMDKManager emdkManager) {

         this.emdkManager = emdkManager;

       

         try
         {

         // Acquire the notification manager resources
         notificationManager = (NotificationManager) emdkManager.getInstance(FEATURE_TYPE.NOTIFICATION);

        }

         catch(Exception ex)

        {

        ex.printStackTrace();

        }

      ......

      ......

      }