Make Phone call from inside Basic4anroid ?

davidmd

Member
Licensed User
Longtime User
Hi
I wish to make a button
inside the App
That click will lead
To call specific number , Open The Phone dialer
with Specific Number
Or Open SMS with specific Number.
How can i do ot ?

Thanks!!!
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

fransvlaarhoven

Active Member
Licensed User
Longtime User
Hello,

I have a strange thing when attempting to use ussd-codes with the standard dialer:

Dim i As Intent
i.Initialize(i.ACTION_VIEW, "tel:*101#")
StartActivity(i)

the dialer opens correctly but the # at the end is dropped (and for codes with something behind the #, this part is also dropped).

Is it possible to avoid that?
 
Upvote 0

yolira

Member
Licensed User
Longtime User
I'm deaf I can not hear on the phone, i have a simple application that needs to call a number and speech-to-text (as best as possible) whatever the other party is saying.

Simply put, if the other party says "Hello", then "Hello" would be displayed on the screen.

I can make a call using Intent.ACTION_CALL:

Intent callIntent = new Intent(Intent.ACTION_CALL);
callIntent.setData(Uri.parse("tel:91234567"));
startActivity(callIntent);
However, how do I continue from there, to convert the received audio signals to text?
 
Upvote 0
Top