Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
6
Erster Beitrag:
vor 1 Jahr, 4 Monaten
Letzter Beitrag:
vor 1 Jahr, 4 Monaten
Beteiligte Autoren:
DarrenF, Gus Sabina, Fabrice Harari

Managing phone calls in Android with WM21

Startbeitrag von Gus Sabina am 12.07.2016 00:00

Hello All:

I need to manage phone calls (dial, answer, etc) in an Android Device. Is it possible to do this with WM21?

Thanks
Gus

Antworten:

Hey Gus,

Of course it's possible:
http://help.windev.com/en-US/?3076005&name=telephony_functions

Pre WM21, I think the Windows phones were limited, although I've not tried the tapi functions with WM21.

von DarrenF - am 12.07.2016 09:19
Hi everybody

I wouldn't be too optimist...

AFAIK, the functions available in WM are able to :
- start the normal telephony app and pass it a phone number (the user THEN has to VALIDATE the call)
- and... that's all (no receiving call or anything of the sort)

@Darren: when you look at a help page like that, the fact that the android icon is ON means that at least ONE of the functions works for Android, not all of them, unfortunately

Best regards

von Fabrice Harari - am 12.07.2016 11:47
@Fabrice, yes I know that :cheers: ...but sometimes a pointer to the general page is a good start 'cos the Help doesn't always bring back what you're looking for. Also, I've developed an Android app in WM20 and both the starting up the phone call app and then subsequently dialing the number worked fine for me :xcool:

@Gus - I can see why you asked the question; if you enter "telephone" or "phone" into the Help, it doesn't come back with much "Help". Sometimes it's a challenge to find what you're looking for in the Help isn't it?

von DarrenF - am 12.07.2016 13:25
Hello Darren:

Thanks for the help.

I created a new app in WM21 targeting Android, and commands such as tapiDial( ) and tapiAnswerCall( ) gives error "... function has no equivalent in WL/Android framework)

What functions are you using in your Android app?

Thanks
Gus

von Gus Sabina - am 12.07.2016 19:37
Hi Gus,

As I said, this was done in WM20; I've just installed the app on my new (replacement) Android 5.1 phone and the following code opens the dialler app and displays the phone number contained in EDT_Mobil (my requirement in this app wasn't to auto-dial):


IF EDT_Mobile "" THEN
tapiDialerDisplay(EDT_Mobile)
ELSE
ToastDisplay("Please enter a telephone number")
END


...but I believe tapiDialerCall does the same as above but also makes the call automatically.

HTH

von DarrenF - am 12.07.2016 22:42
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.