In the Android testing tool, Monkey Runner only needs a few simple commands, but its limitations are:Pixel-based operations are not portable.
The automated test tool compiled by uiautomator can be used to select and directly operate uiObject Based
In some projects, multiple applications exist, so data transmission between applications becomes inevitable. How can we implement data transmission between applications? We know that data transmission across activities can be achieved through the
There are a lot of articles related to the Internet. I just summarized my own decompilation methods and tools.
Download the compressed packages of the above three tools
Apktool_v1.5.1_CHS_By_b-sf.rar dex2jar.zipjd-gui-0.3.5.windows.zip
1.
Today, we can finally end this project. We have prepared for it a few days ago. I believe that the last day is easy. International Practice:
The last thing we need to accomplish is our main function-the jigsaw puzzle interface.
The layout is
In the previous article, we analyzed the source code of View. onTouchEvent and found the processing principle of click and long-press events. But what if the custom control requires other gestures? If you need to determine a rolling event, the
I recently completed a small Android project called jigsaw puzzle. The project is not complex, but it is also a complete project, which involves a wealth of knowledge points.
The following is a summary as follows:
Requirement definition:
1.
It is particularly simple to use threads in Java to implement the Runnable interface or inherit the Thread.
The thread used in NDK can directly call the java thread in the Activity, or start the thread through JNI, Which is originated from the
Preface
Thank you for reading this article. I firmly believe that reading this article will not disappoint you. Want to be an animated cool? Want to be proficient in animation? Therefore, you must master all the content in this article. I have
Problems encountered in programming:
When creating a small music player, you want to automatically change the layout when switching between the horizontal and vertical screens.
Landscape screen:
Portrait screen:
VcD4KPHA + pgltzybzcm9
Some time ago, we introduced several official Google documents. This article aims to improve AndroidUser ExperienceThe trilogy provides excellent user experience with three features: fast speed, timely response, and seamless. The following
I don't know. You still remember our BKJIA article about Android Virtual Devices. Users who know about Android should know that virtual devices are AVD in short. Here, you will learn about how to select the Android target type of one of the plug-ins.
Recently, some media reported that the most advanced Android trojan has appeared. It is said that "it can use the unknown vulnerabilities of the Android operating system to escalate program permissions and prevent uninstallation ." This malicious
Directly run the Code:
/** File name: DataCleanManager. java * Description: main functions include clearing the internal/external cache, clearing the database, clearing sharedPreference, clearing files, and clearing the custom directory */
The following is a simple example of calculating the standard weight. Select your own gender, enter your height, and click the Button to display your standard weight in Toast, check whether your weight meets the standards.
Method for Calculating
Note: surfaceview does have the onDraw method, but surfaceview will not be called by itself !!!
The ondraw or draw in my code is a method defined by myself... Keep calling in the thread. Be sure to pay attention to it !!
Yesterday's Christmas, I
If you have an Android device, you will notice that when you press the increase or decrease button, the different volume settings you control depend on the application you are running. During a call, you control the volume of the input audio stream.
Textview vertical auto-scroll subtitle implementation
Some time ago, I found a post on the Internet, and textview automatically rolled the subtitles horizontally. Today's project needs to scroll the subtitles vertically. Its implementation principle
SQLite is a lightweight database used by Android. Developing Android applications is naturally essential for database operations.
Android provides a SQLiteOpenHelper class to conveniently operate databases,
The main task of inheriting and extending
I encountered an annoying error when developing an android small project today. The error shows the following characteristics:
1. All codes are correct.
2. There is no error in R resource generation, but an error will be reported once the resource
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service