代码拉取完成,页面将自动刷新
Ayant besoin d'un extracteur d'archive (ZIP / RAR / 7z) pour un projet personnel sur la plateforme Android 2.2, je vous partage la librairie que j'ai créée afin de répondre à mes besoins. Je la distribue sous la license LGPL 2.1
J'utilise les projets andro7z et unrar dans le code de ma libraire.
Needing a lib for extract archive file (ZIP / RAR / 7z)for a personal project on the Android 2.2 platform, I created and share my personnal library. My library is share in the LGPL 2.1
I'm using the andro7z project and the unrar project for coding my library.
try {
ExtractFile ef = new ExtractFile(context app, archive file, output directory);
ef.exec();
} catch (IOException e) {
Log.e("Extract error", e.getMessage());
}
<uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_OWNER_DATA" />
<uses-permission android:name="android.permission.WRITE_OWNER_DATA" />
<uses-permission android:name="android.permission.CLEAR_APP_CACHE" />
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。