• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps How to write a voice call function

tim2001

Lurker
Class Name
VoiceCallTest

Function to do voice call

Properties
1. CallNo: String
2. CallDuration: integer (in seconds)
3. RedialAfterDrop: Boolean ('whether to redial after a dropped call')

Functions
1. MakeCall(): Make the voice call with <CallNo> and end the call after <CallDuration> seconds. Remark: In case dropped, redial if <RedialAfterDrop>="Y".
 
Back
Top Bottom