Tc8000 Notification Manager is null

E Elesh Jamnadas 3 years 7 months ago
3 2 0

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

Please Register or Login to post a reply

2 Replies

Y Yanis Dalabiras

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-com… ) 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…​).  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.

E Elesh Jamnadas

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.

CONTACT
Can’t find what you’re looking for?