Я бы хотел использовать класс ZipFile для распаковки файла, используя его имя из архива нескольких файлов. Как получить строку с именем файла zip и каталогом для передачи конструктору ZipFile?
ZipFile
Вы можете использовать AssetManager и ZipInputStream http://developer.android.com/reference/android/content/res/AssetManager.html
ZipInputStream in = null; try { final String zipPath = "data/sample.zip"; // Context.getAssets() in = new ZipInputStream(getAssets().open(zipPath)); for (ZipEntry entry = in.getNextEntry(); entry != null; entry = in.getNextEntry()) { // handle the zip entry } } catch (IOException e) { Log.e(TAG, e.getMessage()); } finally { try { if (in != null) { in.close(); } } catch (IOException ignored) { } in = null; }