把毫秒转换成时间
/**
* 转变从GPS获取到的long类型的微秒转换到时分秒的形式
*
* @param time
* @return
*/
private static String getTimeFromGPS() {
SimpleDateFormat sdf = new SimpleDateFormat("HHmmss", Locale.CHINA);
Date m_date = new Date();
Calendar c = Calendar.getInstance();
c.setTime(m_date);
long lMill = c.getTimeInMillis();
c.setTimeInMillis(lMill);
return sdf.format(c.getTime());
}