这是indexloc提供的服务,不要输入任何密码
Skip to content

[Quick question] Apk calls Termux-app #1434

@klango

Description

@klango

Hi Community I have a quick question,
could I write an ordinary apk that calls one of the termux app with a specific parameter? Lets say I have a native Apk in java, I open it and once I click a button it calls an termux app as string for instance ls -la.
Can it be done with termux-api? Or rather not, (just Termux-api calling Android OS) since command line binaries are standalone and executed outside of Android runtime context.

Reference implementation
Does another app/terminal emulator have this feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions