IMEI Number Capture

Discussions about creating CAPI applications to run on Android devices
Post Reply
Posts: 26
Joined: August 27th, 2017, 2:43 am

IMEI Number Capture

Post by pradhanra01 » July 31st, 2021, 6:38 am

Dear Gregory Martin,

Is there any function to capture IMEI Number of Android Device while entering/collecting data ?


Gregory Martin
Posts: 1534
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: IMEI Number Capture

Post by Gregory Martin » August 2nd, 2021, 8:37 am

You can't get the IMEI specifically, but you can use the getdeviceid function, which returns the ANDROID_ID: ... ction.html ... ANDROID_ID

If you're looking for the IMEI, this won't help, but if you are looking for a unique number that you can use to identify a mobile device or computer, this should work.

Posts: 510
Joined: December 19th, 2011, 6:26 pm
Location: HAITI

Re: IMEI Number Capture

Post by htuser » August 4th, 2021, 7:20 am

Dear Pradhanra,
You can do it programmatically with CSEntry SystemApp object feature (
Please follow this tutorial and implement a small android application ... in-android

Then, use use SystemApp to transfer results to CSEntry item.

However, kept in mind that newer Android versions restrict having IMEI programmatically: ... -android-q
But, some persons talk about workaround...
Hope this help you!

Post Reply