New Phone library

Discussion in 'Announcements' started by Erel, Sep 20, 2007.

  1. Erel

    Erel Administrator Staff Member Licensed User

    The new phone library allows making calls and reacting to several phone related events.
    This library requires WM5.0 and WM6.0 phone enabled devices (.Net CF 2.0 on WM5.0).
    It can be downloaded here: www.basic4ppc.com/Downloads.html
     
  2. Cableguy

    Cableguy Expert Licensed User

    This new lib is absolutly awsome,still a few wishes remain...

    1- the ability to end athe cuurent conversation with code
    2- the ability to cancel an outgoing (still dialling) call, perhaps the same method can do 1 and 2...
    3-mute ringer( usefull to screen calls)
    4-send "busy" tone as an aswer to a call...

    With this, features as call blocking, could be added to an aplication, even call controll and manegeament....
     
  3. eddy_ys

    eddy_ys Member

    Erel,
    Good work.
    Will this replace the old phonelib.dll?
    Some other questions:
    1. When the phone call is active, the sound("*.wav") cannot be played.
    2. How to activate the vibrator of the phone when certain even is raised?
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    The "old PhoneLib" library was created by stbi (a user).
    Unlike the official Phone library it doesn't require WM5.0 or WM6.0 devices so it is still useful for some.
    I guess that when the phone rings the speaker is busy with it so I don't think you can do anything about it.
    I will check if it is possible to add a Vibrate method to the Hardware library.
     
  5. Louis

    Louis Active Member Licensed User

    Hi. If your Mobile Device doesn't have a phone but you purchase a CF card and the proper drivers for the device so it can communicate with GSM networks and send and receive calls with the installed drivers, will the library work? My mobile device doesn't have a phone, but I can buy a compactflash adapter card and install drivers that will turn it into a phone as long as the card is in a slot, with of course my SymCard in the CF adapter. Just a thought. Thanks.
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    I'm not sure it will work.
    It depends on the specific implementation.
     
  7. eddy_ys

    eddy_ys Member

    Hi Erel,
    Have you got the solution for the "Vibration"?
    I need it badly.
    Btw, any function that you might have developed for generating a sound with frequency = x Hz?
    (x is between 1..20000Hz)
    :sign0163:
     
  8. Erel

    Erel Administrator Staff Member Licensed User

    The Hardware library now includes VibrateStart / VibrateStop methods.
     
  9. Cableguy

    Cableguy Expert Licensed User

    Can it be added a method to retrieve the IMEI number?

    This would be usefull as they are unique...
     
  10. markbarrett_1

    markbarrett_1 Member Licensed User

    Hi Erel,

    Is it possible to build an application with this library in it and not stop the application if the device running on it isn't a phone? My database that I'm working on is now getting pretty complete. What would be neat is for people with phone PDA's they can look up somebody in the database, hit a button and dials (coded it up already and works perfectly). However on older PDA's that are NOT WM5 and NOT phone enabled, the application stops before it even gets going with what looks like a dll initialiation problem. I was hoping to avoid having 2 exe's out there (a phone one and a non-phone one). Is this possible? If not, I'll do the 2 exe's thing and make some smart code that requires a couple of comments either way to make it so.

    Thanks.

    Cheers.

    M
     
  11. Erel

    Erel Administrator Staff Member Licensed User

  12. rypnd

    rypnd New Member

    Pls Help me. I use your 5.8 version in my PPC, so I cannot add phone.dll and outlook.dll. Pls give me advice. Thanks.
     
  13. Erel

    Erel Administrator Staff Member Licensed User

    What device are you using? These libraries require WM5.0 or WM6.0.
     
  14. rypnd

    rypnd New Member

    My device is o2 Atom - WM6.0.
    When i use add components, and choose ADD DLL, it not listing the phone.dll and outlook.dll in the list.
     
  15. Erel

    Erel Administrator Staff Member Licensed User

    The dlls are not copied to the device as part of the installation.
    You could copy the dlls to the device from:
    C:\Program Files\Anywhere Software\Basic4ppc Desktop\Libraries

    I recommend you to first build the application on the desktop and add Outlook / OutlookDesktop and Phone / PhoneDesktop to your application.
    If you work inside the synchronization folder, the files will also be copied to the device.
    See this post: http://www.basic4ppc.com/forum/showthread.php?t=38
     
  16. nihg

    nihg New Member

  17. nihg

    nihg New Member

    i love it

    thanks
     
Loading...