阻止应用显示在已安装的应用中 android
Resist app to show in installed apps android
I am trying to create a GalleryHide app. I am succesful in removing my app Icon from Home Screen.
但是当我打开任何 app Manager 应用程序时它都没有删除。 是否可以删除我们的 package Detail
final PackageManager pm = getPackageManager();
//get a list of installed apps.
List<ApplicationInfo> packages = pm.getInstalledApplications(PackageManager.GET_META_DATA);
for (ApplicationInfo packageInfo : packages) {
Log.d(TAG, "Installed package :" + packageInfo.packageName);
Log.d(TAG, "Source dir : " + packageInfo.sourceDir);
Log.d(TAG, "Launch Activity :" + pm.getLaunchIntentForPackage(packageInfo.packageName));
}
并在 ApplicationInfo
的帮助下。应用程序读取我的 appIcon,packageName 并打开我隐藏的应用程序。我怎么能拒绝他们展示我的应用程序。
Is it possible to remove our package Detail
没有。
How could I resist them to show my app.
不发布该应用程序。
I am trying to create a GalleryHide app. I am succesful in removing my app Icon from Home Screen.
但是当我打开任何 app Manager 应用程序时它都没有删除。 是否可以删除我们的 package Detail
final PackageManager pm = getPackageManager();
//get a list of installed apps.
List<ApplicationInfo> packages = pm.getInstalledApplications(PackageManager.GET_META_DATA);
for (ApplicationInfo packageInfo : packages) {
Log.d(TAG, "Installed package :" + packageInfo.packageName);
Log.d(TAG, "Source dir : " + packageInfo.sourceDir);
Log.d(TAG, "Launch Activity :" + pm.getLaunchIntentForPackage(packageInfo.packageName));
}
并在 ApplicationInfo
的帮助下。应用程序读取我的 appIcon,packageName 并打开我隐藏的应用程序。我怎么能拒绝他们展示我的应用程序。
Is it possible to remove our package Detail
没有。
How could I resist them to show my app.
不发布该应用程序。