Android
-
Simple implementation of Android catching exceptions and uploading them to the server
In the project, our application often crashes. If your project has been sent to the application market, the applicatio…… -
On the conflict resolution between viewpager and rotation chart
Examples are as follows: The above article on the conflict resolution between viewpager and rotation chart is all the …… -
Add back button function in Android title bar
The return button in the title bar is used more in actual use. Today I will talk about my experience in project develo…… -
Android’s method of handling empty lists (must see)
Listview in Android is used to display data. If the list is empty, you can set the content displayed when it is empty …… -
Android Alipay client HTML5 page can not automatically shut down the solution to the problem.
The company's products are paid by Alipay mobile web interface. When the three party merchants enter the jump address,…… -
Simple implementation of POS printer call under Android
This paper is based on gp58 series, which is compatible with ESC / POS instruction set and is universal to Epson print…… -
Talking about Android adding monitoring and data confusion to recyclerview
Add listening for recyclerview 1. Write the internal interface in the implemented myadapter: 2. Continue to add the fo…… -
Quickly solve the problem that onactivityresult in fragment is not called
Fragment starts another activity through the startactivityforresult method. When it returns, the onactivityresult meth…… -
Perfectly solve the problem of prohibiting PC from accessing mobile phone storage unit through MTP under the condition of Android m lock screen
@H_ 403_ 2@1 . main problem solving files: / m8976 / packages / providers / mediaprovider / SRC / COM / Android / prov…… -
Java timer problem example analysis
Timer problem Timer is a basic component. Whether it is user space program development or kernel space program develop…… -
Android studio download update Android SDK network exception or unable to download
Android studio download update Android SDK network exception or unable to download Today, I reinstalled Android studio…… -
The font size of APP in Android does not change with the system
In "setting", "display" and "font size", we can set the system font size If the font of the app interface is modified,…… -
Customize dialog style activity in Android. Click the blank space to hide the soft keyboard function (dialog does not disappear)
1、 Demand trigger scenario: The project needs to develop dialog display with EditText. When editing EditText, click t…… -
Android realizes bitmap rotation effect
Bitmap rotation can also be realized with the help of matrix or canvas. Set the rotation angle through the postrotate …… -
Detailed explanation of the calling sequence of set, pre and post of matrix
When matrix calls a series of set, pre and post methods, it can be regarded as inserting these methods into a queue. O…… -
Animation effect of popupwindow entry and exit in Android
No more nonsense. I'll post the code directly to you. The specific code is as follows: Then define the animation file …… -
Simple practical case of popupwindow (displayed below the control)
Step 1: private PopupWindow mPopupWindow; Step 2: write a popupwindow layout file XML Step 3: write code in activity N…… -
Detailed explanation of MVP mode in Android
MVP evolved from the classic mode MVC, and their basic ideas have similarities: Controller / presenter is responsible …… -
Solution to the Caton problem of Android recyclerview
Why does recyclerview get stuck As a new control of V7 package, recyclerview has been widely welcomed by Android devel…… -
Summary of handling upload progress problems during Android large file upload
When uploading large files, displaying the upload progress is a good user experience and can effectively alleviate use…… -
Summary of common problems in Android video playback
Video playback is a common problem in Android development. In conventional videos, you can directly use videoview + me…… -
Summary of methods to judge whether network connection is available in Android
Android network judgment Judge whether the current network is WiFi 1、 Determine whether the network connection is ava…… -
Solve the problem of invalidation of the outermost margin in the item of Android listview
1. This phenomenon is found in the development: The item in the list is LinearLayout. The outermost layer of this item…… -
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……