Hi,
I have a mapping of files and devies, as of now its one-to-one mapping.
Now I need to implement one-to-many mapping(single file to multiple devices)
my logic for one-to-one mapping is
I have tried different ways which are not supporting my one-to-many mapping
1. I tried to loop through devices to map filess
2. tried to cut the
string value of devices to map files
current output
--------------
devices :[1.2:SonyEricsson X10i, 1:Samsung I9000 Galaxy, 0.3:Motorola Droid Milestone, 0:Acer C6, 0.1:HTC Magic]
params files from screen :[0:TheSims3.apk, 1:Tetris.apk]
device mapping :[Acer C6:TheSims3.apk, Samsung I9000 Galaxy:Tetris.apk]
what I want is :
[Acer C6:TheSims3.apk, Samsung I9000 Galaxy:Tetris.apk, SonyEricsson X10i:Tetris.apk, HTC Magic:TheSims3.apk]
Thanks in advance for any help.