Hi all
I'm currently using the phone call function on MIT app inventor ..
I am asking the app to make a call to an allocated number when it does not get a text message back from the allocated number.
The logic seems to work as my phone goes to the call function and populates the phone number requested, so all that i need to do is press the call button..
Is there a way of getting the app to directly make the call.. As in i don't have to press the call button on my phone?
Thanks in advance,
Aoife.
Hello Aoife
The reason your App waits for you to press the Call button is that Google introduced this requirement in Android as a security measure.
If your App is just for yourself and isn't going to be distributed via Google Play Store, then you can try using 'MakePhoneCallDirect'.
1 Like
Hi Chris,
I am using the Phonecall direct and i still have to press the call button..
Is there something else I am missing?
Thanks,
Aoife.
I tried it on a samsung with android 9 and it works without any user interaction. I don't know what the situation is on newer phones. Are you testing this in Companion or a compiled APK? If you are using Companion downloaded from the Play Store, it may not have the correct permissions. Install Companion from the Ai2 website, or test with a compiled APK.
Besides, why are you using the clock to connect? The block will be called multiple times with the clock ticking...
1 Like
I will try the companion from the Ai2 website :)...
TBH I wasn't to sure how to implement the function.
I want to give them for the user to respond post a text I send ..
Sorry I'm still new enough to this ..
If there a better way to call this if/then function without a clock?
Thanks,
Aoife.
...make sure you test an APK of your App too.
hello every one i am making an app its about find doctors i want the user find doctor phone number automatically and there is a lots of doctors and i want to call just with that doctor im chating with him
how can i do that?