C#
iPhoneがUSBケーブル/ iTunesを介してWindows PCに接続されていると仮定して、を使用してiPhoneの連絡先リストを読み取り/編集できるかどうかを知っている人はいますか?
1790 次
2 に答える
0
iPhoneの接続には、CFManzana / ManazaまたはMobileDevice dllを使用できます。以下は、その方法の例です。
// this variable will be declared in your class .
public static string devicename;
CFManzana.iDevice
phone = New iDevice();
phone.connect += phone_connect;
void phone_connect(object sender, ConnectEventArgs args)
{
// here your will add your exception handling details.
}
// now extract your device details.
devicename = phone.getDeviceName or phone.CopyValue("DeviceName"); \\it all depends what version of Manzana you have downloaded.
//now assign the value to the field
this.txtname.text = devicename;
于 2013-01-17T11:27:22.487 に答える