A ratiometric multicolor fluorescence biosensor for visual detection of alkaline phosphatase activity via a smartphone.