包含标签:Android 的文章
-
How Android changes the default location of toast
The default location of toast in Android is near the bottom of the screen, which is sometimes inappropriate. For examp…… -
Implementation method of Android optimized adapter through viewholder (must see)
Definition of adapter class: The adapter object is the bridge between the AdapterView and the underlying data. The ada…… -
Android determines whether the current language environment is Chinese
If you don't have much to say, please see the code: PS: Android determines what language the current system uses Judge…… -
Implementation method of Android Scrollview sliding to the top or specified position
In Android development, we often encounter the phenomenon that one screen can not display all the contents. We also kn…… -
Example code of button using verification code countdown in react native
During the development process, there is a scenario of obtaining mobile phone verification code. At this time, there a…… -
Implementation of displaying SQLite query results in listview
1. Get DB instance @ h_ 419_ 4@ 2. Get query structure @ h from cursor object_ 419_ 4@ 3. New simplecursoradapter obje…… -
Using viewholder to optimize the writing method of custom adapter in Android (required)
I've written a lot about adapter recently, and I'm getting familiar with it slowly. Using viewholder is mainly to opti…… -
Detailed explanation of reading Excel files in Android
Detailed explanation of reading Excel files in Android Recently, there was a need to build data in the app. The new pr…… -
Alertdialog in Android does not close the dialog box after clicking the button
The problem here: when I click the OK button, that is, the positive button in the alertdialog, we need to judge whethe…… -
Summary of data update methods for Android media library
Summary of data update methods for Android media library In the project, we often create our own directory to store so…… -
Batch display function of Android listview data
Batch display of Android listview data Layout file activity_ call_ safe2.xml CasllSafeActivity.java The above is the b…… -
Android sets EditText to get focus and pop up the soft keyboard
Android sets EditText to get focus and pop up the soft keyboard PS: enter EditText on the Android page to automaticall…… -
Use example code of spring boot timing task
Configuring scheduled tasks in spring boot is extremely simple... Let's look at the example code below: The above is t…… -
Android devices do not recognize the awk command. What if busybox is missing
Android device does not recognize awk command, missing busy@R_ 693_ 2419@ 1、 What is Busy@R_ 693_ 2419@ ? Busy@R_ 69…… -
Detailed explanation of example of Android intent sending broadcast message
Android intent sends broadcast messages Another purpose of intent is to send broadcast messages. Both applications and…… -
android:layout_ Gravity and Android: the difference between gravity and Android
1. Let's first look at Android: layout_ Gravity and Android: the difference between gravity and Android. android:gravi…… -
Simple implementation method of Android local verification code (preventing violent login)
0. Preface The verification code is everywhere. Someone asked me, do you know what is under the Da Vinci password? Yes…… -
Android uses shared preferences to store passwords and remember passwords in the login interface
There are many storage methods for Android. The storage method used here is SharedPreferences, which uses the map data…… -
Detailed explanation of image zooming implemented by Android custom ImageView
Detailed explanation of image zooming implemented by Android custom ImageView I think this custom ImageView is very ea…… -
Android determines whether the user has allowed the camera permission instance code
For example, since it is to judge whether the user has allowed the camera permission, we will ignore the problem of ma…… -
Two ways for rxjava to implement three-level cache in Android
As mentioned in the title of this article, rxjava is used to realize the three-level cache of data, namely memory, dis…… -
Return value of ontouch method in Android ontouchevent event (Introduction)
1. If return false, the ontouch event is not successfully executed. After executing the code in ontouch, the ontouch e…… -
Detailed explanation of using AspectJ in Android
What is AOP AOP is the abbreviation of aspect oriented programming, that is, "aspect oriented programming". It is diff…… -
Solve the problem of blank space on the left of custom toolbar and action bar after Android v7
As shown in the figure: 1. View the parent topic of the widget.appcompat.toolbar as follows: The attribute contentinse…… -
Customize the shape of toast. Multiple clicks will not always pop up the implementation method of toast
The effect is as follows: I encapsulated a class: The following two textviews make the toast wider and higher respecti…… -
Android Gaode map POI retrieval imitation wechat sending location example code
Recently, the project needs to change the sending location module into an effect similar to that of wechat sending loc…… -
Android adds a prompt for the number of unread messages to the icon of the application (the number in the red circle)
Recently, we are working on a function to view unread messages. We need to add a function to prompt unread messages in…… -
Android property animation principle and databinding
Android property animation principle and databinding When you see this title, you may wonder what is the relationship …… -
Android imitation function button floatingactionbutton effect
Some time ago, I was watching attribute animation. It happened that the effect of this button can be realized by attri…… -
Android ADT offline download steps
Android ADT offline download steps Many online Android ide eclipse development environment tutorials, ADT installation…… -
6 steps to easily realize the linkage effect of two listviews
After reading many linkage demos updated on the Internet, I feel that the writing is not very concise (indicating that…… -
Android uses listview control to operate SQLite database instance
In this example, firstly, we use sqliteopenhelper class to establish a database, write the methods of adding, deleting……