How do I know if WhatsApp is installed on my phone without calling startActivity?
Try this option:
Intent launchIntent = getPackageManager().getLaunchIntentForPackage("com.whatsapp"); if (launchIntent == null) { //значит приложения нет }
Source: https://ru.stackoverflow.com/questions/622974/More articles:Javascript issue is not readableFanuc 90-30 PLC How to get data?Java exit code -1073740791DataGridView - increasing sequence in rowThe percentage of matching words to the selected languageWhat algorithm to use to solve the problem? [closed]c # List scrolling itemsHow to display only one item from the list in the one-to-many model?Java Regex does not find the groupRetrofit2 + Google Maps APIAll Articles