Android Q graphics system uses pure native API to draw a window

This article draws a window according to the previous analysis and implements it with the pure native API. The native API here is not ndk, but a native layer function, which needs to be implemented in the AOSP compilation environment. First, create the drawWindowTest test directory in the / frameworks/n ...

Posted on Mon, 15 Jun 2020 01:58:37 -0400 by akumakeenta

Use of Routes in vue

Introducing Routing Routing: Is the rule that corresponds to the hash value (# hash) in the browser URL and the display view content Simply put, a route is a set of mapping rules (one-to-one correspondence rules) that are formulated by the developer. - When the hash value (# hash) in the URL changes, the route displays the corresponding vi ...

Posted on Sun, 14 Jun 2020 13:24:40 -0400 by DamianTV

springboot obtains the ip address, access device information and city address information of visitors

1. Get the ip address of the visitor: Don't talk about the code directly. See the notes for details package com.xr.util; import lombok.extern.slf4j.Slf4j; import javax.servlet.http.HttpServletRequest; import java.net.*; import java.util.Enumeration; /** * @Description: Get IP method * @Belongs ...

Posted on Sat, 13 Jun 2020 02:39:53 -0400 by tc61380

How to build a vue-cli4+webpack mobile framework? Detailed explanation of this article

brief introduction This is a mobile framework based on vue-cli4, which includes the common configuration of the project, component encapsulation and web pack optimization methods, which can be used for rapid development. Technology stack: vue-cli4 + webback4 + van + Axios + less + postcss px2rem Source code github.com/Michael-lzg... //Installa ...

Posted on Fri, 12 Jun 2020 01:20:12 -0400 by Mark Nordstrom

Teach you how to use 24 ES6 methods to solve the JS problem of actual development? Detailed explanation of this article

This article mainly introduces es6 method in 24, these methods are very practical. Please remember this book and turn it out from time to time. 1. How to hide all specified elements const hide = (el) => Array.from(el).forEach(e => (e.style.display = 'none')); // Example: hide all elements on the page? hide(document.querySelectorAll('img ...

Posted on Fri, 12 Jun 2020 00:54:55 -0400 by d~l

Using JavaScript to access your device camera

Hello everyone, in this blog I will show you how to use JavaScript on a web page, and support many browsers without additional libraries to access the current device camera. How to access the camera We use JavaScript Media Stream API To access the user's camera (not only on the computer, but also on t ...

Posted on Thu, 11 Jun 2020 03:01:16 -0400 by siminder

v-model, components, modularization to get started with Vue

I. Use and Principles of v-model 1. Basic use of v-model The v-model is used to practice the two-way binding of that form element and data <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> &lt ...

Posted on Wed, 10 Jun 2020 20:46:27 -0400 by paegn

Flutter Actual Warfare] Text Components and Five Cases

Hello, Lao Meng: This is the second in a series of articles about text components, which include text display components (Text and RichText) and text input components (TextField), basic usage and five cases to help you master them quickly. First link: The History of Mobile Technology Text Text is a component for displaying text, not one of t ...

Posted on Wed, 10 Jun 2020 20:27:26 -0400 by LarsLai

Android process live

The way to keep the process alive Some mechanisms of Android killing process Some ways to keep alive One pixel survival method Front desk service Some mechanisms of Android killing process Androcchio's processes are mainly divided into the following five categories: 1. Foreground process Foreg ...

Posted on Wed, 10 Jun 2020 00:58:40 -0400 by juline

Taobao APP user behavior data analysis case -- Python

catalog 1, Project introduction 1.1 analysis background 1.2 data set introduction 1.3 data understanding 2, Clear problem & Analysis Framework Construction 2.1 ask questions 2.2 analysis framework construction 3, Data processing 3.1 lead in 3.2 import data 3.3 data cleaning 3.3.1 view overa ...

Posted on Wed, 10 Jun 2020 00:37:26 -0400 by lordfrikk