Detailed explanation of Android mobile phone management tools

Appphonemgr, an Android mobile phone management tool, is shared for your reference. The details are as follows

Methods within the tool class:

GetInstance: singleton object getsdkversionnumber: get mobile phone system version number getphonemodel: get mobile phone model getphonewidth: get mobile phone width getphoneheight: get mobile phone height getphoneimei: get mobile phone IMEI serial number, IMEI of GSM mobile phone and meid of CDMA mobile phone getphonesim: get SIM card number of mobile phone getphonenum: get isddcardmount: judge whether SD card is attached getsdfreesize: get the size of remaining space of SD card getsdallsize: get the total size of SD card space istablet: judge whether it is a tablet isapkinstalled: judge whether an APK is installed getapppermissions: get the required Use the permission name list getinstalledapp: get the application installed in the mobile phone getuserinstalledapp: get the non system application installed in the mobile phone getinstalledappinfo: get the information of the installed application startapppkg: open the application with the specified package name uninstallapk: uninstall the application with the specified package name callphone: directly call the specified number tocallphoneactivity: jump to the dialing interface se Ndmessage: directly call the SMS API to send messages (set listening sending and receiving status) tosendmessageactivity: jump to the SMS sending interface (automatically set the receiver's number)

Code for appphonemgr class

Example code for calling activity:

The effect will not be displayed!

The above is the whole content of this article. I hope it will be helpful to your study, and I hope you can support programming tips.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>