oops sorry this reply took so long. i use natural castille soap, like dr. bronners. in a shallow dish mix about 3 tablespoons of soap with equal parts of white vinegar and sugar. you can also stir in a few tablespoons of water to help with dissolving the sugar. best of luck.
Those are some big fruit flies! Mine are ... very different, more like gnat size. I also only get them if I have bruised or rotting fruit around. However, in the past, I have used the vinegar solution very effectively.
I have those little net tents that I got in Bed Bath and Beyond and I use them to cover my fruit bowls. If they sit on top trying to get in I use a mini dyson cleaner to suck them up. They survive the sucking and I can go outside ant unclip the lid and set them free.
Any vacume cleaner will pick them up but that is the only one that will set them free afterwards.
Esmee, I have to buy alot of fruit at a time because of my family size and because I live where there is only grocery store for 25 miles. So I found that Gardens Alive (www.gardensalive.com) has fruit fly trap - it sounds similar to what someone else talked about making yourself. You buy the traps and the solution. And they WORK very very well. I have three traps and I do not have any trouble unless the kiddies don't take up the compost on hot days right away - fruit flies love melon rinds. So you could try that. Worked for me.