Programmatically get SDK version

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.

Pietro Francesc...
Hi Joseph,There's no easy or

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

Vote: 
Vote up!
Vote down!

Points: 1

You voted ‘up’


Joseph Nicolia
That's what I'm currently

That's what I'm currently doing but was hoping to have a more automatic solution.

Thanks.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments