Recent Posts
-
Example of video subtitle and horizontal and vertical screen switching for Android
Some video formats of the system's own videoview are not supported, so we can use the videoview implemented by a third…… -
Solution to the failure of ijkplayer to play MKV format video based on Android
Write in front The ijkplayer obtained by directly referencing or compiling the source code in the project has a (- 100…… -
Android horizontal progress bar demo effect
Progress bar: I believe we all know that with the progress bar, users will not feel that their program has hung up aft…… -
Android uses animation to set the progress bar progress
Requirement scenario: when we use ProgressBar, we want to have the effect of progress loading. At this time, our tradi…… -
Let ijkplayer support the method of inserting custom GPU filter
Recently, due to work reasons, we need to provide an example of inserting our aiyaeffects SDK into ijkplayer, so we ha…… -
Implementation method of drawing board for Android custom view
Look at the effect: the small control above the middle drawing board is used to display the graphics drawn in real tim…… -
Android development uses httpurlconnection for network programming [Download with source code]
This article gives an example of Android development using httpurlconnection for network programming. Share with you f…… -
Solution to the problem of displaying blue screen when Android uses Baidu map to flash back and locate
Flash back when using Baidu map Generally, the flash back is not configured in the application tag in the androidmanif…… -
How is Android AAR with dependency tree generated (recommended)
introduction AAR displayed by Android studio by default will only contain the source code of the project and will not …… -
Sample code of Android local video compression scheme
preface This article does not discuss short video recording similar to second shooting, but users select an existing l…… -
Implementation of Android dialog (recommended)
Requirements: the following interfaces are designed, including picture button, check button, radio button and ordinary…… -
Android programming method for recording, saving and playing [download demo source code attached]
This paper describes the method of Android programming to realize the function of recording, saving and playing. Share…… -
Custom behavior for Android coordinatorlayout advanced usage
Last time, I briefly talked about the basic usage of coordinatorlayout (an example of coordinatorlayout usage of Andro…… -
Android realizes the step sensor function
In this paper, the original text: the initial exploration of Android's step counting function, the step counting proje…… -
Android APK update using intentservice sample code
Usually, the most common problems when using a service to update an application are the update of notification progres…… -
An example of Android applying for permission when the program is running
Here we write a small example by calling to apply for permission, that is, call_ Phone is listed as a dangerous permis…… -
Method of permission dispatcher in Android 6.0 permission dynamic application framework
1. Add dependency Add in the build.gradle file of project Add in build.gradle of module 2. Add notes Note description …… -
Complete example of activity management tool class developed by Android
This article describes the activity management tool class developed by Android. Share with you for your reference, as …… -
Implementation of WebView screenshot in Android
The sharing methods of web pages in hybrid app tend to be more and more diversified. The more common user operation me…… -
Android dragimageview realizes the zoom in effect of pulling down and dragging pictures
Drag the dragimageview drop-down to enlarge the picture, as shown above: Main classes: inherit relativelayout, add Ima…… -
Detailed explanation of builder mode example of Android programming design mode
This paper describes the builder mode of Android programming design mode. Share with you for your reference, as follow…… -
Detailed explanation of single example mode of Android programming design mode
This paper describes the single example mode of Android programming design mode. Share with you for your reference, as…… -
Tab interval setting method based on tablayout (example explanation)
The collocation of TabLayout and ViewPager is a lot of convenience, but TabLayout still has many places to make compla…… -
Android custom Scrollview enables the top picture to be pulled down and enlarged
This example shares the specific code of Scrollview to realize the pull-down and amplification of the top picture for …… -
An example of Android imitating IOS digital password unlocking interface
As follows: As every Android Developer knows, the most common way to unlock Android is to unlock Jiugongge, and the co…… -
Android face recognition demo vertical screen YUV direction adjustment and picture saving (sharing)
This blog contains three common methods, which are used to send YUV data when the vertical screen is used in the face …… -
Detailed explanation of factory method mode example of Android programming design mode
This paper illustrates the factory method pattern of Android programming design pattern. Share with you for your refer…… -
Detailed explanation of state mode of Android programming design mode
This paper illustrates the state mode of Android programming design mode. Share with you for your reference, as follow…… -
Detailed explanation of abstract factory mode of Android programming design mode
This paper illustrates the abstract factory pattern of Android programming design pattern. Share with you for your ref…… -
Method for Android to obtain SHA1
Some Google play services (such as Google login and app invites) require us to provide SHA-1 of the signing certificat…… -
Implementation of textview local color change function in Android
When I was working on a project, I encountered a line of text with two colors. When you are a rookie, you will directl…… -
Android realizes the data loading effect of imitation meituan and SF express
We all know that there are two common animation modes in Android: frame animation and tween animation. Frame animation……