MCPcopy Create free account
hub / github.com/KAlO2/PerfectShow / isApplicationInstalled

Method isApplicationInstalled

src/com/cloudream/ishow/App.java:63–75  ·  view source on GitHub ↗
(String packageName)

Source from the content-addressed store, hash-verified

61 }
62
63 public boolean isApplicationInstalled(String packageName)
64 {
65 try
66 {
67 PackageManager pm = this.getPackageManager();
68 pm.getApplicationInfo(packageName, PackageManager.GET_UNINSTALLED_PACKAGES);
69 return true;
70 }
71 catch(PackageManager.NameNotFoundException e)
72 {
73 return false;
74 }
75 }
76
77 public void exit()
78 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected