Android code for the alerter app