代码
try { SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Date parse = format.parse(time); SystemClock.setCurrentTimeMillis(parse.getTime()); } catch (ParseException e) { e.printStackTrace(); }
需要的权限
先普通签名打包然后运行下行代码 进行系统签名
系统签名 上面的platform.pk8 platform.x509.pem signapk.jar 网上都有 但是每个机型都有误差 ,不一定好使
http://www.cnblogs.com/Free-Thinker/p/6627813.html 这个博客看着挺好的