Resist app to show in installed apps android

85 Views Asked by At

I am trying to create a GalleryHide app. I am succesful in removing my app Icon from Home Screen.

But it doesn't remove when I open any app Manager app. Is it possible to remove our 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)); 
}

and with the help of ApplicationInfo. Apps read my appIcon,packageName and open my hidden app. How could I resist them to show my app.

1

There are 1 best solutions below

2
On BEST ANSWER

Is it possible to remove our package Detail

No.

How could I resist them to show my app.

Do not ship the app.