addition: In the Xiaomi phone, the app is set to unlimited in the hidden mode or locked in the recent task, it will appear in the white list above.Six, test doze and app Standby mode (ADB command) test doze mode1, first ensure that your hardware or virtual device is Android6.0 or higher version of the system;2, connect the device to the development machine and install your
3.1 More than three big packs of Android.hardware.usb, ANDROID.MTP, ANDROID.NET.RTP!
Android.mtp
Allow connected camera and other devices to directly use the PTP (Image Transfer Protocol) MTP (Media Transfer Protocol).
Keep the device connected, the top app can receive notifications, cancel, manage the files and storage of these devices, file transmission and metadata, etc.
It provides us with the definition of PTP and MTP Mtpconstants, describes
0. Although the use of hand-tour for example, but applicable to any native C + + NDK compilation method.1. first talk about the project background, COCOS2DX hand tour, development generally in Windows vs under the development of debugging,IOS using Xcode can also be very convenient debugging, but Android is not so lucky, general
app. such as: Pictures, sound, app layout files, international voice information, animation, ID and so on. In this column a few res/subdirectories.drawable-hdpi This directory contains high-definition images. The phone has a lot of different resolutions, to make an app can be in a lot of resolution of the perfect display, need multiple sets of pictures. Encoun
Android friends know that the real machine debugging needs to connect the phone to the PC, and then deploy the application to the real machine for installation and commissioning. The long USB cable is cumbersome and inconvenient if you need a USB interface to connect to other devices. Today introduces a way to do real-
ADB (Android debug Bridge) is a tool in the android SDK. You can use ADB to directly manage Android simulators or real Android devices.ADB provides the following functions:
1. Run shell (command line) on Android devices)2. Manage port ing of simulators or devices3. Upload/
, so that we do not need to step-by-step debugging to the next breakpoint, save time and effort. To illustrate:
public void test(){ test1(); ... test2();}Let's say we add breakpoints in lines 2nd and 4th, respectively. If we debug at the 2nd line at this point, click to do this, the current debug location will be automatically executed to line 4th, that is, the 2nd to 4th line between the code will be automatically executed.StopWrite a picture de
the two breakpoints is automatically executed, so that we do not need to step-by-step debugging to the next breakpoint, save time and effort. To illustrate: Public voidTest () {test1 (); ... test2 ();}Let's say we add breakpoints in lines 2nd and 4th, respectively. If we debug at the 2nd line at this point, click to do this, the current debug location will be automatically executed to line 4th, that is, the 2nd to 4th line between the code will be au
Written in the previous words: This article source : http://blog.csdn.net/yanbober/article/details/45306483
Target: Android studio novice –> Download installation configuration –> 0 Basics –> Basic use –> Debugging Skills –> Build Project Foundation –> use as to address general application development
Download installationTo download as before the first, as the installation package is included
0. [WP Developer experience Andriod Development] install and configure Android Studio from scratch and write the first Android App, andriodandroid0. required installation files
I have been working on WP for a few years. Recently I am a little interested in Android. I will try Andr
Android Debugging Bridge (ADB)
Turn from: http://emck.avaw.com/?p=116
The Android Debugging Bridge (ADB) is a versatile tool that can help you manage the status of your device or emulator.
There are several ways to join the ADB: Run the shell command on the device to manage the simulator or device copy from the emulat
Android Studio uses the adb wifi plug-in to implement real-machine wireless debugging and androidadb
It is always used as a simulator, and the garbage memory of a small version is unbearable. At the same time, most of the simulator versions are stopped at 4.4, which cannot reflect the features of Android 5.0 and 6.0, therefore, we decided to use the
In the development process of Android applet, using virtual machine in Eclipse to develop program is slow, and real machine development can greatly improve the speed of debugging.Here I use the operating system is Win7 Professional version, mobile phone model hm1s;The main steps for USB debugging include setting the phone to
When debugging a program, parameter output is helpful for us to know whether the entire program operates according to our own logic.
There are many methods for outputting information in the java program on the Android platform on the console:
1. System. out. println ("...");
2. android. util. Log ("...");
Now let's look at the two inputs to see how to extract t
Document directory
Connect to the database by running sqllite3 on a remote shell Client
UI/Software Test Procedure Monkey
Other shell commands
Use the logcat command
Filter log output
Control log output format
View available log Buffers
View stdout and stderr
Logcat command list
Android debugging bridge (adb) is a versatile tool that helps you manage the status of devices or simulators.
You can
H5 debugging way generally with chrome emulator is good, but encountered the app on the clumsy count. At this time also have to use remote debugging, remote debugging is to force, but at present there is no good article on the internet to explain, to properly configure it down or very difficult, today toss a half day,
What is the difference between the root permission and the USB adb permission of android apk? androidapkUSB adb permission means that when adb connects to the mobile phone, the permission of the daemon adbd in the mobile phone is root, so that its sub-process also has root permission. Generally, If adb shell sees:Android 4.0 and later versions:C: \ Users \ mtk29 \ Desktop> adb shellRoot @
Query log ADB logcat
Stopping the ADB ServerIn some cases, you may need to terminate the android debugging system and restart it. For example, if the android debugging system does not respond to a command, you can terminate the server and restart it. This may solve this problem.You can use kill-server to terminate
dumpsys command not only outputs a lot of system information (such as hardware parameters), but also displays the running status of the service by adding a service name (such as SurfaceFlinger.
The Dev Tools App contains some debugging and analysis functions. In fact, many of them are moved to Developer Options. Reference: http://developer.android.com/tools/debugging
Brief introduction:This article describes how developers ' apps use media storage services (including Mediascanner, Mediaprovider, and media information parsing) in Android, and how to update the app's new or modified files to the media database, How to hide the files generated by the app in the multimedia application, how to monitor the changes of the media database and so on.Android has an original set of
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.