My app from background need to send text via WhatsAPP. I applied following but WhatsAPP GUI open with number filled in and text filled in. WhatsAPP do not send the text WhatsAPP wait to push the send button manually. How do i do it automagically? (without human requirement)
B4X:
Dim Intent1 As Intent
Intent1.Initialize(Intent1.ACTION_VIEW, $"https://api.whatsapp.com/send?phone=${myService.sms_to}&text=${myService.sms_text}"$)
StartActivity(Intent1)
Oh no. Thats disaster in my case.
My app has to run in an unhuman existing datacenter rack rooms (per rack),
to send notification via WhatsAPP for emergency: site down, booting, server mulfuntion etc.
I cant put human in datacenter rack-rooms. Is there any other notification built-in apps (from B4A or others) which can be used just like WhatsAPP but completely automated?
Can we from B4A execute/notify via Skype on iOS, Android ? (few years ago i did cant remember exactly). I do not want to put my own app to random end users because of GDPR and other terms and conditions.
And now????? Whatsapp is NOT Skype!!!
You are free to use Skype if you want. I can´t help on this; never tried to use such thing with Skype on Android.
Away from that; You should create a NEW Thread if you want to work with Skype now! Skype and all Documentation about how it works with Skype is not relevant to this thread.
I agree with @DonManfred - provided you get the subscription topics correct - it works like a dream
OR
Given that you have access to racks and servers you could possibly also take a look at MQTT by installing the Mosquitto Broker (now called Server) and use a lightweight B4J Non-Gui server to handle your messaging centre with a Chat Type module in your app that is invoked by running a service on the respective device.
I did that but iOS release refused so i drop all those projects and decided to use third party apps WhatsAPP. But they want human operator and refuse the way i needed. So its a fail approach.
I have my push-server's running on CentOS which works with Android but failed to release on iOS so i drop that project and decided to not waste time on that it was done project for me.
Thanks i have figured out how i will hack this i have few alternatives except WhatsAPP.
- Asterisk (Voice call from server, SMS)
- Texting using Xmpp protocol from server
- Fallback calls, using Skype