Recent Posts
-
Java – Apache HTTP client prints “[read] I / O error: read timeout”“
I am using Apache HTTP client v4 5 and use it as a rest client In some cases, I recognize an error "[read] I / O error…… -
Navigablemap. Java Equivalent in C sharp of floorentry, ceilingentry
I use the navigablemap interface many times in Java, which is very convenient Specifically, I like to use its floorent…… -
Java – abstract classes used in static blocks
I can add the abstract keyword in the static initialization block, but I cannot add abstract methods abstract void dra…… -
Java – how to configure multipartresolver with different maxuploadsize for ordinary users and administrators?
I can use a 10k (10000 byte) maxuploadsize to define such a multipartresolver: <bean id="multipartResolver" cla…… -
java – arrayListName. What does sort (null) do?
I have a project. The professor gave us some code There is a line in the code that puzzles me: arrayListName.sort(null…… -
Java – polymorphism using Jackson to add subtype information at run time
I'm using Jackson to ungroup polymorphic types from JSON I use @ jsontypeinfo, @ jsonsubtypes and @ jsontypename annot…… -
How to check whether the class file version 50.0 (Java 6) has been pre verified?
I used Proguard to "upgrade" some jar files from class file version 49.0 to 50.0 Because pre validation is optional fo…… -
Is java 9 abandoning the SHA1 certificate or something else?
[update] Oracle has just revised its encryption roadmap( https://www.java.com/en/jre-jdk-cryptoroadmap.html ), they …… -
Java – how do I get exclusive access to certain session entries?
Due to the remote invocation feature of rest services, they are in a state of constantly becoming competitive conditio…… -
Detailed explanation of the error log information function of capturing the abnormal exit of the program by Android programming
This article describes the implementation of Android programming to capture the error log information when the program…… -
An example of Android viewpager sliding left and right
An example of Android viewpager sliding left and right Multiple titles and each view under the title Add a package in …… -
Implementation method of Android listview positioning to the last displayed position
Implementation method of Android listview positioning to the last displayed position Overall idea: when sliding the li…… -
Android imitation wechat sending voice message function and example code
The voice sent by wechat is cancelled upward. We use ontouchlistener to listen for gestures and then make correspondin…… -
Definition of Android menu and implementation of actionbar
The option menu of Android is the main menu item of an activity: There are two ways to create it The first method: Whe…… -
On the use of Android thread and thread pool
Android threads and thread pools In terms of purpose, threads are divided into main threads and sub threads; The main …… -
Android solves the problem of Scrollview nested cridview display
Android solves the problem of Scrollview nested cridview display Since the GridView is a slidable control, the onmeasu…… -
Android studio gradle multi-channel packaging method based on Youmeng
Android studio uses gradle for project construction, which makes it much more convenient for us to develop apps. Today…… -
Detailed explanation of Android Parcelable interface usage
Detailed explanation of Android Parcelable interface usage 1. Parcelable interface Interface for classes whose instanc…… -
Detailed explanation of cookie processing in Android
Android client cookie processing Cookies, sometimes in the plural form, refer to the data (usually encrypted) stored o…… -
Correct use of setemptyview in Android listview
Correct use of setemptyview in Android listview We know that the listview component provides a view setting method for…… -
Solution to skip flash problem when Android expression panel and soft keyboard are switched
At present, many applications will provide an expression panel when allowing users to input various text information, …… -
Detailed explanation of item width and height of recyclerview in Android
preface This article mainly introduces the relevant content about the width and height of the item of recyclerview in …… -
Implementation code of POI search function of Android Gaode map
No more nonsense. Let's see the effect first. If you feel good, please refer to the implementation code I used the fra…… -
Making method of Android drawing board
This example shares the specific code displayed on the Android drawing board for your reference. The specific contents…… -
Detailed explanation of ContentProvider instance in Android
Detailed explanation of ContentProvider instance in Android Brief introduction to content provider: *The content provi…… -
Analysis of two methods of playing sound in Android Development
This paper describes two methods of playing sound in Android development. Share with you for your reference, as follow…… -
Method of verifying SSL certificate by WebView of Android App
The Android system is seriously fragmented, and webviewclient cannot access HTTPS sites due to incorrect mobile phone …… -
Android UI design and development imitation Renren v5.9.2 latest version guide interface
In this article, I will take Renren's guidance interface as an example to explain in detail. Renren's guidance interfa…… -
Android custom drawable to achieve fillet effect
Drawable is a carrier that can draw resources, such as graphics, images and so on. It can be used as the background of…… -
Detailed explanation of okhttp3 use in Android
1、 Import package Add okhttp3 dependency in build.gradle under project module 2、 Basic use 1. Okhttp3 get method 1.1…… -
Method for solving white screen problem during cold start of Android Application
When an Android application is cold started, it needs to start from the application, and the loading time will be rela…… -
Use listview to simulate wechat friends in Android
design sketch: analysis: 1. Create listview 2. Create data 3. Create adapter Put the data into the container that pres……