Auto fill SMS verification code developed by Android

The author found that in many applications, there are automatic access to the verification code function: click the access to the verification code button, receive the SMS, the current application does not need to exit the program to access the verification code in the SMS, and automatically fill in. I think this kind of user exper ...

Posted on Thu, 05 Dec 2019 22:02:55 -0500 by blackwidow

Fixed layout in mobile development

Record the problems in mobile development.From the most common layout, fixed head or bottom is the most common requirementSuppose the page layout is as follows: <body> <div class="header"></div> <div class="main"></div> <div class="footer"></div> </body> There are ...

Posted on Thu, 05 Dec 2019 20:31:23 -0500 by jonorr1

request.getInputStream read request in stream mode can only be read once

When the project uses request.getInputStream to read the request in the way of stream, but in the actual project, some interceptors are usually used to do some verification. It is found that the request can only be read once, and it can't be used in the Controller. For example, when the front-end request is submitted in json mode, the back-end ...

Posted on Thu, 05 Dec 2019 19:43:37 -0500 by like_php

Notes on Using dialog component of Vant Weapp in mpvue applet

problem Dialog component supports function call and component call, while general components only support the latter. Obviously, the support of function call mode increases the flexibility of component usage, but there are also several other noticeable problems. Two ways to use examples In my mpvue project test, I specially created a test fold ...

Posted on Thu, 05 Dec 2019 10:47:11 -0500 by foolygoofy

JAVA implementation of monitoring U disk inserting scan file

JAVA implements the insertion of monitoring U disk I want to use java to monitor whether there is a mobile device inserted into the USB port, and then operate the files in the mobile device. After searching for information, we found a jsr-80 project. Let's first introduce what JSR is: JSR is the abbreviation of Java Specificat ...

Posted on Thu, 05 Dec 2019 09:36:23 -0500 by Royalmike

android ------ RecyclerView imitates Taobao shopping cart

Shopping cart is often used in e-commerce projects. There are many projects with different interfaces. Choose one to talk about it. RecyclerView imitates the function of Taobao shopping cart (delete and select goods, calculate goods, select, select all and invert selection, increase and decrease of goods quantity, etc.)   Look at the render ...

Posted on Wed, 04 Dec 2019 18:38:44 -0500 by Allen4172

spring's Custom Annotation Analysis

Preface spring provides rich annotations, but sometimes does not meet the complex needs of existing businesses. We can refine our business framework by customizing annotations. Sending:The only way to success is to make things perfect and reward people for their diligence. Note Creation Notes @Target @Target - Where is the comment used and th ...

Posted on Wed, 04 Dec 2019 17:01:27 -0500 by mjm7867

Experience in the development of vue mobile terminal

Introducing Mint UI on demand Used in this project mint-ui As a basic ui framework, it has encountered many problems in use. The official website doc still can't visit. But thanks to the mint ui team.Here we recommend a vue mobile ui Library vant Introduction on demand * mint-ui import 'mint-ui/lib/style.css' import { Navbar, TabItem, Tab ...

Posted on Wed, 04 Dec 2019 06:12:49 -0500 by reaper7861

Python basic exercises

1. Number of printing 1-100 for i in range(1, 101): print(i)   2. Print the sum of 1 + 2 +.. 100 num = 1 sum = 0 while num < 101: sum += num num += 1 print(sum)   3. Use while to output 1 2 3 4 6 i = 1 while i < 7: if i == 5: print('') else: print(i) i += 1   4. Outp ...

Posted on Wed, 04 Dec 2019 00:08:51 -0500 by NotMrT

Custom plug-in of vertical waterfall flow based on jquery

The company's new project has made a plate about pictures. It found some waterfall plug-ins on the Internet that are not very suitable for itself, so it made its own wheel to write one and encapsulate it into a plug-in So I want to share it, mainly for better learning and memory. If you come in, I hope you can give me github a free star. Come g ...

Posted on Tue, 03 Dec 2019 17:25:45 -0500 by POGRAN