Created
November 26, 2019 08:15
-
-
Save abbas-oveissi/d8d0d05643e65743f2c66209e9fbf58d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private boolean isCafeInstalled() { | |
PackageManager pm = getPackageManager(); | |
try { | |
pm.getPackageInfo("com.farsitel.bazaar", 0); | |
return true; | |
} catch (PackageManager.NameNotFoundException e) { | |
return false; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment