Joke Collection Website - Blessing messages - Does android call so(jni) need to declare permissions in AndroidManifest.xml, such as sending short messages through jni and reading imei?
Does android call so(jni) need to declare permissions in AndroidManifest.xml, such as sending short messages through jni and reading imei?
If jni reverses the JAVA interface, the processing method is the same as calling the interface directly by the JAVA layer, and the permissions need to be declared.
Jni can directly read the data in linux kernel such as cpu and mac of the device, but imei can't. In addition, texting is also a call to the API of JAVA layer provided by the system. If you want to call the underlying interface directly, you may need to recompile your Android SDK.
Jni reverse java is a disgusting job, especially multithreading, so it's better not to try.
One method that does not need to declare permissions is to obtain all APIs of the kernel layer and directly operate the hardware. Of course that's impossible.
- Previous article:Will Anyihua send a message when filling in the contact?
- Next article:Where are the coupons for the Zhihu Lottery drawn from?
- Related articles
- Jubao Fortune Rongda No. 1 is Bank of Jiangsu¡¯s own financial product
- The latest employment policy in 2022
- Excuse me, why doesn't ABC apply for a credit card and let me repay?
- How to pay social security contributions for flexible employment personnel in Chushuitong
- What high-quality video short message platforms are there at present?
- How to get the number after online appointment registration is successful? What do you mean the appointment is in the morning? Do you mean I have to see it in the morning? Not in the afternoon.
- The most honest Spring Festival SMS English.
- Apple 6 mobile phone has a signal, but it can't make a call and can't answer the phone. What happened?
- Vivos 10pro mobile phone WeChat information Why is there no information reminder on the desktop and how to set it?
- Where is the current epidemic situation in Jiangsu?