In situ synthesis of porous array films on a filament induced micro-gap electrode pair and their use as resistance-type gas sensors with enhanced performances.