PhoneLib

stbi

Member
Licensed User
Longtime User
My PhoneLib from the old forum ... can be used with PPC-smartphones to initiate phone calls and retrieve the call log. Only CF 1.0 required. Online help is included in the zip file. I added a new function to check the phone capability of the PDA.

Best wishes,
Stefan

B4X:
Sub Globals
End Sub
 
Sub App_Start
 
    ' add and initialize a phone object
    AddObject("ph1", "Phone")
    ph1.New1
 
    ' query phonelib version
    MsgBox(ph1.PhoneLibVersion,"PhoneLib version")
 
    ' check phone capability
    MsgBox(ph1.PhoneAvailable,"Phone available")
 
    ' query number of call log entries
    x = ph1.NumCallLogEntries
    MsgBox(x, "Number of CallLogEntries")
 
    ' retrieve all call log entries
    if x > 0 then
        for y = 1 to x
            MsgBox(ph1.GetCallLogEntry(y),"CallLogEntry #" & y)
        next 
    end if        
 
    ' initiate a phone call
    if ph1.MakeCall("12345", "test", true) = false then Msgbox("Error", "MakeCall")
 
End Sub
 

Attachments

  • PhoneLib.zip
    12.5 KB · Views: 351

giannimaione

Well-Known Member
Licensed User
Longtime User
Phone lib and SMS

Hi Stefan,
very good!!!

Now, please, add function for send SMS
dank

Gianni
 

giannimaione

Well-Known Member
Licensed User
Longtime User
Hi Erel,

I am work hard, and here (Italy) is very warmth...
i am tired and waiting for holiday

Yes, outlook lib supports SMS. i forget and distract....

Gianni
 

eddy_ys

Member
Incoming Call flag in Phonelib.dll

Is the "Incoming Call flag" available in the Phonelib.dll?
If yes, how to use it?

If not, where to get it?
 
Top