unknown
V. Other informationString getsimcountryiso ()Returns the country code of the SIM card provider.String getnetworkcountryiso ()Return the ISO Standard Country Code, that is, the international long-distance area code.String getsimoperator ()String getnetworkoperator ()Return MCC + MNC code (SIM card carrier country code and carrier network code) (imsi)String getsimoperatorname ()String getnetworkoperatorname ()Returns the name of the mobile net
Today, we have summarized the common hidden code on Android phones and provided a reference to our friends who love Android phones.
Note that the following code should be used with caution, because some code may cause the mobile phone to lose its original functions. In addition, because the ROM author will modify some rom content, some code may not work on a mobi
Android phone model is very much, the product is also fast, the phone suddenly became the old machine, there is no way to modify the model of the phone, many do project friends should also have such needs, the following share a practical and quick model and other mobile phone
I have written a Java implementation of the most basic socket network communication, this is similar to the previous one, just porting the client code to the phone, and then get the native IP method slightly different.Let's take a look at the use of Android studio in this article.3 basic steps to develop Android using Android
This article describes the Android programming implementation of the application force installed to the phone memory method. Share to everyone for your reference, specific as follows:
Android:installlocation is introduced in Froyo (Android 2.2,api level:8). By setting this property, developers and users can determine where the program is installed.
Android:inst
counted the user interaction elements for each system pre-installed with the application and the original system anhydride device. The following figure is the result of the cognitive load rating, the shorter the better, the first is Apple iOS 6, followed by iOS 7. Since iOS 7 adds a control center interface, it increases the user's cognitive load. Samsung's Android phone system is just a second-minute slag
the wrapper script I has written from here. This wraps all the commands needed for changing, the DNS server in a shell script.Move the script to/sdcard/sl4a/scripts/. (ADB push change-dns.sh/sdcard/sl4a/scripts/.)For easy access, add the Scripts folder to your home screen. Long Press on the home screen > Folders > Scripts. Open The Scripts folder and you should see the script ("change-dns.sh") which you has copied in the above step. All the above ste
In the daily use of the Android phone, the phone number to get a contact avatar, is often encountered problems. This article is an example of how Android is getting contact with a phone number to get a head image of the implementation code. Share for everyone to use for refe
Android obtains mobile phone traffic usage
The software traffic usage data is stored in the/proc/uid_stat/uid (User ID)/file below
/Proc/uid_stat/uid/tcp_send upload traffic/Proc/uid_stat/uid/tcp_rcv download traffic
The key code is as follows:
// 1. Obtain a package manager. PackageManager pm = getPackageManager (); // 2. retrieve the uidList appliactaionInfos = pm of all applications by traversing
* #4636 #*#*
Displays mobile phone information, battery information, battery records, usage statistics, and Wi-Fi information.
* #7780 #*#*
Resetting to the original factory will not delete the preset program and SD card files.
* 2767*3855 #
Resetting to the original factory will delete all SD card files.
* #34971539 #*#*
Display the camera firmware version or update the camera firmware.
* #7594 # * 6
When you press the power-off button for a
The latest Android vulnerability can be hacked into any mobile phone in simple steps
At a PacSec hacking conference in Tokyo, researchers from Qihoo 360 demonstrated the use of a vulnerability in the Android Chrome browser targeting JavaScript v8. As long as a user browses a malicious website, hackers do not need to
The example in this article describes how the Android programming implementation will apply forced loading to the phone's memory. Share to everyone for your reference, specific as follows:
Android:installlocation is introduced in Froyo (Android 2.2,api level:8). By setting this property, developers and users can determine where the program is installed.
Android:installlocation is subordinate to the manife
Mobile phone with a long time a button may be bad, such as waking up the screen keys, the basic daily use many times. Time is sure to use the bad, small make up here to teach you a kind of Android phone to modify any key to wake up the screen, I hope that the modification of any key to wake up the screen can help you f
.*/tm.getdevicesoftwareversion ();//string/** Phone Number:* GSM mobile phone's MSISDN.* Return NULL if it is unavailable.*/Tm.getline1number (); //string /** Nearby Telephone information:* Type:list* Requires permission: Android. Manifest.permission#access_coarse_updates*/tm.getneighboringcellinfo ();//list/** Get the ISO Standard country code, which is the international
Moconews published an article in March 25 saying that the reason why so many operators and mobile phone manufacturers are willing to launch Android devices is that Google will return part of the advertising revenue generated by these devices to operators and mobile phone manufacturers., as long as mobile
has adbNow the phone with the data cable to connect your computer, is on both sides with USB plug ~ ~Computer CMD Command input:adb shell Screenrecord/sdcard/movie.mp4If the display appears as shown above then enter the recording ~ ~ and then move your finger on the phone operation operation ~ ~ ~At any time during the recording process, you can press CTRL + C shortcut to terminate the recording Operation
The source code is as follows:[Delphi]View PlainCopy
Uses
Androidapi. JNI. Os,
Androidapi.Jnibridge;
function Getvibratorarray (const Aintarr: array of Int64): tjavaarray
Var
Lindex:integer;
Begin
Result: = Tjavaarray
For LIndex: = Low (Aintarr) to High (Aintarr) does
Result.Items[lindex]: = Aintarr[lindex];
End
Procedure Vibratortest;
Var
Lvibratorobj:jobject;
Lvibrator:jvibrator;
ljavaarray:tjavaarray
Begin
{Vibrator Summary:
Cancel (): Off v
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.