Programmatically get SDK version

// Expert user has replied.
C Charles Berlin 3 years 7 months ago
12 1 0

I'm aware of the VersionManager api, but that seems to return the version of the EMDK on the device.  I'm wondering if there is a way to programmatically retrieve the version of the sdk that is bundled with our app.  We have downloaded the sdk and added the jar file to the app, but we'd like to display that value in the app for troubleshooting purposes.  Is this possible.

Please Register or Login to post a reply

1 Replies

P Pietro Francesco Maggi

Hi Joseph,
There's no easy or automatic way to do this at this moment.

The main difficulties, is that the jar library is only used as a reference and not compiled into your application, so there's not much that can be done from there.

The only option that I'd found so far is to manually set a constant with the version of the EMDK used to create the APK.
Not ideal and requires some manual editing, but it works.

~Pietro

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