设为首页 加入收藏

TOP

Android之zip文件加密解压及进度条的实现(二)
2014-11-23 17:50:32 来源: 作者: 【 】 浏览:77
Tags:Android zip 文件 加密 解压 进度 实现
DLING:
{
Bundle bundle=msg.getData();
int percent=bundle.getInt(CompressKeys.PERCENT);
setTitle(percent+"%");
break;
}
case CompressStatus.ERROR:
{
Bundle bundle=msg.getData();
String error=bundle.getString(CompressKeys.ERROR);
_info_textView.setText(error);
break;
}
case CompressStatus.COMPLETED:
{
setTitle("Completed");
byte[] data=FileSp.read(tempFilePath);
try {
String dataStr=new String(data,"UTF-8");
_info_textView.setText(dataStr);
} catch (UnsupportedEncodingException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
break;
}
default:
break;
}

};
};
}


下面是效果图


Android之zip文件加密解压及进度条的实现


首页 上一页 1 2 下一页 尾页 2/2/2
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇zip4j -- Java处理zip压缩文件的.. 下一篇libiconv字符集转换库使用方法

评论

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