My first experience with fruit flies was in college. I had a crazy (wonderfully good crazy) professor who taught a great class called Science for Elementary Education (or something like that). We basically created a habitat for fruit flies and then invited them to come live in our 2-liter bottles.
My next experience was not so contained. When we returned from our honeymoon, our apartment had fruit flies. The source? A shoulder bag I had used for school...and the RIPE banana inside of it.
A couple weeks ago we had fruit flies. I actually started using my garbage disposal on a daily basis because of those pesky flies.
Right about that time, a friend mentioned that she had success using vinegar to remove fruit flies. Thank you, Stephanie!! I decided to try it, too. I put one drop of dish detergent in a little bowl of vinegar.
The nasty pests would visit the bowl, but they didn't drown. So I put plastic wrap on it and poked holes in it. This was even less effective. But I knew Stephanie and others had had success with vinegar, so I took off the plastic wrap.
The next morning I took this picture. (The vinegar seemed to turn cloudy.)
The little dears finally drowned! I had victory...at least over some of them. It took a while, but they are gone!