Recent Posts
-
Detailed introduction to four startup modes of Android launchmode
Detailed explanation of Android launchmode The longer you do it, the cleaner you forget the basic knowledge. In a rece…… -
Android customized listview layout to realize pull-up loading pull-down refresh function
Listview implements pull-up loading and pull-down refresh in many ways. The following is a custom layout I wrote, whic…… -
Android custom ViewGroup enables scrollable horizontal layout (2)
Custom ViewGroup (1) address in the previous article: https://www.oudahe.com/p/27083/ Direct code here: The above is t…… -
Android imitates wechat to shoot short video
In recent projects, the function of uploading short videos needs to be added. The function is set to be similar to wec…… -
Talk about the detailed use of Android fragments
Fragments was born Since the introduction of the concept of fragments in Android 3.0, it can be translated into fragme…… -
Detailed explanation and example code of Android sneak shooting function (taking photos when the mobile phone is turned off)
Android candid function / phone can take photos when turned off The effects are as follows: In fact, the implementatio…… -
The custom view pops up at the bottom of the dialog and pops up and disappears with the animation
Original drawing After clicking code remind_ dialog showdialog dialog_ enter dialog_ exit The above is what Xiaobian i…… -
How to add headers and footers for recyclerview
In the past two days, in the project, I abandoned listview and wanted to try recyclerview. In the process of using it,…… -
Android opengles2.0 drawing triangles (II)
Drawing triangles is selected as the first instance of OpenGL es 2.0 because, as mentioned earlier, points, lines and …… -
Android uses pulltorefresh to implement pull-down refresh and pull-up loading
Pulltorefresh is a set of pull-down refresh libraries with very good implementation. It supports: 1.ListView 2.Expanda…… -
Android custom ViewGroup uses adapter to adapt data (6)
In custom ViewGroup (5): https://www.oudahe.com/p/27072/ It is more convenient to add and use adapter to adapt data. H…… -
Android uses animation to gradually darken the background
preface Previously, I wrote an article on Android - realizing the pop-up window at the bottom and gradually darkening …… -
Talk about the full solution of recyclerview developed by Android
Since Android 5.0, Google has launched the recylerview control, recylerview. I think after seeing a new term, most peo…… -
Summary of the problem that the title bar cannot be cancelled in Android (two methods)
We all know that there are two ways to cancel the title bar: one is to cancel it in Java code, and the other is to set…… -
Android studio intent implicitly starts, sends text messages, dials, makes calls, accesses web pages and other example codes
Android studio intent implicitly starts, sends text messages, dials, makes calls, accesses web pages and other example…… -
Detailed explanation and solution of camera crash called by Android 7.0
Android 7.0 call camera crash solution Error message: Treatment method Thank you for reading, hope to help you, thank …… -
Android custom camera for auto focus and manual focus
Android custom camera realizes automatic focusing and manual focusing: it does not call the system camera, because the…… -
Implementation of shadow effect elevation and translation Z in Android 5. X
In Android 5. X, view has an additional attribute Z, the change in vertical height. The Z attribute consists of two pa…… -
Method for Android application to automatically jump to application market details page
preface As we all know, there may be needs in the Android application development process, such as jumping to the appl…… -
Principle of realizing native socket communication mechanism in Java
This paper introduces the principle of realizing the native socket communication mechanism in Java and shares it with …… -
Java socket programming (III) server sockets
Server sockets list 9.2 is part of a server application Listing 9.2 a simple server program / * * a program that liste…… -
Java basics I / O flow usage details
The concept of "flow" comes from pipes in UNIX (pipe). In UNIX, a pipe is an uninterrupted byte stream, which is used …… -
Ten minute quick understanding of java knowledge point system class
A question I met in the last interview asked system out. At that time, I asked if out in println () was an internal cl…… -
Java verification code to generate specific code
This article shares the sample code generated by Java verification code for your reference. The specific contents are …… -
Java traverses and outputs all files in the specified directory and tree structure, including files in subdirectories
The output results are as follows: The above is the whole content of this article. I hope you like it. -
Usage of mybatis generator code generator in mybatis framework of Java
About mybatis generator mybatis generator (MBG) is a code generator of mybatis, mybatis and ibatis It can generate cod…… -
Socket entry example of Java network programming basic tutorial
When we want to use TCP / IP in Java to connect to the server through the network, we need to create Java net. Socket …… -
Java method for obtaining days between dates
This article describes the method of Java to obtain the number of days between dates. Share with you for your referenc…… -
Updated the summary of problems encountered in xcode8 and ios10
Xcode8 and ios10 have been updated. App permissions to access users' cameras, albums, microphones and address books ne…… -
Java randomly extracts n numbers that are not repeated within the specified range
1、 How to generate random numbers in Java 1. Use math in J2SE Random() makes the system randomly select a double deci…… -
Java component Commons fileUpload realizes file upload
1、 Packages required: 1. Commons-fileupload-1.2 1. Jar: download address http://commons.apache.org/downloads/download…… -
Java builds a socket server to respond to multi-user access
When we build a socket server, we need to respond to multi-user access. At this point, we will use multithreading to e……