com.symbol.emdk.notification.NotificationManagerHelper: #EMDK-API# NotificationManagerHelper::Caught exception : Failure.

Hi,

We have I try to run your Tutorial

Notification - Zebra Technologies Techdocs

 

I establish android project with Android Studio:

-I use

EMDK APIs, Android 23, rev 307 (API 23)

 

        @Override

        public void onOpened(EMDKManager emdkManager) {

           NotificationManager notificationManager = (NotificationManager) emdkManager.getInstance(EMDKManager.FEATURE_TYPE.NOTIFICATION);

 

02-01 13:58:37.239 5863-5863/si.alcad.skladisce I/com.symbol.emdk.notification.NotificationManager: #EMDK-API# NotificationManager::NotificationManager()

02-01 13:58:37.269 5863-5863/si.alcad.skladisce E/com.symbol.emdk.notification.NotificationManagerHelper: #EMDK-API# NotificationManagerHelper::Caught exception : Failure.

 

Can anybody help me. Any advice what can be wrong and why I get notificationManager = null ?


 

Greetings

Bogdan

Anonymous (not verified)
Hi,Few things to try. 

Hi,

Few things to try.  Firstly, just to confirm the notification capability is only available on a WT6000 so hopefully you are using that device.  Secondly, does the device have the correct runtime?  You can double check this by just redeploying per these instructions: Configuring A Device - Zebra Technologies Techdocs

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Ian Sheehan
We have MC 9200 Device.I use


We have MC 9200 Device.

I use C:\Program Files (x86)\Symbol EMDK for Android\v6.0\Integrator\add-ons\addon-symbol_emdk-symbol-23\libs\com.symbol.emdk.jar.


Is possible to make beep (like sound when we read Bar Code) sound on MC 92000 Device?
Reading bar code work fine.

My friend advice me to use android's api
try {
  
Uri notification = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);
  
Ringtone r = RingtoneManager.getRingtone(getApplicationContext(), notification);
  r
.play();
} catch (Exception e) {
  e
.printStackTrace();
}
I'am realy curious why I get notificationManager = null ? Does not MC 9200 support NotificationManager?

NotificationManager notificationManager = (NotificationManager) emdkManager.getInstance(EMDKManager.FEATURE_TYPE.NOTIFICATION);

Can you help me how or any link / advice?
Greetings
Bogdan

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments