Android Learning Grid View

I. Introduction: GridView is a component that displays multiple pictures in the form of tables. It displays the content in the form of rows and columns. For example, to implement the nine palace diagram, GridView is the first choice. 2. Code block: The students who read my last blog should know that it takes a lot of time to write all the steps ...

Added by undertaker16 on Thu, 05 Dec 2019 02:36:28 +0200

59 tool classes commonly used in the front end [continuous update]

Preface Sometimes the front-end development will process some data returned from the background, or do some processing according to the data judgment; at this time, it is very necessary to encapsulate some common tool classes; This paper encapsulates 59 methods according to some commonly used tool classes, of course, there are many less used ...

Added by racerxfactor on Tue, 03 Dec 2019 23:07:38 +0200

Details of Android 8.1 source code -- the reason and solution of no display of drive letter on PC in visitor mode

[phenomenon] This problem is mainly aimed at MTK platform. The source of sorting information is a Bug encountered in the process of the project. Device switches to visitor mode, connects computer USB, opens transmission mode, but finds that the internal stored drive letter cannot be displayed on the PC end, which is unreasonable. But in fact, t ...

Added by k4pil on Tue, 03 Dec 2019 14:27:03 +0200

Solve the problem that ClipboardJS fails to copy on iphone through textarea tag

Some time ago, I did the function of wechat custom sharing. There was a problem that the invitation code of the shared page failed to be copied on ios mobile phone, but there was no problem on PC and Android. Baidu for a moment, the basic solution is: ios does not simply support on, for the click elements to add empty click event: onclick = &qu ...

Added by nickminute on Mon, 02 Dec 2019 21:12:06 +0200

Safety design of php interface

Safety design of php interface The security of the interface is mainly designed around the three mechanisms of Token, Timestamp and ign, which ensure that the data of the interface will not be tampered with and called repeatedly. The following is specific: (1)Token authorization mechanism: (Token is the credential of the client to access the ...

Added by Opv on Mon, 02 Dec 2019 16:28:56 +0200

Svn installation and Windows environment SVN migration to Linux

SVN project backup Use the svnadmin tool to export locally. cd H:\Repositories svnadmin dump H:\Repositories\test > F:\svn_dump\test.dump svnadmin dump H:\Repositories\android > F:\svn_dump\android.dump svnadmin dump H:\Repositories\BackEnd > F:\svn_dump\BackEnd.dump svnadmin dump H:\Repositories\DevOps> F:\svn_dump\DevOps.dump sv ...

Added by mndwn on Mon, 02 Dec 2019 07:20:25 +0200

Android development WiFi signal detection

1. First, add the following code to the Android manifest.xml file to enable permissions: <! -- access to WiFi status -- > <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> <! -- permission to change network state -- > <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/> <! -- ...

Added by racerxfactor on Mon, 02 Dec 2019 01:09:30 +0200

Wechat applet custom pop-up

I believe that everyone is familiar with the small program. It can be used as soon as you scan the code. Although the sparrow is small, it has all five internal organs. Introduction to wechat applet The host environment of the applet is webview, which is relatively fast to learn. Wechat encapsulates some API s for js to call the na ...

Added by nevillejones on Sun, 01 Dec 2019 17:00:48 +0200

A Demo for you to understand the callback mechanism of Android interface

Preface In development, we often use interface callback. Interface callback means that after registration, it will not be executed immediately, but will be triggered at a certain time. for instance: A has a problem that he won't. He asks B. B can't solve it for the time being. B says, wait until I (b) solve it, and then tell you (a ...

Added by rationalrabbit on Sun, 01 Dec 2019 08:41:50 +0200

Source code analysis of Android system: Exploration of Handler's extended knowledge

After analyzing the Handler source code, there are many unknown secrets. Next, analyze it. Classes involved:HandlerThread, IntentService, AsyncTask, Messenger, IdleHandler, Looper.Observer, MessageLogging, etc The first half: HandlerThread, IntentService, AsyncTaskIn the second half of the lecture: Messenger, IdleHandler, Looper.Observer, Messa ...

Added by sgalonska on Wed, 27 Nov 2019 13:09:33 +0200