[Launcher Development] Wallpaper Selection

In Drag Analysis (Part I) In this paper, we analyze the onLong Click method in Launcher.java, in which WorkSpace judges the location of TouchDown event by onInterceptTouchEvent method, and uses setTag method to save the cell Info where the click is located. If the cell variable in Infcello is not empty, it indicates that the cu ...

Added by Dirtbagz89 on Sun, 19 May 2019 12:19:19 +0300

Java Web Base Disk - Other Articles

XML Operation of XML Files Conversion between XML and JavaBean 1. File operation 1)Create an empty XmlDoc XmlDoc doc = new XmlDoc(); 2)Use the external input element as the root element Element element = ... XmlDoc doc = new XmlDoc(element); 3)With the specified external file or xml Text string c ...

Added by bben95 on Sun, 19 May 2019 10:57:29 +0300

Front-end work series - ajax requests and cross-domain requests

Having been used to Ajax requests written by others, I suddenly want to write one myself. Because of this idea, I went to look up the information and finally figured out the steps of the original request for ajax. I would like to share with you here. If you want to make a request to the server, you must first have an o ...

Added by Drezek on Sun, 19 May 2019 09:45:44 +0300

Use of Shared Preferences and Source Code Analysis

Shared Preferences is a lightweight data storage method in Andorid. Usually used to store some simple data types, such as int, String, Boolean. Shared Preferences stores data when it comes in the form of ArrayMap key-value pairs. Eventually, ArrayMap's data is written to an XML file through an IO stream. The location of the XML ...

Added by zipdisk on Sun, 19 May 2019 04:10:33 +0300

Wechat Small Program E-commerce Actual Warfare - Home Page (Part 2)

Last article: Wechat Small Program E-Commerce Practical Warfare - Home Page (Part 1) Well, in the last issue, we finished the homepage search, navigation bar and advertisement rotation. Then we will continue to finish the rest of our homepage. Let's see what we want to achieve first. In this issue, we want to achiev ...

Added by Thumper on Sat, 18 May 2019 22:00:49 +0300

Android Simple Application--Chatting Demo with Turing Robot

Turing Robot Chat Demo Based on the idea of exploring and sharing technology, and taking this opportunity to record their growth, this small Android Demo came into being. This is my first time to write a blog, let alone a technical blog. If there is anything wrong with it, welcome to point out, thank you. Here's a bri ...

Added by naitsir on Sat, 18 May 2019 19:58:10 +0300

Android Custom ViewGroup Artifact-ViewDragHelper

1. Overview ViewDragHelper is a utility class for writing custom ViewGroups. It offers a number of useful operations and state tracking for allowing a user to drag and reposition views within their parent ViewGroup. This is the official explanation: ViewDragHelper can be used to drag and set the position of a child View (within the ViewGroup ...

Added by mw-dnb on Sat, 18 May 2019 07:59:49 +0300

tomcat configures ssl certificate to realize https access to website

I. Application Certificate The application process is brief. fileauth.txt,.jks secret key file and secret key password Two, configuration Engineering code (1) Upload certificate files, file location: WebRoot/.well-known/pki-validation/fileauth.txt (2) Add the following code to web.xml: <security-constraint> <we ...

Added by louie on Sat, 18 May 2019 00:09:16 +0300

Using AJAX asynchronous loading to verify the existence of user names

Preface Asynchronous loading of AJAX has always been a platitudinal topic. When it comes to AJAX, the most important thing to think about is its asynchronous loading. Recently, the editor let the asynchronous loading of AJAX play a role in the project. Let's see how it demonstrates its ability. Narration Asynchronous loading of AJAX: A techn ...

Added by blues on Fri, 17 May 2019 12:15:58 +0300

Mycat configures Mysql read-write separation + forced walk-write node + read-write separation based on master-slave delay

Database read-write separation is an indispensable and important function for large-scale systems or high-volume Internet applications. For MySQL, the standard read-write separation is the master-slave mode. A write node Master is followed by multiple read nodes. The number of read nodes depends on the pressure of the system, usually the confi ...

Added by lucilue2003 on Thu, 16 May 2019 22:21:46 +0300