How to read the installed "Zebra Patch Version" from within an application?

R Richard Venderbosch 3 years ago
7 1 0

We would like to read the "Zebra Patch Version" to display it on the system/device information screen of our TLmE application on TC75 and to record it it in our reporting files for support/maintenance.
How can we get this version information?
 
Motivation for this question is an strange issue we experienced on two different TC75 units this week:
After installing CFE v02.20.00 Package (CFE_TC75_KK_001404_EN_v022000.zip) on the TC75 we got crashes when our application starts to get access to the EMDK service.
We had to reflash the base OS version (T75N0KEXXPUEF01404.zip) and reinstall MX/EMDK 4.2 to get it working again.

Please register or login to post a reply

1 Replies

R Richard Venderbosch

OK. I got the solution myself.

Using reflection one gets access to the Android "SystemProperties" and then one can invoke the "get" method to read the "persist.sys.cfe.patchver" value.

The name of thevalue is documented in the release notes of the hotfix CFE:
Run “getprop persist.sys.cfe.patchver” command in ADB Shell.

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