gbox-sdk
    Preparing search index...
    interface InstallAndroidPkgByURL {
        apk: string;
        open?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    apk: string

    HTTP URL to download APK file or ZIP archive (max file size: 512MB).

    Single APK mode (automatically detected):

    • Provide URL to a single APK file
    • System will automatically detect .apk extension and install as single APK
    • Example: https://example.com/app.apk

    Multi-APK mode (automatically detected):

    • Provide URL to a ZIP archive containing multiple APK files
    • System will automatically detect .zip extension and install all APKs inside
    • ZIP filename example: com.reddit.frontpage-gplay.zip
    • ZIP contents example:

    com.reddit.frontpage-gplay.zip └── com.reddit.frontpage-gplay/ (folder) ├── reddit-base.apk (base APK) ├── reddit-arm64.apk (architecture-specific) ├── reddit-en.apk (language pack) └── reddit-mdpi.apk (density-specific resources)

    This is commonly used for split APKs where different components are separated by architecture, language, or screen density.

    open?: boolean

    Whether to open the app after installation. Will find and launch the launcher activity of the installed app. If there are multiple launcher activities, only one will be opened. If the installed APK has no launcher activity, this parameter will have no effect.