Android
-
Android starts a new thread to play background music
In this example, start a new thread to play background music. After the music file is played, pause for 5 seconds and …… -
Android uses scroller to achieve elastic sliding effect
This example shares the specific code of Android using scroller to realize elastic sliding display for your reference.…… -
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…… -
Explain in detail the use of Android strictmode strict mode
Android 2.3 provides a debugging feature called strict mode, which Google says has benefited hundreds of Google applic…… -
Implementation method of Android limiting display of two decimal places
Two methods can be used to limit the display of two decimal places after the decimal point on Android (those used by i…… -
Android method for changing font size and color anywhere in textview
Two methods are introduced here: spannable and html.fromhtml (changed by HTML tags). In practice, you can choose which…… -
Android implementation slide sidebar
In Android application development, the sliding sidebar is often used. Today, I also tried to carry out a simple pract…… -
Android realizes the function of manual signature after consumption of UnionPay card reader (example code)
A few days ago, I went to the property management to pay the property fee. The property management staff said that the…… -
Detailed explanation of how to use the gallery view of Android advanced components
Gallery view indicates that the content can be displayed horizontally, and the picture can be directly dragged by your…… -
Wheelview implements up and down sliding selectors
This example shares the specific code of wheelview to realize the up and down sliding selector for your reference. The…… -
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 Android strict mode
Strictmode class is a tool class introduced by Android 2.3 (API 9). It can be used to help developers find some non-st…… -
Implementation method of sliding up and down, displaying and hiding toolbar in listview
1. Prepare the toolbar First hide the system's own actionbar in the < Application > tag of the androidmanifest.x…… -
Detailed explanation of Android retro fit
I'm late to learn about retrofit, which is now a very popular network request framework for Android. I haven't learned…… -
Android imitation wechat long press menu effect
This example shares the specific code displayed by Android imitation wechat long press menu for your reference. The sp…… -
Detailed explanation of intermediary mode of Android programming design mode
This paper illustrates the mediator mode of Android programming design mode. Share with you for your reference, as fol…… -
Detailed explanation of memo mode of Android programming design mode
This paper describes the memo mode of Android programming design mode. Share with you for your reference, as follows: …… -
Differences between marginleft and marginstart based on Android (detailed explanation)
When we write the layout, we will find several similar properties: MarginStart MarginLeft MarginEnd MarginRight What a…… -
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…… -
Example explanation of button click event implemented by Android fragment
Fragment can't directly click on the event. It needs to be put into oncreativity The code is as follows: Click event c…… -
Android gets the instance code of the time difference between the server and the client
Generally, when we count down the goods, we will encounter the need to obtain the start time and end time of the goods…… -
Several methods of multithread switching in Android
We know that multithreading is a necessary scenario in Android development. Many native APIs and open source projects …… -
Subfolders under layout in Android Development
If there are many interfaces in a project, there will be too many activity * * *. XML files under layout. At this time…… -
Android rxjava create operator interval
Interval operator: used to create observable. Similar to TimerTask, it is used to send information periodically. It is…… -
Detailed explanation of template method of Android programming design mode
This paper describes the template method pattern of Android programming design pattern. Share with you for your refere…… -
Simple Gobang game example developed and implemented by Android
This paper describes a simple Gobang game developed and implemented by Android. Share with you for your reference, as …… -
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 …… -
Method for Android to modify app icon and name
1 Icon for modifying program Modify I →→ C of drawable folder_ Launcher.png icon. Just rename and overwrite the new ic…… -
Scrollview nested listview and calculation method of nested height of listview
introduction In Android development, we sometimes need to use the requirements of nested listviews in Scrollview. For …… -
Detailed analysis of Android source code warehouse and its management tool repo
Because software engineering needs continuous iterative development, it is necessary to version manage the source code…… -
Android imitation wechat location acquisition function example code based on Gaode map poi
1. Open the page to locate automatically and search all POIs around at the same time 2. Click the search button and en…… -
5 minutes to quickly achieve Android explosion smash cool animation effects example
This breaking animation is similar to the explosion breaking effect when Xiaomi system deletes the application. Render……