Android automated testing (4) (uiautomator)
In the previous series of articles, I introduced how to use java to implement Android automated testing (1) how to install and uninstall an application (java) and Android automated testing (2) search for
Android source code compilation Summary
After some time, I downloaded the android source code to compile the code. It took some time to make some detours. Now I will repeat it and summarize it, this allows people with the same idea to take less
Event distribution and processing of ViewGroup in android
First, write a simple demo:
In the layout file, MyLayout, a custom control inherited from ViewGroup, contains a Button:
Two important methods for overwriting event distribution in custom
Start applications and services at android startup
Register the broadcast listener to start up the application and service;
Listen to the boot broadcast receiver:
Public class BootCompletedReceiver extends BroadcastReceiver {
@
Android binder inter-process communication mechanism 3-Binder object life and death, android3-binder
The following describes four objects involved in the Binder communication process: the Binder local object, the Binder object, the Binder reference
IOS8 uses TouchID and ios8touchid
IOS8 adds the LocalAuthentication framework for TouchID authorization. During the test, the user's device is required to support fingerprint identification and lock screen settings. In addition, the feedback is slow
SizeClass and autolayout
SizeClass and autolayout, it seems that they have to give up the frame writing method.
SizeClass Apple official documentation: https://developer.apple.com/library/ios/recipes/xcode_help-IB_adaptive_sizes/_index.html#//apple_
The most popular Android Studio shortcut keys, androidstudio
1. Ctrl + D, Ctrl + C copy and delete the entire row
2. Ctrl + Alt + L formatting code looks better
3. Ctrl + Q view function API Definitions
4. Atl + arrow keys switch different documents
Android custom rounded corner ImageView and androidimageview
We often see some apps that can display rounded corner images, such as qq contact icons. One way to achieve rounded corner images is to directly use the rounded corner image resources. Of
Key android knowledge and android knowledge
1. Relationship between handler and logoff, MessageQueue, and Message
Handler: a thread that processes time-consuming operations by the main thread (ui thread). It uses post message to send messages to the
[IOS open source code] (1): CCLHTTPServer, ioscclhttpserver
I have never seen any iOS HTTP server that is simpler than the CCLHTTPServer. You can use it without creating any subclass. For most tasks, this small but powerful server can meet your
UINavigationController, uinavigationbarWith UINavigationController, you can easily manage multiple controllers and switch between controllers. A typical example is the built-in "setting" application.
How to Use UINavigationControllerInitialize
The nested ExpandableListView of ScrollView is abnormal.
There are many solutions to the problem that ExpandableListView is not displayed normally due to nested ExpandableListView in ScrollView. Here we will introduce a method that can be used for
Xunfei mobile advertising platform is officially launched ~~, Xunfei officially launched
In October 22, xunfei mobile advertising platform (http://www.xfyun.cn) was officially launched, xunfei mobile advertising platform relies on the powerful voice
Android project development practice (2)-constellation display 12 cells, Android Palace
I haven't written about Android for many days. Today I continue my unfinished Android project. Today, we mainly achieve the 12-cell constellation effect.1.
Introduction to AndroidMonkey, an open-source project based on the Instrumentation Framework
In the previous article "MonkeyRunner and Android device communication methods source code analysis", I mentioned that one of the ways for MonkeyRunner to
[Android interface implementation] FragmentPagerAdapter and FragmentStatePagerAdapter use details and differences, pageradapter details
Reprinted please indicate the source: http://blog.csdn.net/zhaokaiqiang1992
FragmentPagerAdapter is a new adapter
Jsoup crawls page data and understands HTTP message headers and jsoup messages
Recommended book:Hacker attack and defense technology. Web practice;
By the way, I would like to leave a question: Can I use jsoup to access a large number of web or
Android and android Official WebsiteDisplay Activity running on mobile phone
Address: http://blog.csdn.net/caroline_wendy
You can use the Android development tool ADB (Android Debug Bridge) to quickly locate the mobile phone and Debug the
[Android development experience] how to view the source code in the android-support-v4 support package, androidsupportv4
In the support-v4 package, added a lot of support controls, such as ViewPager, Fragment, etc., in order to solve some problems,
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