The implementation of Android Custom View takes you step by step to get a deeper understanding of View (4)

For reprinting, please indicate the source: http://blog.csdn.net/guolin_blog/article/details/17357967 Unknowingly, the article that takes you step by step to deeply understand the View series has been written to the fourth article. Looking back, we have learned Layout Inflater's theory analysis, view drawing process, v ...

Posted on Tue, 14 May 2019 13:12:57 -0700 by fert

Java IO Flow Details

File objects can represent existing files or folders or nonexistent ones. What do we want to do with the content of the file? File only operates on the file. How to deal with the content of the file requires the use of io stream technology. For example, there is a text file named a.txt under the C disk. If you want to read out t ...

Posted on Tue, 14 May 2019 04:14:39 -0700 by philippo

Summary of IO Flow

- - - - - - - - - - - - - - - Written in front - - - - - - - - - - - - - - - 1. concept IO stream is used to process data transmission between devices Java operates on data through streaming Java classes for operation flow are in the IO package Flow is divided into two kinds according to flow direction: input f ...

Posted on Sun, 12 May 2019 01:38:39 -0700 by aleX_hill

Tell me about how to use cameras and albums in Android

Many APP apps have user avatars, which allow users to instantly take a beautiful self-portrait by calling their camera, or open an album to pick a picture of their heart as their avatar. 1 Call camera Layout file: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/ ...

Posted on Sat, 11 May 2019 23:40:08 -0700 by cwiddowson

Navigation Internal Navigation of Jetpack_Architecture

I. Preface Navigation is part of the Jetpack library about architecture modules for internal navigation. Two, pay attention to Need Android Studio version 3.2 or more Navigation, preferably only for page hops between fragment s, can be attempted for billing activity applications. File: https://developer.android.google.cn/ ...

Posted on Sat, 11 May 2019 13:31:45 -0700 by Isomerizer

Solutions for parsing word formulas (different solutions for office insertion and wps insertion)

There is a need in the company's project these days to import mathematical formulas. For word, the inserted formula xml format needs to be converted to mathML and displayed by using the plug-in MathJax. For the inserted formula of wps, it is a wmf picture that can't be displayed on the page, so the idea is to convert wmf into png picture. There ...

Posted on Sat, 11 May 2019 08:28:07 -0700 by madolia

Implementing a Simple Token-based Identity Authentication

This example is based on the interaction between the client and the web API for authentication, which is also applicable in other situations. Simple interactive processes:   1. Input user name and password for login operation 2. The server verifies the correctness of username and password. After the validation, the server encrypts a json st ...

Posted on Sat, 11 May 2019 07:44:58 -0700 by xexmple

[Config] Class library reads its own configuration file and extends it

In our projects, we usually use a unified project file configuration, and all configurations and custom fields are written in a web.config or App.config file. Normally, we don't find any problems. It's true that there's no problem in writing this way, but if we write more, we will look bloated. And if the other parts of your project are not th ...

Posted on Sat, 11 May 2019 02:49:00 -0700 by future_man

Python 3 Web Crawler - Basic Library Use

Python 3 Web Crawler - Basic Library Use Article directory Python 3 Web Crawler - Basic Library Use 1. Basic Principles of HTTP 1,URL&URN 2, HTTP&HTTPS 3, request 4, response 2. Basic library usage 1,urllib 3,requests 4. Regular expressions 5,XPath 6,Beautiful Soup 7, pyquery 1. Basic Principles of HTTP ...

Posted on Fri, 10 May 2019 21:47:21 -0700 by Braveheart

OpenResty C Coding Style Guide

OpenResty follows the coding style of NGINX in C language modules, such as the NGINX plug-in module of OpenResty itself or the C part of OpenResty's library. However, even NGINX's own C language core code style is not consistent with the basic code. Therefore, this paper draws up a guide document in order to eliminate various ambi ...

Posted on Fri, 10 May 2019 20:54:06 -0700 by kataras