Serial number from TC20


Audience

Hi
I am trying to retrieve Serial number from a TC20 device from an inhouse built app (Android Studio ArticFox: Kotlin&Java). This App is currently in development and not in production (not signed).
I have followed @darryncampbell , https://github.com/darryncampbell/OEMInfo-DeviceIdentifiers-Sample-Andr…
- Used StageNow to Apply MX Access manager settings
- To obtain Package Signature, I followed the steps as explain in section "Apps signed with the Android debug key" (using keytool) in https://github.com/darryncampbell/MX-SignatureAuthentication-Demo/blob/…
I was able to do all the above steps without any errors, but the Serial Number I get looks like a “Certificate” (see below)

AnIaUVB/1e/9lnAKCfhj2t+Jvb64GdESq0m4JoYIrnPxGJOqg19717++wU173B28bK5jl1wF88s9
s0kL84blbG6qtzxZe/z8FqGmZndtoEWTT0GNdHPdAfJZVCXxZO18kTqDTDh0n8Ui8JtjYLc24ICC
Nhgk82Z7BrdUtfG0Wtnp6TMI2CbudElNuNWn5wZrApvITUIvEFmFtNJU/+IJJ7FpIVyoIVRf3wWq
rJx2F4KCpRsWt+g+AXMion8pFCsUs9gQJUyR31o1uHvmCJKbBudq6Vrw+bzfSqJLipzmKjeF9YJ/
nbO3FbDj/Ae+H+ZP4ibChaKdQsHb3IPA6u7taw==

TC-20 Details
Android Version: 8.1.0
OSx Version: 8.8
MXMF: 9.0.4.3

Any help with this is appreciated!
Thanks

Submitted by kurupr@upmc.edu on April 26, 2022 Permalink

Just wanted to provide an update to this issue, it turns out to be an issue with Android version. It worked good with Android 10, for Android 9 (and earlier) I think the solution is to use getSerial() as @richard-venderbosch mentioned.

Thanks all for your responses!