Android-event distribution and carousel between ViewPager and internal view
How does viewpager trigger the event on the view during the sliding process? In other words, does viewpager slide the view in the sliding process, or does it slide the
Android-ViewPager: do not slide left (right) or left or right of viewpager
Because of the project requirements, it is required to select a sliding month, and sliding to the current month is prohibited to slide left to the next month, Baidu is
RecyclerView bug -- Inconsistency detected, recyclerviewHow to reproduce bugs
When RecyclerView and SwipeRefreshLayout are used for pull-down refreshing, if the bound List object is clear before data is updated, then the user will quickly slide the
Android released the Android Library project to JCenter in 5 minutes
Android-library-publish-to-jcenter is a project that helps Android Developers publish the AAR library to jcenter, android-library-publish-to-jcenter has encapsulated the script to
Android startup Principle Analysis
We know that Android is based on an Activity, but we do not see how an Activity starts. Let's start with the Android source code today.ActivityThread:
When an Android apk is opened, the first class used is this
Simulate the Home key operation and disable the mobile phone keypad in Android Development
1. When you click return, you do not want to exit the application. Directly simulate the HOME key operation. You can write it in the onKeyDown event or in
Android implements the shake function, and android implements the shake function.
To implement the "Shake" function, it is actually very simple. It is to detect the mobile phone's gravity sensor. The specific implementation code is as follows:
1.
I. MX6Q (TQIMX6Q/TQE9) Study Notes-New BSP touch screen driver porting, tqimx6qtqe9
The reason is that the driver has been transplanted on the TQ210 and AM335x platforms. Therefore, the driver can be transplanted to imx6q with only a few
Best practices of observer mode on android and best practices of android
In the previous article, I introduced the definition and some basic concepts of the observer mode. The observer mode is widely used in android development, such as monitoring
Step 3: complete the navigation bar at the bottom of the android app
Many android applications have a bottom navigation bar at the bottom to facilitate User Switching during use. Currently, there are three common methods: Custom tabHost,
APK decompilation goes beyond advertising secrets, and apk decompilation secretsDecompile APK to AdvertisementProcedure:
1. Download apktool
: Https://code.google.com/p/android-apktool/downloads/list
2. decompile the apk using apktool. Enter the
Android custom View ------ bar chart, androidview ------
With regard to custom views, I believe most developers are already very familiar with them, and there are also many examples on the network. There are also an endless stream of custom views
Remote notifications for local debugging with Houston and notifications for houston debuggingBackground of Houston
HoustonAddress on GitHub: https://github.com/nomad/houstonand the author isMattt ThompsonIt is simply humane, productive, and
Encapsulate reusable custom adapters and pay tribute to Xiang Ge, Adapter
After reading Xiang GE's custom omnipotent adapter, I made my own notes and analyzed the thinking style of the experts, so that we can enter the inner world of abnormal
Simple Example of custom View: Custom view
In the development process, although the Android system provides a lot of controls for us to use, it still cannot meet our human needs and we feel we are greedy! At this time, we may need to use custom
Summary of reading and writing methods for files in the memory of Android phones
Summary of reading and writing methods for files in the memory of Android phones
This article describes how to read and write files in the memory of Android phones. The
Install android NDK in linuxCompile JNI. If no NDK is available, an error occurs.Error: Execution failed for task': app: compileDebugNdk '.> NDK not configured.Download the NDK from http://developer.android.com/tools/sdk/ndk/.Then add ndk. dir =
Precautions for using self in class methods and precautions for using self in class methods
What is the result of using self in class methods? This problem is encountered in coding in the afternoon: "self is directly used in class methods, so that
Android Startup Mode and Android Startup Mode
In simple terms, the startup mode is the policy when the Activity is started. In AndroidManifest. xml, the android: launchMode attribute of the tag is set;
There are four startup modes: standard,
Linux kernel interrupt subsystem (1) -- arm gic hardware, armgic
In a system, interruption is a very important component. With interruption, the system can improve system efficiency without having to keep polling (polling) for events, in addition,
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