c Add wave music to the silent avi video (it is estimated that the avi audio and video is actually written specifically for the entire network)

During programming, I found that many parameters in the header file structure have very loose requirements, and only a few are important. In fact, this program is to prepare for later recording with a camera and microphone. I recorded the audio used in this program with a microphone. Now the avi generated by this program […]

The scene mode sets vibration or silent mode, and changes to normal mode as the sound changes.

Getting the value of the scenario mode: AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); final int ringerMode = audioManager.getRingerMode(); Conclusion: The ringerMode value will change after the user modifies the sound, and the vibration mode is changed to normal mode, silent mode or silent mode The process is as follows /frameworks/base/services/core/java/com/android/server/audio/AudioService.java private void setStreamVolume(int streamType, int index, […]

MTK Android12 silent installation interface

This document provides a broadcast receiver on the android12 system. The app sends a broadcast and brings in the apk address to install it. 1. Broadcast registration frameworks\base\services\core\java\com\android\server\policy\PhoneWindowManager.java Dependencies to be imported first import android.app.PendingIntent; import android.content.IntentSender; import android.content.pm.PackageInstaller; import android.content.pm.PackageManager; // import android.os.RemoteException; import android.content.ComponentName; import android.util.Log; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import […]

oracle19c silently installs centos7.5

oracle19c silently installs centos7.5 1. Basic environment configuration Turn off the firewall: systemctl disable firewalld Turn off selinux:/etc/selinux/config Change hostname: /ect/hosts 192.168.80.148 (write your own IP) oracle19c 1.2.yum installs the dependency packages required by oracle yum install -y bc yum install -y compat-libcap1* yum install -y compat-libcap* yum install -y binutils yum install -y compat-libstdc […]

WebLogic 12c multi-node Cluster silent installation

WebLogic cluster architecture Weblogic role AdminServer: 172.16.65.130 NodeServer: ?172.16.65.131, 172.16.65.132 Version weblogic 12.2.1.3.0 centos 7.3 Common installation steps — Create account and directory — /usr/sbin/groupadd -g 666 wladmin /usr/sbin/useradd -u 666 -g wladmin -G wladmin wladmin /usr/bin/echo -e “P@ssw0rd\ P@ssw0rd” | (/usr/bin/passwd –stdin wladmin) /usr/bin/mkdir -p /WebLogic/oracle/inventory /usr/bin/chown -R wladmin:wladmin /WebLogic /usr/bin/chmod -R 775 /WebLogic […]

Silently install oracle19c database

Article directory Preface 1. Configure the operating system environment 0.Environment variable settings 1. Turn off the firewall 2. Close Selinux 3. Mount the optical drive 4. Configure local yum file 5. Install dependency packages 6. Configure host 7. Create users and groups 8.Create the installation directory 9. Configure avahi-deamon 10. Turn off transparent huge pages […]

CentOS silent installation of Oracle 12c

CentOS 7.9 silently installs Oracle 12c Environment configuration Modify hostname and hosts Turn off firewall Turn off selinux Confirm Transparent HugePages is closed Check and configure partition size Change yum mirror source Install dependency packages Create user groups and users Create file directory and authorization Upload the oracle installation file compressed package Upload 3 response […]

Silent installation, startup of App and silent uninstallation in Android 11.0 system

Silent installation, startup of App and silent uninstallation in Android 11.0 system Silently install and launch apps and silently uninstall Modify PackageInstaller Third-party App requests silent installation Silent installation and startup of the App and silent uninstallation This article describes how to modify the system PackageInstaller application in Android 11 to support silent installation of […]

oracle19c-silent installation (centos7)

Directory 1. Environmental preparation 1. Turn off the firewall 2. Close SELINUX 3. Configure local yum source 4. Install ORACLE prerequisite packages 5. Modify the LINUX kernel file 6. Add the following parameters to /etc/security/limits.conf 7. Add the following entries to /etc/pam.d/login 8. Add the following statements to the environment variables 9. Create file directories […]