// This Handler class should be static or leaks might occur: IncomingHandler@SuppressLint("HandlerLeak")privateHandlermHandler=newHandler(){@OverridepublicvoidhandleMessage(Messagemsg){};};
// To get local formatting use getDateInstance(), getDateTimeInstance(), or// getTimeInstance(), or use new SimpleDateFormat(String template, Locale// locale) with for example Locale.US for ASCII dates.@SuppressLint("SimpleDateFormat")SimpleDateFormatsimpleDateFormat=newSimpleDateFormat("yyyy-MM-ddHH:mm:ss");