Android 4.x app won't run on Samsung

N Nah Eed 3 years 7 months ago
5 1 0

I have an Android 4.x app built on com.symbol.emdk running fine on Motorola but the same app won't and load on another type of device. How do I make this app cross platform compatible?
 
I was thinking of using EMDK FOR XAMARIN but it may require extra effort since the app is already built.

Please Register or Login to post a reply

1 Replies

E Efkan YILMAZ

Hi,

If you are building an Android native application then you can include the jar file as a provided dependency in your gradle file as described here: EMDK for Android Programming Practices - Zebra Technologies Techdocs

You can then detect whether or not the EMDK class exists at runtime with some form of shim, I do something similar in this application here: EnterpriseBarcodePoC/EMDKProxy.java at master · darryncampbell/EnterpriseBarcodePoC · GitHub

Also, make sure you specify that the library is not required in your manifest file:

I'm not sure how to do it with Xamarin however since I have never tried, I do not think it would be possible because of the way Xamarin components are built into the application.

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