for the MIDP1.0, which class to use for alarm application?