Implementation of registration interface

Put the finished product drawing first: The user's registration interface is actually composed of several input boxes (EditText) and TextView. The key point is that the entered phone number and email can be recognized and displayed in the way of hyperlink. After clicking, the corresponding software will be opened. In fact, i ...

Posted by alex_savin on Sat, 21 Dec 2019 17:51:34 +0100

Advanced Http protocol

What is http protocol http protocol: Format Specification for data transmission between browser client and server Tools for viewing the http protocol 1) Use Firefox's firebug plug-in (right click > firebug > Network) 2) Use Google's "censorship element" http protocol content Request (browser->Server) G ...

Posted by SkyRanger on Sat, 21 Dec 2019 16:03:15 +0100

Batch compression of download files in [python multithreading]

The main functions are as follows: 1. Call api interface to get json data; 2. Convert json data to a csv file; 3. Convert each line of data in the csv file to a single xml file; 4. Package every 5 XML files The modules used are:        csv,xml,threading,tarfile,queue Daemons         memorandum: Multi thread communication can use a safe q ...

Posted by habs20 on Fri, 20 Dec 2019 16:31:09 +0100

Recently, I used TextPathView to record

  . introduce use TextPathView is a custom control that transforms text into path animation and then displays it. The effect is shown above. Gradle compile 'com.yanzhikai:TextPathView:0.1.3' minSdkVersion 16 If you encounter a problem that disappears after playing, turn off hardware acceleration, which may not support t ...

Posted by nonexistence on Thu, 19 Dec 2019 22:37:49 +0100

Java Web Learning -- Servlet related interfaces and classes

Absrtact: This paper mainly studies the Servlet related interfaces and classes. The interface and class of Servlet Three ways There are three ways to implement a Servlet: Implement the javax.servlet.Servlet interface. Inherit javax.servlet.GenericServlet class. Inherit javax.servlet.http.HttpServlet class. Implement Servlet interface Servlet in ...

Posted by Antnee on Wed, 18 Dec 2019 13:00:22 +0100

Record a self updating program written by yourself

update.py # -*- coding: UTF-8 -*- import sys import subprocess update = open(u"upgrade.bat", 'w') bat_list = u"choice /t 3 /d y /n >nul\n" bat_list += u'chcp 65001\n' bat_list += u'xcopy \\\\storage\\CG core\\performance appraisal\\PerformancePlugin\\TimeLog\\autoUpdate\\perUpdate\\*.* "%~dp0" ' \ u'/e/s/d/y\n ...

Posted by robin105 on Mon, 16 Dec 2019 22:41:35 +0100

Android:EditText set password visible or invisible

Urgently, set the password visible and invisible properties of EditText in the click event: et_password.setTransformationMethod(HideReturnsTransformationMethod.getInstance()); //Password not visible et_password.setTransformationMethod(PasswordTransformationMethod.getInstance());//Password visible   Body: (Ref https://blog.c ...

Posted by Moron on Mon, 16 Dec 2019 22:23:26 +0100

recyclerview general adapter of mvvm mode

Recently, I plan to refactor the project. I plan to use mvvm mode. I try to write a general adapter for recyclerview in mvvm mode. It's refreshing and pleasant to use package demo.xinchuang.com.mvvmdemo; import android.content.Context; import android.databinding.DataBindingUtil; import a ...

Posted by Ghostgator on Mon, 16 Dec 2019 20:05:35 +0100

android custom title bar

Want to customize a title block, there is a simple way, the introduction of layout files can be. Let's imitate a simple title bar, that is, a button on the left and right, and a text in the middle. That is to say, we only need two buttons and one TextView 1. Create a new layout title.xml, and the code is as shown in the figur ...

Posted by arbelo on Sun, 15 Dec 2019 18:06:38 +0100

Bytecode enhancement

  the previous section introduces the Java bytecode structure, and this section introduces the bytecode enhancement technology. Java bytecode enhancement refers to modifying and enhancing the function of Java bytecode after it is generated, which is equivalent to modifying the binary file of application program.   common bytecode enha ...

Posted by brian79 on Fri, 13 Dec 2019 16:34:21 +0100