MuntashirAkon / unapkm-android

A utility app to convert apkm files to apks on Android.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UnApkm Android

A utility app to convert apkm files to apks on Android.

Objectives:

  • To work as a utility app to convert apkm to apks
  • To provide an interface to apps such as App Manager which can use the app as an extension

To use the app, open an apkm file using UnApkm from your favourite file manager. You will be prompted for a save location.

Get it on F-Droid

Quick start

Install

UnApkm for Android is available via JitPack.

// Top level build file
repositories {
    maven { url "https://jitpack.io" }
}

// Add to dependencies section
dependencies {
    implementation 'com.github.MuntashirAkon:unapkm-android:1.2'
}

Example usage

See the example module for a working example.

// You can also use InputStream but make sure that it's not a PipedInputStream or a pipe created by
// ParcelFileDescriptor#createPipe().
ParcelFileDescriptor inputPdf = ...;
OutputStream outputStream = ...;
// Service connection is handled automatically in the constructor, be sure to run it in a worker thread
UnApkm unApkm = new UnApkm(MainActivity.this, UN_APKM_PKG);
// Decrypt the APKM file
unApkm.decryptFile(descriptor, outputStream);

Credits

About

A utility app to convert apkm files to apks on Android.

License:GNU General Public License v3.0


Languages

Language:Java 100.0%