asales Expert Licensed User Longtime User Dec 3, 2018 #1 I tried to use the "isInstalled" method of this library from @MarcoRome : https://www.b4x.com/android/forum/threads/whatsapp-library.51571/ with WhatsApp Busines, but don't works. How I can check is the WhatsApp Business is installed? Thanks in advance for any tips.
I tried to use the "isInstalled" method of this library from @MarcoRome : https://www.b4x.com/android/forum/threads/whatsapp-library.51571/ with WhatsApp Busines, but don't works. How I can check is the WhatsApp Business is installed? Thanks in advance for any tips.
DonManfred Expert Licensed User Longtime User Dec 3, 2018 #2 The packagename of Whatsapp Business is: com.whatsapp.w4b Upvote 0
asales Expert Licensed User Longtime User Dec 3, 2018 #3 DonManfred said: The packagename of Whatsapp Business is: com.whatsapp.w4b Click to expand... Thanks! I made this function: B4X: Sub W4bIsInstalled As Boolean Dim ret As Boolean = False Dim in As Intent Dim pm As PackageManager in = pm.GetApplicationIntent("com.whatsapp.w4b") If in.IsInitialized Then ret = True End If Return ret End Sub Upvote 0
DonManfred said: The packagename of Whatsapp Business is: com.whatsapp.w4b Click to expand... Thanks! I made this function: B4X: Sub W4bIsInstalled As Boolean Dim ret As Boolean = False Dim in As Intent Dim pm As PackageManager in = pm.GetApplicationIntent("com.whatsapp.w4b") If in.IsInitialized Then ret = True End If Return ret End Sub