
Android
Android_gb
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
android中 onResume()方法什么时候执行?
onResume是在启动activity启动之后才能执行的,也就是恢复执行。程序正常启动:onCreate()->onStart()->onResume();正常退出:onPause()->onStop()->onDestory();程序按back 退出:onPause()->onStop()->onDestory(), 再进入:o...原创 2018-03-27 20:58:22 · 4940 阅读 · 0 评论 -
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 · 2443 阅读 · 0 评论