- 博客(3)
- 资源 (3)
- 收藏
- 关注
原创 inputStream 和FileInputStream 转换
在读取/data/data/appnamexxx/files/xxx.xx 时遇到这样的问题读取的文件类型是 xml 需要的接口是InputStream 但是this.openFileInput("blog.xml"); 返回的是FileInputStream ,于是想将 FileInputStream 转换成InputStream 然后再进行操作网上查得,
2015-04-08 14:35:42
26946
原创 android 智能电视 listview 顺序错乱
最近发现listview 填充好之后总是顺序错了为了解决这个问题参考网上的思路解决办法 ImageView imageView = null; TextView textView2_appname = null; int index; try { index = (Integer) convertView.getTag(); }
2015-03-30 18:07:10
606
原创 Android GridView 智能电视焦点移动
今天解决了几个问题1、GridView 获取焦点的时候放大效果,使用的接口private void startAnimation(View view) {if(view ==null){return;}AnimationSet animationSet = new AnimationSet(true);if (manimationSet != null && man
2015-03-30 14:23:39
707
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人