Unique identifier of the Android device from the native code

How to get the unique identifier of an Android device from native code (and not from java)?

+3
source share
2 answers

The only way to do this is to use the JNI to invoke the Java APIs that provide this information.

+4
source

You can get this information using libRIL (Radio Interface Layer). Check the contents of the / hardware / ril / libril directory in android sources. A search in com.android.internal.telephony.RIL will also help you understand how RIL requests work.

0
source

Source: https://habr.com/ru/post/1785927/


All Articles