Android UID allocation, viewing and related knowledge

The meaning and function of uid pid gid gidsAllocation of UIDsView several ways to apply UIDObtain the package name through uid, and obtain uid through package name All the sample code involved below is based on Android 8.1. 1. Meaning and function of uid PID GID GIDS Uid: the uid in Android is used to identify an application. The uid is as ...

Posted by alsouno on Tue, 18 Jan 2022 19:13:40 +0100

Android Development: broadcast receiver

Personal notes sorting Broadcast receiver Introduction to broadcasting mechanism Standard broadcast( Normal broadcasts)It is a completely asynchronous broadcast. After the broadcast is sent, all broadcast receivers will receive the broadcast message at almost the same time, so there is no order between them. This kind of broadcast will be m ...

Posted by macleo on Sun, 16 Jan 2022 03:13:18 +0100

Apache configuration and web page optimization

Building a virtual Web host Virtual iweb host refers to running multiple web sites in the same server, in which each site does not actually occupy the whole server independently, so it is called "virtual" web host. Through the virtual web host service, we can make full use of the hardware resources of the server, so as to greatly ...

Posted by Mortana on Mon, 10 Jan 2022 17:25:03 +0100

CentOS 8 installation and configuration web server

Installation and configuration of Apache server Environment centos8 5 (this version is the latest version at present, and other versions should be the same) Apache Apache )It is the world's No. 1 Web server software. It can run on almost all widely used Computer platform In fact, because of its Cross platform And security are widely used. It ...

Posted by cdickson on Sun, 09 Jan 2022 13:15:12 +0100

FTP upload error org apache. commons. net. ftp. FTPConnectionClosedException: Connection closed without indication

Error message FTP upload file report org apache. commons. net. ftp. Ftpconnectionclosedexception: connection closed without indication error In the project, due to ftp migration, the ftpclient used by the code logs in successfully, but this error is reported when uploading the file. code public boolean uploadFile(String ip, int port, String ...

Posted by etones on Sat, 08 Jan 2022 10:39:11 +0100

Java extraction Servlet (optimized)

Problem analysis: when we write servlets, a function will correspond to a Servlet, such as LoginServlet and RegisterServlet corresponding to login and registration. When a management system has many functions, there will be 10-30 servlets, which will be very messy when people look at the code The purpose of extracting servlets: reduce the nu ...

Posted by web_master on Sat, 08 Jan 2022 05:38:40 +0100

Distributed RPC framework Apache Dubbo

1. Evolution process of software architecture The development of software architecture has experienced the evolution process from single architecture, vertical architecture, SOA architecture to micro service architecture. Let's learn about these architectures respectively. 1.1 single structure Architecture Description: All functions ar ...

Posted by erth on Thu, 06 Jan 2022 16:17:58 +0100

Build the LAMP architecture (LAMP website application mode), including the installation of Apache, Mysql and PHP

LAMP Architecture Overview LAMP architecture is one of the mature enterprise website application modes at present. It refers to a complete set of systems and related software working together, which can provide dynamic web site services and its application development environment. LAMP is an abbreviation, including Linux operating system, ...

Posted by timj on Thu, 06 Jan 2022 10:56:16 +0100

android ijkplayer local compilation and debugging on Mac

1. Local compilation Set the environment variable, ndk to use version r10e ANDROID_SDK ANDROID_NDK System Preferences - > Security and privacy - > General - > app s that can be downloaded from the following location are set to any source Setting method: after the Terminal terminal is opened, enter at the command prompt sudo spct ...

Posted by TheAngst on Wed, 05 Jan 2022 09:20:15 +0100

Android mobile terminal development code specification and formatting tool

principle There are several principles that can help you write code that meets the specifications without looking at the documents: If it is to modify the existing code, it should be consistent with the surrounding style If the system SDK is used for development, unless otherwise specified, the style shall be consistent with the system SDK New ...

Posted by cbassett03 on Wed, 05 Jan 2022 05:36:39 +0100