Reference:
71 Classic Android Face questions and Answers
Android Project Development Knowledge
What is the MVC model?
What are the most important external documents for Android development?
1, the Product manager's interactive document2. UI designer's visual design document3. Service-side interface documentation
1. unit test concept
Unit testing (also known as Module Testing) is used to test the correctness of program modules (the smallest unit of software design ).ProgramA section written by a memberCode. For object-oriented programming, the smallest unit is the method, including the methods in the base class (superclass), Abstract class, or derived class (subclass.
The te
Turn from "http://blog.csdn.net/zm2714/article/details/7977930"One, the D:\android\android-sdk-windows\tools directory does not have Adb.exeCheck your android-sdk-windows directory for any platform-tools directories. and check to see if there are any adb.exe in the interview directorySecond, execute "adb shell" in cmd, then prompt "error:device not Found "No devi
Recently found himself learning a lot of things did not do well in the accumulation of work , but also initiated the idea of writing something. I also do not write the habit of blogging, the bottom of the mobile phone to write the performance test .Recently the company, want us to engage in the performance test of the competition, I am responsible for CPU and memory performance
When I was learning Android, the most special thing was the test! The virtual machine is slow and uncomfortable, the real machine is also very slow, because to install the application frequently, so the use of Android unit testing is particularly important.It is not difficult to implement simple unit testing, just a few steps to complete:The first thing to do is
in the in Development JUnit Testing makes it easy to find and handle problems as early as possible, and it's very easy to use, just import junit test-related jar packages and create test classes to test your business capabilities without having to test your code to add an output statement to your code. It should be n
In real-world development, the process of developing Android software needs to be constantly tested. Using the JUnit test framework, the side is the required technology for regular Android development, and in junit you can get components that can simulate the correctness of sending events and detecting program processing ....First step: First add the following co
The following original, transfer please indicate the source, thank you for your cooperation!Introduction: NAT123 is a very powerful tool, and the use of the very simple, really to help users ignore the internal and external network of the construction station services.Here is a brief introduction of how to build an intranet WCF service with NAT123, and then use an Android app to make calls to it, because NAT123 provides full port mapping (need visitor
There are three commonly used frameworks for Android under Protobuff: Protobuff itself, square-out wire, ProtostuffSince Protobuff generates a large number of infrequently used methods for each attribute, it is easier to exceed the upper limit of 60K methods for Android when the program is more complex, so this test does not include ProtobuffThe
Android Unit and Integration testing:https://github.com/codepath/android_guides/wiki/android-unit-and-integration-testing
Unit Testing with junit-tutorial:http://www.vogella.com/tutorials/junit/article.html
Android application testing with the Android test framework-tu
http://blog.csdn.net/duancanmeng/article/details/7458851The first step: Add the following two code to the Androidmanifest.xml:Code one Code two Android:targetpackage= "COM.PCCW" Android:label = "AAA"/> Represents the start-up device for the configuration unit test framework, there are several classes of starter units, which are generally chosen, Targetpackage is the current package name, representing the unit test
Android built-in Webkitt kernel, different models of the kernel are dissimilar.The first step is to use the framework to test your mobile WAP pages, and you must import Selenium-server-standalone-2.25.0.jar and Testng.jar in your test project (Java project). At the same time, you need to install (Webdriver) android-se
want to do things in activity, we can execute it immediately, pendingintent equivalent to intent executed the wrapper, we don't necessarily have to execute it immediately, we will wrap it Passed to other activity or application. At this point, get to pendingintent application can according to the inside of the intent to know the intention of the issuer, choose volley or continue to pass or execute.Pendingintent is a intent that can be executed under certain conditions, and its advantage over in
installed (may be installed in other folders), the installation of the JDK please download and install it yourself.1.2.2 Installing the Python compiler: http://www.python.org/download/Python is used to support monkeyrunner operations, writing use cases using Python scripting can greatly simplify the writing of monkeyrunner use cases and will help extend Monkeyrunner's automation capabilities, and Python downloads and installs itself.1.2.3 Setting Environment variablesCreate a new path inside th
of the method, and if not, a new activity B instance is created. singletask: In-stack multiplexing mode. The first time the activity is started, a new task is created and an instance of the activity is initialized and placed at the bottom of the new task. But it needs to meet certain conditions. That is, you need to set the Taskaffinity property. singleinstance: Single-instance mode. This is an enhanced version of the Singletask mode, which, in addition to having all the f
1, Monkeyrunner: The advantages: The simplest operation, can record the test script, visual operation; Disadvantages: the main generating coordinates of the automated operation, the transplant is not strong, the most limited function;2, Rubotium: Mainly for an apk for automated testing, APK can have the source code, also can not source code, powerful, the disadvantage is for the apk operation, and need to re-sign the APK (with tools), so the operation
Uncaughtexceptionhandler interface in the following code: Public class Implements Uncaughtexceptionhandler { @Override publicvoid Uncaughtexception (Thread T, Throwable e) { try { // The parameter e that passed in this method is the exception that causes the application crash, we can get the exception information here, can upload the exception information to the server for unified analysis, can also be saved in the file system catch ( Exception e) {
of the JDK is already installed (it may be installed in another folder), please download and install it yourself. 1.2.2 Installing the python compiler :http://www.python.org/download/Python is used to support monkeyrunner operations, writing use cases using Python scripting can greatly simplify the writing of monkeyrunner use cases and will help extend Monkeyrunner's automation capabilities, and Python downloads and installs itself.1.2.3 Setting environment variables Create a new path inside th
Ext.: http://blog.csdn.net/huangbiao86/article/details/8490743Shell, Monkey, System, Android, File system Monkey, example, introductionFirst, Monkey test introductionMonkey testing is an automated test of the Android platform, through the monkey program to simulate the user touch screen, sliding trackball, keys and oth
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.