Android — get MEID from JNI

前端 未结 2 1212
甜味超标
甜味超标 2021-01-25 00:22

I\'m working in Android, writing some JNI code, and I\'m looking for a way to query the Mobile Equipment Identifier (MEID) from the device.

http://en.wikipedia.org/wiki/

2条回答
  •  忘掉有多难
    2021-01-25 00:49

    Retrieve the MEID on the Java side, then pass into your JNI function as a jstring parameter. It'll be cleaner than calling back to Java from C.

    As to how to retrieve that, see Abhilasha's answer.

提交回复
热议问题