Address: https://developer.android.com/tools/testing/testing_otheride.html
This chapter mainly describes how to use the command line to create the Dynamic Route Project, the dynamic route creation class, the operation class, And the instrumentation command.Project
The method for creating a new deployment project is as follows:
Android create test-project-M
The following describes the number of arguments involved in the preceding comm
The cmd command is located in C:\Windows\System32\cmd.exe.Use the SET command to view all environment variables and their corresponding values, and use echo%SystemRoot% to view the values of the environment variables.The Android Signature tool is located in D:\Java\jdk1.8.0_45\bin\keytool.exe.1. Create a signature fileAt the command line, enterKeytool-genkey-v-keystore debug.keystore-alias androiddebugkey-s
On the show billing detail in the previous section, Bill details of the display has been basically implemented, this article mainly to organize the code, to achieve this window query and delete functions; When the menu is pressed, the window of the selected month is displayed, and the month of detail is selected; on the ListView, press the dialog box that pops up to confirm deletion to complete the deletion.
The following figure:
There is a Onitemlongclicklistener event in this case, and the
Android tools:
1. Android APK ToolA tool used to reconstruct an APK. You can decompress various APK packages to view the complete resources. Currently, you cannot view the source code.
Web: http://code.google.com/p/android-apktool/
2. unyaffsDecompress the imgfile in yaffs format.
Web: http://code.google.com/p/unyaffs
to other paths, but make sure you do not have this file in the path, otherwise your previous files have been changed, must be careful.③ Press CTRL + C first to stop (to avoid excessive new information). Open the file that you just d:/log.txt. From the bottom of the file, look for information in the following formatI/activitymanager (number): Displayed Package Name/class Name: + Digital msFor example, my information is as follows:I/activitymanager (272): Displayed com.vane/.act. Actlauncher: +31
Objective:
Recently began to study the Android automated test methods, some of these tools, methods and frameworks to do some simple collation, including the Android test framework, CTS, Monkey, Monkeyrunner, benchmark, other test tool, and so on. Due to contact time is very short, many places have deficiencies, I hope to communicate with you a lot.
I. Definiti
For those without Android Developers, most of them add feature bugs to the framework that the company has set up. I used to learn about Android without the hierarchyviewer tool. I saw my colleagues use this tool, later, I used it to feel like this is a powerful tool for
Sometimes we need to perform stress tests on a software to check its performance. Manual testing is much less efficient and boring. At this time, a command line tool monkey in android can reduce a lot of repetitive and tedious work for us. The following describes the introduction, features, basic usage, test sample illustration, test stop conditions, and command parameters of the monkey
1.ADB ideaADB operation shortcut menu, Quick erase data, restart app, uninstall app, etc.shortcut keys:Windows:ctrl+alt+shift+aMac Osx:ctrl+shift+aOf course, you can change your favorite buttons at Keymap. 2.postfix Fast writing support for LOG,TOAST,LOGD 3.androidcodegenerator Findviewbyid method and Viewholder method can be generated automaticallyPlace the mouse over the XML file name of the page Setup to bring up the Generate menu (Mac Cmd+n)Cmd+nGenerate Initview MethodViewholder are used i
Logcat is a command-line tool in Android that can be used to get log information for a program. See the bench for detailed instructions!This post is from the network, the reference URL is: http://hi.baidu.com/%C9%C1%D2%AB%B5%C4%CB%AE%BD%A7/blog/item/7cc9e1d00715dc369b50271d.html."caused by copyright issues, LZ is not responsible for any! Reprint Please specify the source ",this post for technical exchanges,
this step requires root access, which requires a reboot before the connection can take effect. Step Two: Download using Cydia substrate library (directly to the official website to download). Once the download is complete, all the files (many jar packages and so libraries) will be copied to the Libs folder under the Android project and can be used directly. The substrate.h header file and the so file under the Lib folder are provided in the function
the declaration of a field, when the breakpoint icon changes, such as:Right-click this breakpoint we can make some settings, such as the default is modified by the time of the break down, you can also change every time you access this field to break down. Another way is to Run the View breakpoint open setting, similar to an exception breakpoint.Follow-up: Due to my limited ability, can only be summed up here, in fact, the function of debugging has a lot to summarize, will be in the later time t
SharedPreferences tool class for Android, sharedpreferences
This tool is permanently maintained and updated. If you find any bug or error, please leave a message and the blogger will immediately correct it.
This tool provides the following functions:
1. Five types of data are stored;
2. read five types of data;
The c
The ADB tool provides a good command-based control of the system.As previously mentioned, the essence of Android is the virtual machine system running on Linux. In Linux, the operation of the system is done in the form of a command. In Linux, the Linux author writes the Linux kernel. In Linux for each manufacturer, a variety of shell management tools are available for Linux kernel-based management.Linux Sys
some additional API for Coordinator.behavior , allowing child controls to better control click events and gestures.Views can also be used CoordinatorLayout.DefaultBehavior(YourView.Behavior.class) to define a default behavior, or set in the layout file app:layout_behavior="com.example.app.YourView$Behavior" to achieve the same effect.The Design Library Framework allows any view to be used in combination with Coordinatorlayout.Now releasedThe Design Library is now publicly available, please conf
As we all know, the management of logs is a very important part of software system, must not neglect its importance. The complete log will play an important role in the maintenance of the system, like AX, the log is like a tool for analyzing the system, the tool is convenient, the system can be analyzed to achieve a multiplier effect. Developers must understand the value and significance of the log, and sho
Android App Stress Test (i) Monkey tool introductionObjective This article mainly introduces monkey tools. Monkey testing is an automated test of the Android platform, through the monkey program to simulate the user touch screen, swipe, button and other operations to stress the program on the device, the detection of how long the program will be abnormal. This ar
Android memory monitoring tool ddms --> heap. Original address
To monitor the memory usage of an application process using heap, follow these steps:1. After eclipse is started, switch to the ddms perspective and confirm that the devices view and heap view are all open;2. Connect your phone to your computer via USB. Make sure that the phone is in "USB debugging" mode instead of "Mass Storage ";3. After the c
Using the weekend's time, write a tool to detect the JIT friendliness of the Android code, taking a name of Droidjitchecker. Hope to help you quickly find a bad taste of the code, and timely correction.
noun explanation
Jit:jit Full name Just-in-time compilation. Real-time compilation is an optimization technique in the JVM, which translates bytecode into machine code and improves execution efficien
first, directly using the sqlite3 on the phone to view/manipulate the database. The code inside how to write the code of the database, I will open another chapter description, here just write how to use the command line. First use the ADB shell to enter the mobile phone terminal. The generic database file ends in. db and is placed in the/data/data/[application's package]/databases directory. Let's go to the alarm directory: >>ADB Shell #cd/data/data/com.android.alarmclock/databases #sqlite3 ala
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.