Tc8000 Notification Manager is null

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();

  }

......

......

}

Anonymous (not verified)
Hi,The EMDK

Hi,

The EMDK NotificationManager is used to control the LEDs on the RS6000 (Notification API Programmer's Guide - Zebra Technologies Techdocs ) but I can't see any evidence that the TC8000 supports the RS6000, the TC8000's manual explicitly calls out the RS507 (https://www.zebra.com/content/dam/zebra_new_ia/en-us/manuals/mobile-computers/tc8000-5-1-1-ig-en.pdf ) but not the RS6000 and only the latter supports the EMDK Notification API.

So, I think this could be a case of lack of support since this is the only function of the EMDK NotificationManager (http://techdocs.zebra.com/emdk-for-android/6-4/api/reference/com/symbol/emdk/notification/NotificationManager.html​).  If you are just trying to control the device LEDs then please use the Android NotificationManager ( NotificationManager | Android Developers  ) which is completely separate, though shares the same name.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Elesh Jamnadas
Thank you for the reply,What

Thank you for the reply,

What I am trying to accomplish are different beeps based on a successful barcode validation.

The scanner already beeps once each time it scans by default. What I need,  is to make the scanner beep again twice ( two beeps) once the scan is validated. The default tone on the scanner beep is pretty loud and we operate in a noisy environment, so we was hoping to use that same tone.

Is it that possible using the scanners native tones?

I will take a look at the android Notification Manager.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
It does not look like there

It does not look like there is an EMDK API for that but I suggest you use the Android ToneGenerator API (ToneGenerator | Android Developers ).  I do not have access to the actual scanner code to see which tone the scanner uses I'm afraid but you might try TONE_CDMA_ALERT_CALL_GUARD.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments