PhoneLib

Discussion in 'Additional Libraries' started by stbi, May 1, 2007.

  1. stbi

    stbi Member Licensed 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

    Code:
    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
     

    Attached Files:

  2. GeoTrail

    GeoTrail Member Licensed User

    Looks very interesting :)
     
  3. jlopcav

    jlopcav New Member Licensed User

    It' VERY interesting. When will it send SMS?
     
  4. giannimaione

    giannimaione Well-Known Member Licensed User

    Phone lib and SMS

    Hi Stefan,
    very good!!!

    Now, please, add function for send SMS
    dank

    Gianni
     
  5. Erel

    Erel Administrator Staff Member Licensed User

  6. giannimaione

    giannimaione Well-Known Member Licensed 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
     
  7. Erel

    Erel Administrator Staff Member Licensed User

    No problem.
    BTW, the SMSMessage is available only in the beta version.
    Please tell us if you encountered any problems with it.
     
  8. eddy_ys

    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?
     
Loading...