Checks if an app given by a package name is installed.
See also: GetPackageName, GetInstalledApps
Example - Check App Installed
function OnStart()
{
var pkg = app.GetPackageName();
var isInstalled = app.IsAppInstalled( pkg );
app.Alert( isInstalled, pkg + " installed:" );
}
from native import app
def OnStart():
pkg = app.GetPackageName()
isInstalled = app.IsAppInstalled(pkg)
app.Alert(isInstalled, pkg + " installed:")