View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0012471 | MMW v4 | Framework: Scripts/Extensions | public | 2015-01-05 21:27 | 2015-01-28 00:08 |
Reporter | Ludek | Assigned To | |||
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 4.1 | ||||
Target Version | 4.1.6 | Fixed in Version | 4.1.6 | ||
Summary | 0012471: Issue with SDB.Device.HandledDeviceList | ||||
Description | Reported by user from ticket #BHZ-912-95744 : I have an Android phone with a SD card in it. MM reports it as 2 devices (as below) and allows me to sync to each "device". SPH-L710 - Phone SPH-L710 - Card But when I use the scripting function, "Set list = SDB.Device.HandledDeviceList" I have a problem. The function returns a list of 2 device Ids as: 0:14b57303!USB@\\?\usb#vid_04e8&pid_6860#14b57303#{f33fdc04-d1ac-4e8e-9a30-19bbd4b108ae}$0 0:14b57303!USB@\\?\usb#vid_04e8&pid_6860#14b57303#{f33fdc04-d1ac-4e8e-9a30-19bbd4b108ae}$1 But the "Device Handle" is the same for both devices. And since most of the scripting functions to sync require a device handle, I can't get to both the phone and the card. | ||||
Additional Information | #BHZ-912-95744 | ||||
Tags | No tags attached. | ||||
Fixed in build | 1728 | ||||
|
Hi, I have just tested this and I see the same with my Samsung Galaxy S3. Test code: Dim list : Set list = SDB.Device.HandledDeviceList If list.Count = 0 Then Call SDB.MessageBox( "No connected device", mtError, Array(mbOk)) Exit Sub End If Dim txt Dim i : i = 0 For i = 0 To list.Count-1 txt = SDB.Device.Caption( list.DeviceHandle(i)) Call SDB.MessageBox( txt, mtInformation, Array(mbOk)) Next |
|
Fixed in 4.1.6.1726 |
|
Verified 1726 |
|
User from the ticket #BHZ-912-95744 indicated that it still does not work for him. Fixed in 1728 and confirmed via the ticket #BHZ-912-95744 |
|
Verified 1728 using users example from ticket. |