设为首页 加入收藏

TOP

Android文件管理器的源码实现(三)
2014-11-24 12:23:34 来源: 作者: 【 】 浏览:5
Tags:Android 文件管理器 源码 实现
holder.title.setText((String) Data.get(position).get("title"));
holder.info.setText((String) mData.get(position).get("info"));
return convertView;
}
}

private void finishWithResult(String path) {
Bundle conData = new Bundle();
conData.putString("results", "Thanks Thanks");
Intent intent = new Intent(); // 以intent的方式将结果返回调用类
intent.putExtras(conData);
Uri startDir = Uri.fromFile(new File(path));
intent.setDataAndType(startDir,
"vnd.android.cursor.dir/lysesoft.andexplorer.file");
setResult(RESULT_OK, intent);
finish();
}
};


首页 上一页 1 2 3 下一页 尾页 3/3/3
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Android图片大小调整动态实现方法 下一篇Android中对大图的处理的实现和分..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·TCP/UDP协议_百度百科 (2025-12-26 12:20:11)
·什么是TCP和UDP协议 (2025-12-26 12:20:09)
·TCP和UDP详解 (非常 (2025-12-26 12:20:06)
·Python 教程 - W3Sch (2025-12-26 12:00:51)
·Python基础教程,Pyt (2025-12-26 12:00:48)