Recent Posts
-
Android uses sharepreference to determine whether it is the implementation code for the first login
Many apps will have a boot welcome interface when they are installed and logged in for the first time, and the boot pa…… -
Textview adaptive size for Android
Setting the default font size of textview is very important to the good-looking degree of the UI interface. The text s…… -
Android reads the image instance on the sdcard (must see)
It is very easy for Android to read the pictures on the sdcard. Here is an example to illustrate this problem. First, …… -
Instance code for Android to judge whether the device has a camera
Through the packagemanager, you can determine whether the Android device has a camera The above example code for Andro…… -
Double click the return key in Android to exit the application instance code
Double click the return key in Android to exit the program 1. In myapplication (inherit application) 2. Add in oncreac…… -
Android night mode switching function implementation code
Now many apps have night mode, especially reading apps. Night mode is now the standard configuration of reading apps. …… -
Solution for handling asynchronous callbacks at the end of activity / fragment
Illegalargumentexception with headache During Android development, UI related operations can only be executed in the m…… -
Android gesture ImageView trilogy part I
I've been studying photoview and gestureimageview on GitHub these days. I found that they are very good. I've read the…… -
Android gesturedetector user gesture detection example explanation
1、 Overview When the user touches the screen, many gestures will be generated, such as down, up, scroll, filling and …… -
Android realizes the clickable and slidable effect of the top navigation bar (imitating wechat and Douban)
Use viewpager, pagerslidingtabstrip and swiperefreshlayout to create a top navigation bar that can be clicked and side…… -
Android imitates the pull-down refresh effect of jd.com and tmall
When it comes to pull-down refresh, I believe everyone is familiar with it. Now it is used in almost every project. Ou…… -
Android textview realizes Click to display full text and hide functions (with source code)
preface I believe that in daily development, you often encounter scenes where large sections of text need to be partia…… -
Summary of defects and problems of Android asynctask
Summary of defects and problems of Android asynctask In Android development, asynctask allows users to avoid directly …… -
Android listview simulation chat interface
This example shares the specific code of Android listview simulation chat interface for your reference. The specific c…… -
Android uses viewpager to load pictures and rotate videos
As one of the basic components of Android, we are already familiar with viewpager, and there are many cases of using v…… -
Skillfully using viewpager to realize the page turning effect of driving test classic
The effect is as follows: Idea: a. Using the inherent animation effect of viewpager, slightly modify it to realize the…… -
Explain Android data storage in detail — using SQLite database
SQLite is a relational database built-in by Android. It is a lightweight database based on files. Android provides thr…… -
How to solve the “failed to allocate memory 8” error of Android simulator
When Android starts the simulator AVD, the following exception appears: "failed to allocate memory: 8". What should I …… -
Method of introducing lambda expression in Android studio
This article introduces the method of introducing lambda expressions into Android studio. Let's take a look at the det…… -
Preliminary study of Android Bezier curve lesson 3 motion trajectory added to shopping cart by Android implementation
I wonder if you still like the unread message bubble of high imitation QQ in the previous section. Today, we continue …… -
Android easyplayer has functions such as automatic stop and recovery of sound, one key mute, etc
Android easyplayer has functions such as automatic stop and recovery of sound, one key mute, etc When we develop the p…… -
Dialog, toast, snackBar reminder for Android Development
Today, I will bring you a simple and easy to understand micro skills article. There are no advanced technical points, …… -
Detailed explanation and example of data design of room card mahjong Analysis series “card game playback”
Data design of room card mahjong Analysis series "card game playback" In recent months, "room card" chess and card gam…… -
Android realizes the effect similar to IOS right sliding return (cause analysis and solution)
Using the class library swipebacklayout https://github.com/Issacw0ng/SwipeBackLayout Problems: 1. When the main activi…… -
Explain how to use @ scheduled to create scheduled tasks in spring boot
We often encounter such scenarios when writing spring boot applications. For example, I need to send some SMS, e-mail …… -
Download Manager in Android implements version update and monitors download progress instances
Introduction to downloadmanager Downloadmanager is a downloadmanager provided by Android 2.3 (API level 9) in the form…… -
Android custom multi node progress bar display implementation code (with source code)
The line segment color and node icon in the pro can be customized. Before sharing the example code, let's show you the…… -
Android implements Gaussian blur of pictures (two ways)
Many apps on the market use the effect of blurring the picture as the background to make the whole page more holistic.…… -
Android programming implementation of custom title function example
This article describes the example of Android programming to realize the custom title function. Share with you for you…… -
Discuss in detail the efficiency of Android reading image display from files
Because reading images from files to bitmap is a time-consuming thing, several feasible methods are studied and compar…… -
Method analysis of Android programming to realize startup interface
This paper describes the method of Android programming to realize the startup interface. Share with you for your refer…… -
Implementation method of transparent effect of virtual navigation key in Android status bar
The status bar and virtual navigation keys are translucent on 4.4, and can be fully transparent above 5.0 First effect……