TraceView and androidtraceview of Android Performance Tuning Tool
Since the 16 Performance Optimization series Videos released by Google in January, many excellent articles on the optimization series have been found in major communities during this time. I have analyzed the causes of performance, shared how to optimize our applications, and introduced some tools to help us detect performance problems.
One
information can be. This technology benefits from the technology described earlier: Android in the root-free hook application of its own system services, the technical principle is very simple, is the use of dynamic Agent technology + reflection mechanism. This technology can be used for this automatic blasting function, we just need to add this hook code at the entrance of the program. This technique has been practiced in the previous article: a new
Android test Appium, Robotium, monkey and other frameworks or tool comparisons1. Appium Test (functional test, user acceptance test, black box test)-Rating:8The Appium test is equivalent to a black box test. Just test UI logic correctness. So the Appium test framework provides limited methods. Gets a Appiumdriver object. The object just has a lot of findelements() methods to get to the UI element. UI elemen
Monkeyrunner ToolsObjective:Recently began to study the Android automated test method, some of the tools, methods and frameworks to do some simple collation, including Android test framework, CTS, Monkey, Monkeyrunner, benchmark, other test tool and so on. Because the contact time is very short, many places have the insufficiency, hoped can communicate with every
What is TraceView?TraceView is an Android platform equipped with a good performance analysis tool. It can be graphically used to let us know the performance of the program we want to track, and can be specific to method.The role of TraceViewReview the execution time of the tracking code, and analyze what is a lengthy operationA call that can be used to track methods, especially the method call relationships
collector
Android Memory Analysis Tool # # Memory MONITORGC operations need to pause other threads, so a short time-frequent GC can have an impact on the UI thread, causing frequent GC to have two common cases, where a large number of objects are created and released immediately in a short time. For example, creating an object in the OnDraw method of the view-young generation's memory area reaches the
Use of the Android source code repository and Repo ToolPreface I haven't had a weekend off for a long time. Alas, I don't have to talk about it anymore. I have to learn more and enrich myself at any time. ROM Porting is very tedious and involves a lot of knowledge points. Here we will introduce the terms that ROM Porting often hear and the use of Repo tools.AOSP, AOKP, and cm I believe many Android enthusia
property animations, stop (especially looping animations) when not in use, otherwise a memory leak will occur (Activity cannot be released) (View animation will not)
Introduction to several memory detection tools
Memory Monitor
Allocation Tracker
Heap Viewer
Leakcanary
Memory MonitorLocated in Android Monitor, the tool can:
Easy display of memory usage and GC status
the Android community, Kang said it was a custom-made ROM, a ROM from the private sector. CM is the abbreviation of CyanogenMod, the Cyanogen team is the world's largest third-party ROM compilation team, covering a very wide range of models, domestic well-known ROM such as MIUI, Hammer ROM are based on the CM implementation. In a strict sense, CM Rom belongs to the AOKP category. Although the CM ROM has always been in compliance with native
Monkeyrunner Tools Objective:Recently began to study the Android automated test method, some of the tools, methods and frameworks to do some simple collation, including Android test framework, CTS, Monkey, Monkeyrunner, benchmark, other test tool and so on. Because the contact time is very short, many places have the insufficiency, hoped can communicate with ev
Having previously been an Android, and recently developing an iphone client, the most troubling of all is the inconsistency between the Java, Android and iphone three platforms plus decryption . Because the end of the phone is usually the Java-developed web service,android and iphone clients invoke the same Web Service interface, for data security considerations,
Android debugging tool-mat
I. Overview
For large Java applications, it is difficult to block all the vulnerabilities even if we perform a lot of effective work in the test phase, many problems will still be exposed in the production environment, and it is difficult to reproduce in the testing environment. The JVM can record part of the running status of the system when a problem occurs and store it in the h
Problems:
I see other people's programs, want to learn how people's UI layout is done, how can I snoop into one or two?
Problems:
When learning viewgroup and layout, we may have a question. If I do not place layout in the XML layout file or directly place textview or other components, how does it layout?
Solution:The android SDK comes with a tool for viewing the hierarchical structure of the UI layout: hi
Android development tools
To install android on a Mac machine, you need to download the following tools:
Sun's Java Development Kit (JDK)
Android software developer kit (SDK)
Eclipse IDE
Android developer tool (ADT) Eclipse plug-in
Java Development Kit
Mac OS X has been
The analysis tool for Android Application Performance Optimization last recorded the process of solving excessive plotting. This time, how can we determine whether the process is smooth and conceptual? In fact, at first I thought it was a bit nonsense, and it was obviously not smooth when I used it. However, this is the same thing as I would like to talk about many applications. It makes sense that the card
An important command that contains the Android emulator operation under the Tools folder of the SDK Adb,adb is all called Android Debug Bridge, which is the role of the debug bridges, with this tool, we can manage the status of the device or phone simulator, and can do the following:(1) Quickly update the code in the device or phone simulator, such as app or
also the set up customized Intents and start a activity with them. (translation is not very good, probably said to rely on injection to produce simulation objects and then simulate the system environment.) )
Controls the control element of the UI and then produces a touch event. This function is similar to that described by Appium.2) Service testing test is the service life cycle is normal3) Content Povider testiing because provider is a data entry, so the test is whether the data can be
Now take a look at the entire interface diagram, the entire interface consists of two parts, the above is the process you test the execution of each thread, each line Chengjian line; The following is the value of each indicator executed by each methodThe above section is the timeline where each thread in your test process runs, and you can see that there is only one main thread executing, because I slipped the list, and the main thread (the UI thread) was drawing the view. Video tutorials for
Now Android development, development tools Android Studio has become mainstream, and for Android studio to build more and more plugins, today to introduce a quick to create a common tool class plug-in Utils. In fact, there are a lot of libraries about tool classes in
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.