termux / termux/termux-api

termux-open does nothing

Open
#91 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
4.3k
Forks
920
PR merge metrics
No merged PRs in 30d

Description

termux-open-url works fine, but termux-open does nothing. No output and the $status is 0.

There is a small delay though. I tried a png, a jpg and a txt, in ~/ and in /.

I'm not sure what additional diagnostic to provide.

Termux version:
<=0.48
Installed Termux apps:
Updatable packages:
All packages up to date
System information:
Linux localhost 3.18.14-10780217 #1 SMP PREEMPT Fri Feb 24 13:45:03 KST 2017 aarch64 Android
Termux-packages arch:
aarch64
Android version:
7.0
Device manufacturer:
samsung
Device model:
SM-G935W8

Also, running termux-info also printed:

android.os.DeadObjectException: Transaction failed on small parcel; remote process probably died
    at android.os.BinderProxy.transactNative(Native Method)
    at android.os.BinderProxy.transact(Binder.java:628)
    at android.os.BinderProxy.shellCommand(Binder.java:675)
    at com.android.commands.pm.Pm.runShellCommand(Pm.java:295)
    at com.android.commands.pm.Pm.runList(Pm.java:644)
    at com.android.commands.pm.Pm.run(Pm.java:130)
    at com.android.commands.pm.Pm.main(Pm.java:99)
    at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
    at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:301)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with termux-open on the reported PNG, JPG, and TXT files, comparing it with termux-open-url. Check the termux-info output and Android 7.0 behavior for diagnostic clues. Done means termux-open reports or launches the appropriate handler instead of silently returning status 0.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
cli, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.