Hello everyone, ask you a question, android phone sim card status is achieved by TelephonyManager class getSimState () implementation, getSimState () call SystemProperties.get () method, I ask you SystemProperties.java in nativa_get (String key) method specifically how to achieve? Thank you enlighten me!
------ Solution ---------------------------------------- ----
why should care about this way to do that?
concrete realization in the native layer, you can look the corresponding jni file: frameworks \ base \ core \ jni \ android_os_SystemProperties.cpp, method_table given function mapping table, native_get corresponding SystemProperties_getS ()
------ For reference only ---------------------------------- -----
Thank you, I look at
------ For reference only ------------------------ ---------------
continue to wait for you to enlighten me!
------ For reference only -------------------------------------- -
Haotie to the top but there are still word limit
没有评论:
发表评论