Sapphire SIM utility給Visual Studio提供了管理SIM卡的功能,SIM卡包括Pocket PC Phone 版本或者智能電話設(shè)備。用戶可以在SIM卡的一般或者固定撥號(hào)區(qū)域內(nèi)添加、修改和刪除。它還可以發(fā)起一個(gè)電話呼叫,并可以開啟/關(guān)閉撥號(hào)特性。
The Sapphire SIM utility provides the Visual Studio developer with the ability to manage the SIM card of a Pocket PC Phone Edition or Smartphone device. It enables the user to add, change and delete contacts from the normal and fixed dialling areas of the SIM card. The utility can also initiate a phone call and enable or disable the fixed dialling features.
需要培訓(xùn)、定制、外包?
請(qǐng)聯(lián)系我們!:800018081
慧都專業(yè)技術(shù)團(tuán)隊(duì)幫助您提高效率,節(jié)省成本,降低風(fēng)險(xiǎn)!
* 關(guān)于本產(chǎn)品的分類與介紹僅供參考,精準(zhǔn)產(chǎn)品資料以介紹為準(zhǔn),如需購(gòu)買請(qǐng)先行測(cè)試。
產(chǎn)品特征Sapphire Sim Utility具備以下特征使得SIM卡的管理變得簡(jiǎn)易簡(jiǎn)單:
- 發(fā)起呼叫
- 往SIM卡上添加
- 更新SIM卡上的
- 刪除SIN卡上的
- 開啟/關(guān)閉固定號(hào)碼撥號(hào)
- 輸入PIN和PIN2碼
實(shí)例代碼 - 該操作是如此簡(jiǎn)單的,您只需在您的程序中聲明相應(yīng)的DLL函數(shù)即可,就像在用戶的應(yīng)用程序之內(nèi)的功能;呼叫它就像用戶自己寫入一樣。如下是一個(gè)演示實(shí)例,它展示了如何發(fā)起呼叫、如何列出SIM卡的表以及如何存儲(chǔ)。
Public Sub MakeCall(ByVal sPhoneNumber As String)
SIMMakeCall(sPhoneNumber, SapphireSIMLicence)
End Sub
Public Sub ListPhoneNumbers(ByRef iEntries As Integer, _ByVal iLocation As Integer, _ByRef sPhoneNames As String, _ByRef sPhoneNumbers As String)
Dim sListPhoneNames As String
Dim sListPhoneNumbers As String sListPhoneNames = Space(1024)
sListPhoneNumbers = Space(1024)
sSIMListPhoneNumbers(iEntries, _iLocation, _sListPhoneNames, _sListPhoneNumbers, _SapphireSIMLicence)
sPhoneNames = StripString(sListPhoneNames)
sPhoneNumbers = StripString(sListPhoneNumbers)
End
Sub Public Sub WritePhoneNumber(ByVal iIndex As Integer, _ByVal iLocation As Integer, _ByVal sPhoneName As String, _ByVal sPhoneNumber As String)
UnlockPIN("123456", "")
sSIMWritePhoneNumber(iIndex, _iLocation, _sPhoneName, _sPhoneNumber, _SapphireSIMLicence)
End Sub
Product Features
The Sapphire Sim Utility makes SIM card management easy with the following features:
- Make a phone call
- Add a contact to the SIM card
- Update a contact on the SIM card
- Delete a contract form the SIM card
- Enable or disable fixed dialling
- Enter PIN and PIN2 numbers
Sample Code
- Implementation couldn’t be easier, simply declare the DLL function as a function within your application and call it as though you wrote it yourself. Here’s a sample demo to show how to make a call, list the SIM card phone numbers and to store a phone number.
Public Sub MakeCall(ByVal sPhoneNumber As String)
SIMMakeCall(sPhoneNumber, SapphireSIMLicence)
End Sub
Public Sub ListPhoneNumbers(ByRef iEntries As Integer, _ByVal iLocation As Integer, _ByRef sPhoneNames As String, _ByRef sPhoneNumbers As String)
Dim sListPhoneNames As String
Dim sListPhoneNumbers As String sListPhoneNames = Space(1024)
sListPhoneNumbers = Space(1024)
sSIMListPhoneNumbers(iEntries, _iLocation, _sListPhoneNames, _sListPhoneNumbers, _SapphireSIMLicence)
sPhoneNames = StripString(sListPhoneNames)
sPhoneNumbers = StripString(sListPhoneNumbers)
End
Sub Public Sub WritePhoneNumber(ByVal iIndex As Integer, _ByVal iLocation As Integer, _ByVal sPhoneName As String, _ByVal sPhoneNumber As String)
UnlockPIN("123456", "")
sSIMWritePhoneNumber(iIndex, _iLocation, _sPhoneName, _sPhoneNumber, _SapphireSIMLicence)
End Sub