Android unique device ID from native code
Ho开发者_开发百科w to get the Android unique device ID from the native code (not from java)?
The only way to do this is to use JNI to call the Java APIs that supply this information.
You may get this information using libRIL (Radio Interface Layer). Check the content of the directory /hardware/ril/libril in android sources. Looking into the com.android.internal.telephony.RIL may also help you to understand how RIL requests are working.
精彩评论