- 博客(2)
- 收藏
- 关注
原创 androoid char[]转byte[]
char[] cs = new char[] { 'a', 'b', 'c', 'd', 'e', 'f', 'g' };//要转换的char数组2种方法: 1.String str = new String(cs); byte[] bs = str.getBytes(); //转换过来的byte数组 2. byte[] bs2 = new by...
2018-04-18 11:58:50
2412
原创 android中 onResume()方法什么时候执行?
onResume是在启动activity启动之后才能执行的,也就是恢复执行。程序正常启动:onCreate()->onStart()->onResume();正常退出:onPause()->onStop()->onDestory();程序按back 退出:onPause()->onStop()->onDestory(), 再进入:o...
2018-03-27 20:58:22
4884
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人