Asian farmers have been keeping fruit flies at bay for 70 years or more using the simple, if rather labor intensive, technique of bagging the fruit in situ. Yields of such crops as mangoes, melons, and cucumbers rose between 40 and 58 percent using this technique.