To start controlling the fly you will need to adopt good housekeeping of fallen damaged fruit (including from neighbours yards), this must be destroyed - don't compost it or bury it in the garden as this will only aid the development of the fly. I have been freezing damaged fruits, but generally a good method is to put the fruit into a black plastic garbage bag or the like and leave it in the full sun for a day or 2 to cook the fruit thus killing the fly larva. Here is a recipe to use in your fruit fly traps:
1 litre of water, 2 cups of urine, 3 teaspoons vanilla essence, 1 teaspoon vegemite, 1 cup sugar
Mix ingredients together - pour about 1 or 2 cups of ingredient into each trap, place traps in and around fruit trees etc. Renew the solution each 10 days.
Use mixes of either of the following or all of the following - the more the merrier:
place in trap bottles and replace every 2 weeks….. or
you could buy from your local produce agency a fruit fly wick or 2 or 3 traps can be made from 2 and 1.25 ltr clear plastic drink bottles.
Mix in a container 1 gallon white vinegar (3.78 ltr), 1 cup table salt, and 1 tablespoon dishwashing liquid together and spray on weeds. To mix, remove approximately 2 cups of vinegar from the container, pour in the salt and dishwashing liquid, then return the 2 cups of vinegar to the container. Close the lid and shake to mix. Transfer to a spray bottle (after shaking to mix the ingredients) as needed. It works as well, if not better, than chemicals, but is much cheaper. Be careful, it will kill whatever you spray it on! If you purchase vinegar, 10% acidity is ok, 20% acid would be better, and spraying it on the weeds in the heat of the full sun, you will have an effective weed killer.