In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
In this issue, Xiaobian will bring you about the functions of Android developer options. The article is rich in content and analyzed and described from a professional perspective. After reading this article, I hope you can gain something.
preface
Android developer options are familiar to every developer.
A device, if you do not open the USB debugging in the developer options, then connected to the computer is not displayed on the device, nor can you run the program directly to the device, can not debug, can not see log and other information.
2, but the content of the developer options can be more than just a USB debug switch so simple, today with everyone to see what else in the developer options are ignored by everyone.
This article only lists some common options. It will be updated and maintained continuously.
enable Developer Options
On Android 4.1 and earlier, developer options are enabled by default.
On Android 4.2 and later, you need to follow these steps to display developer options. Different manufacturers of mobile phone ROM version, the location of the options are not the same, the following list of commonly used mobile phone open method, welcome to comment continue to supplement.
native system
Settings → About Mobile
Clicking the Build number 7 times will prompt you to enter Developer Mode.
Developer options appear at the bottom of the settings
Millet/red rice MIUI
Settings → My Device → All Parameters
Click "MIUI Version"7 times, indicating that you have entered Developer Mode
Developer options are available in Settings → More Settings
Huawei EMUI
Settings → System → About Phone
Clicking on the "version number"7 times will prompt you for a password, which will enter developer mode.
After developer options are turned on, the first item is developer options, which is turned on by default. - If you turn this button off, then exit Settings and re-enter, Developer Options disappears again. You need to repeat the above steps to open it repeatedly.
general options
Unlocked screen: As long as the phone is charged (also connected to the computer through the data cable), the phone will not go out. This avoids the need to open the screen frequently and enter the password step. But there is a drawback, when your phone is really charging, a notification in the middle lights up the screen, and it will always light up.
Running Services: Displays current memory usage. Currently running programs, the corresponding memory usage. Here you can also see how many processes are open in the background of which applications.
Enable Bluetooth HCI Information Collection Log: Capture all Bluetooth HCI packets stored in files under the path/sdcard/btsnoop_hci.log. You can retrieve packets and use programs like Wireshark to analyze information and troubleshoot problems.
Demo mode: System UI demo mode. When this mode is turned on, the notification bar does not display notification messages. The battery will show a full charge status and there will be no low battery warning, even if it is actually not. Current time, and network ID. Make the entire notification bar simpler.
OEM unlock: Original manufacturer unlock, i.e. control device boot loader mode unlock. Simply put, mobile phone manufacturers prohibit the current device from being swiped into other manufacturers 'systems when the mobile phone leaves the factory (their own systems can, even if the versions are different). If you open this option, you can swipe into someone else's ROM.
Direct access to the system: after lighting up the screen, it will not enter the lock screen interface, directly enter the system, no password required.
WebView implementation: By default there will be an Android System WebView. We will use WebView to display some web page information in the APP, and the WebView used is the WebView of this system. If your network can connect to Google Play, the Web View will be updated to provide a better user experience. But most phones don't update. At present, many browsers with relatively large installation packages on the market, such as QQ browser, UC browser, Chrome browser, etc., have their own built-in kernel or modify the kernel of others. You can install third-party WebViews to make the system more WebView options, such as Chrome stable.
debugging
USB debugging: turn on this option, mobile phone and computer can communicate through adb. You can only see the progress information, logs, memory status, network and other data of the device on the computer. This option must be turned on when debugging programs.
Revoke USB debugging authorization: Revoke debugging authorization for all connected computers, and reinstall the driver next time you connect.
Allow location simulation: Allow code to simulate location. For example, map applications need to test their use in the field. By turning on this option, you can simulate location through code.
Select Debug App: After setting the debugger, the default option in the Android Studio window is the set debugger.
Power Key Error Menu Report
network
Wireless Display Authentication
input
Display touch operations: Show taps. A dot appears when the screen is touched. This white dot will follow you around the screen. It is suitable for opening at the time of presentation, and it can also be used to confirm the touch position of the control.
Pointer Location: Pointer Location. Use the crosshair to show the pointer (click) position on the device. At this point a coordinate will appear at the top of the screen. The options in this coordinate are: current touch point number, touch point x-axis coordinate, touch point y-axis coordinate, x-axis movement speed, y-axis movement speed.
drawing
Show Surface Update: Blink your eyes after opening. Every time the interface is drawn, the screen flashes to remind you. When a layout is drawn frequently, the screen flashes all the time.
Display layout boundaries: When enabled, widgets in the interface will be displayed with a rectangular grid. Very useful when analyzing an interface.
Force right-to-left layout: RTL. Our app displays text from left to right, but some regions and countries are displayed from right to left, mainly Arabic regions. Once turned on, we can display apps from right to left without switching regional languages.
Window animation scaling: Scales the time at which the window switches effects. For example, if you play a Toast, set it to 10x, it will pop up very slowly.
Transition animation scaling: is the transition effect when the interface switches. The smaller the setting, the faster the switch, giving the impression that the reaction is faster. It can also be turned off completely, but the switching effect will be stiff.
Animation Program Duration Scaling: Slow down or speed up animation time in programs. For example, a circle ProgressBar that rotates in circles will rotate very slowly if the animation duration scaling is set to 10x. For example, after setting it to 10x, the animation of viewing and clearing background programs will also slow down. Personal experience is to speed up or slow down the time set in the Animator in the program.
Analog auxiliary display equipment: currently not tried.
hardware accelerated rendering
Analog color space: There are "full color blindness,""green amblyopia,""red amblyopia,""blue amblyopia" and other options. After changing the color of the screen will change slightly, but there is no effect do not know, there is no color blindness around can not verify.
media
Turn off USB Audio Transfer: You can disable automatic routing to external audio devices connected to your computer via USB ports.
monitoring
Start strict mode: Because time-consuming operations such as networking operations, IO reads and writes cannot be performed in the main thread. Strict mode is enabled and the system checks if there are time-consuming operations in the main thread. If so, it flashes around the screen.
Display CPU usage: When enabled, the current CPU usage will be displayed in the form of a floating window in the upper right corner of the screen. The first row contains three numbers representing the estimated average load at three different intervals (1, 5, 15 minutes). Below the numbers are the various processes running. MIUI 9 has removed the option to view CPU usage for unknown reasons.
GPU rendering mode analysis: This is covered separately in GPU rendering speed later.
Enable OpenGL tracking: graphics perspective effect, is an auxiliary tool for mobile phone production of picture software, such as ps3D stereo map, you need to enable this tool to achieve the re-editing process of picture rotation, zoom reset, etc.
application
Do not keep activities: Destroy each Activity immediately after leaving its main view;
Background Process Limit: Sets the number of processes kept in the background. An application usually has at least one process.
ANR: When a program is unresponsive for a long time, a window pops up telling the user that the program can be forcibly closed.
The above is what the functions of the Android developer options shared by Xiaobian are. If there are similar doubts, please refer to the above analysis for understanding. If you want to know more about it, please pay attention to the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.