A set of code packages multiple applications and configures different package names and signatures

When developing an application, the basic functions are the same. When packaging, distinguish channels, configure different package names and signatures. 1. Create a new project Simply create a default Hello World project. 2. Create a new folder for the corresponding channel Create a new folder qudao1 in the src directory, and then generate ...

Added by maxrisc on Sun, 16 Jan 2022 04:17:29 +0200

Update, install, hide and unhide APK

1, The apk installed by the user has been updatedpublic void registerReceiver(Context context) { Slog.d("PMSdddd", "systemReady1"); IntentFilter filter = new IntentFilter(); filter.addAction(Intent.ACTION_PACKAGE_ADDED); filter.addAction(Intent.ACTION_PACKAGE_CHANGED); filter.addAction(Intent.ACTION_PACKA ...

Added by risi on Mon, 13 Dec 2021 06:17:17 +0200