Write to beginners 29_android_Android privilege mechanism

Android 29_Android privilege mechanism Many people know that when accessing some system resources, or when some system settings, such as network settings, we need to apply for permissions, but they don't know why Android wants to set such things, and why they put forward run-time permissions. Android privilege mechanism Some operations a ...

Added by thecookie on Fri, 05 Jul 2019 01:41:24 +0300

Basic use of ConstraintLayout layout

Android Basic Layout Constraint Layout Google I/O 2016 released Constraint Layout, which is said to be very powerful. Let's explore it. gradle configuration compile 'com.android.support.constraint:constraint-layout:1.0.0-beta2' Reading Prerequisites: Familiarity with the Four Basic Layouts 1. Position control 8 boundary contr ...

Added by capetonian on Thu, 04 Jul 2019 23:14:08 +0300

Installation and configuration of debian common software

Pure personal record backup, if there are errors, please correct. Add Chinese support Enter dpkg-reconfigure locales at the terminal, then select zh_CN.UTF-8 UTF-8 Installation of Siyuan font is a new font released jointly by google and adobe in 14 years. It supports Chinese, Japanese and Korean fonts. The display effect is quite good. It ...

Added by jpmm76 on Thu, 04 Jul 2019 03:14:09 +0300

Introduction to ProtocolBuffer Learning

Protocol Buffer is an open source serialization and deserialization mechanism similar to xml and JSON parsing, but Protocol Buffer is more flexible, efficient and simple. Protocol buffer is a data exchange format, which is independent of language and platform. Because it is a binary format, it is much faster than using xml for data exchange. It ...

Added by robburne on Fri, 28 Jun 2019 00:55:41 +0300

node,express,koa,koa2 cross-domain problem

XMLHttpRequest cannot load http://localhost:3000/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. The above is an exception that I encountered when learning nodejs. There is code and solution below. 1. Noejs Native Solution 1. js file codevar http=require('http'); ...

Added by jd023 on Tue, 25 Jun 2019 21:14:12 +0300

One Order a Day - Order Help

One Order a Day - Order HelpHow to learn a bash command systematically:Requirements, understand the format of commands, options, help manuals, cases, exercises, extensions.What effect do you want to achieve? Do you have such commands, the format and use of commands, what other options do you have, the complete help manual in the system, what ar ...

Added by TitanKing on Sat, 22 Jun 2019 23:13:14 +0300

Unkillable Service--Java Layer Implementation

Unkillable service-Java Layer Implementation introduce To begin with, let's talk about how we can achieve this: 1. Improving process priority 2.java Layer Two-Process Daemon 3. Job Scheduler polling 4.native Layer Two-Process Guardian Today we will only write about the first three ways, and the fourth native layer, two-process ...

Added by soadlink on Sat, 22 Jun 2019 22:30:36 +0300

Android implements background services using JobService

Preface Android often implements timing services, pushing messages or updating data at a certain time. Generally, we may open the service, use Alarm Manager and setRepeating timing requests in Service, but since API 19, it can not guarantee the accuracy of the timeliness. After 5.0, Google launched a JobService to execute some background proc ...

Added by jrinco11 on Thu, 20 Jun 2019 04:16:04 +0300

Problems encountered in two-dimensional code parsing of Wechat applet

Recently, in a small program from the Wechat api to get the two-dimensional code, and then the two-dimensional code analysis returned to the third party platform, the third party platform according to the link to generate two-dimensional code for users to use, in the analysis of two-dimensional code encountered some problems, here to share. 1 ...

Added by klaaz on Thu, 20 Jun 2019 02:57:26 +0300

Learning Summary of "Java Generating Two-Dimensional Code" on Muchow.com

Time: Friday, 23 June 2017Note: Part of the content of this article is from Mucho.com. @ Mu Course Net: http://www.imooc.comTeaching sample source code: nonePersonal learning source code: https://github.com/zccodere/s... Chapter 1: The concept of two-dimensional codes Overview of 1-1 Two-Dimensional Code Two-Dimensional Code Diagram Use scenar ...

Added by Avendium on Thu, 20 Jun 2019 02:49:59 +0300