Recent Posts
-
Judge whether the screen is on and whether to unlock the function in Android
1. Whether the screen is on: 2. Whether the screen is unlocked: The current screen lock has five settings: no screen l…… -
Studio encountered a problem: java.lang.unsatisfiedlinkerror solution
JNI problems encountered in studio Recently, I was doing supervideo to parse the Youku video address, which was encryp…… -
Example of Android compressing a picture to a specified size
A method of self writing after collecting from the Internet; 1. The first is a class of compression according to resol…… -
Android loads the image under the asset folder
Load the image file in the asset into the ImageView Draw the picture file in the asset into the custom view. The above…… -
Android recyclerview implements drag sorting and sideslip deletion examples
When developing applications, we often encounter the needs of list sorting and sliding deletion. If the listview is us…… -
Example of listview scrolling prompt waiting box function implemented by Android programming
This article describes the implementation of listview scrolling prompt waiting box function by Android programming. Sh…… -
Android UI control ratingbar to achieve custom star scoring effect
This example shares the specific code of Android ratingbar star scoring effect for your reference. The specific conten…… -
Implementation method of Android surfaceview photographing and recording
The implementation of surface photographing is also very simple. You can understand the process with a small demo. Don…… -
Android custom Google style ProgressBar
This example shares the specific code of Google style ProgressBar for your reference. The specific contents are as fol…… -
Android touchlistener implementation drag and drop instance code
Android touchlistener implementation drag and drop instance code If the touch monitor is set for a control, the contro…… -
Android implements the function example of shielding wechat black pulling and deleting contacts
Android implements the functions of blocking wechat hacking and deleting contacts, with little nonsense, as follows: E…… -
Summary of three implementation methods of Android custom view
Custom controls are often used in the design completion project. I've always planned to summarize the implementation o…… -
Android programming page loading listview function example
This article describes the implementation of paging loading listview function by Android programming. Share with you f…… -
Five common memory leaks in Android development and their solutions
An object in Android is no longer needed, but other objects still hold its reference, so it cannot be recycled, result…… -
Android folding toolbar uses full parsing (collapsingtoolbarlayout)
brief introduction In various applications, you may often see such an effect: the toolbar is transparent, with a backg…… -
Setting of focus color when Android handles onitemclicklistener
Setting of focus color when Android handles onitemclicklistener When we use onitemclicklistener to change the item to …… -
Detailed explanation of attribute animation of Android source code analysis
preface We can't do without animation in our daily development. Attribute animation is more powerful. We should not on…… -
Android bitmap loading optimization and cache related introduction
1、 Efficient loading of bitmap Bitmapfactory provides four methods: decodefile, decoderesource, decodestream and deco…… -
Android imitation wechat circle of friends full-text retraction function example (with source code)
Among many social software, the circle of friends is essential. You can share your daily and interesting things with f…… -
Android immersive status bar implementation example
More and more apps appear in the application market. The immersive status bar is designed (as shown in the figure belo…… -
Android development method for controlling Scrollview sliding speed
This article describes the method of controlling Scrollview sliding speed in Android development. Share with you for y…… -
Summary of several common optimization methods of listview in Android
Listview in Android should be one of the most commonly used components in layout, and it is very convenient to use. He…… -
Jedis explains the five types of operation codes of redis in detail
This article mainly describes jedis's five types of operations on redis: string, list, hash, set and ordered set. Jedi…… -
Java get time difference (days difference, small time difference, minute difference) code example
There are many blog posts on the Internet about how to get the time difference. I have a look. Most of them are implem…… -
Use of cyclicbarrier for Java Concurrent instances
Recently, I've been integrating concurrency. By the way, I'll write some examples of Java concurrency to share with yo…… -
Collection framework details and code examples
brief introduction Differences between sets and arrays: Arrays store basic data types, and each array can only store d…… -
Java implementation of TFIDF algorithm code sharing
Algorithm Introduction concept TF-IDF (term frequency cinverse document frequency) is a commonly used weighting techni…… -
Detailed explanation and code example of volatile keyword in Java
1、 Basic concepts Let's add the concepts: visibility, atomicity and ordering in the JAVA memory model. Visibility: Vi…… -
Usage example of JList selection event listener listselectionlistener in Java Swing
This article describes the usage of JList selection event listener listselectionlistener in Java swing. Share with you…… -
23 design patterns (10) Java combination pattern
23 design patterns Part 4: Java composite pattern introduce The combination mode is also called part whole mode, which…… -
Java object initialization code
This paper mainly records the initialization process of objects in Java, including the initialization of instance vari…… -
Detailed explanation of two methods of adding background pictures to forms by Java Swing
This article describes two methods of adding background pictures to forms by Java swing. Share with you for your refer……