We report a versatile biofunctional subwavelength photonic device platform for real-time detection of biological molecules. Our devices contain lipid bilayer membranes fused onto metal oxide nanowire waveguides stretched across polymeric flow channels. The lipid bilayers incorporating target receptors are submersed in the propagating evanescent field of the optical cavity. We show that the lipid bilayers in our devices are continuous, have very high mobile fraction, and are resistant to fouling. We also demonstrate that our platform allows rapid membrane exchange. Finally we use this device for detection of specific DNA sequences in solution by anchoring complementary DNA target strands in the lipid bilayer. This evanescent wave sensing architecture holds great potential for portable, all-optical detection systems