privateboolean isAppInstalled(String uri){

 

Just call the method by passing the package name of the application you need to check.

 

if(isAppInstalled("com.yourpackage.package")){
//app installed
}
else{
//app not installed
}

 

相关文章: