#4723[Fix]: Share data between Termux and Android applications
Issue Details
Problem description
Hello,
I've got this issue at a certain point one year ago when I started publishing DogeOS cross-platform videogames packages, i.e. packages which seamlessly build on Termux, Arch Linux and Windows using a single build script and which are published on the Ur, the uncensorable undeletable application store, which is hopefully going to convince all maintainers of the aforementioned environments to stop working for free while still releasing sources with a copyleft license, such that I noticed (obviously) other Android applications can't access Termux storage unless than through Android mechanisms.
As a workaround for this issue I've written a program called termux-install-shared
, included in the latest version of reallymakepkg
, the program which builds cross-platform Ur packages in place of makepkg
.
In practice it installs data in an application-specific Android shared directory while linking to it at the correct termux data location. This way one can for example share icon files between freedesktop-compatible launchers and android-compotible termux shortcut launchers.
So nothing, I wanted to report it exists as it solves quite a tricky issue one had to deal with manually and per-package up to now. Normally I would have directly sent a package integration merge request, but at the same time I'm also selling the application on the store, which by the way its currently the only application store for Termux.
I'm also working on integrating standard linux applications into android (yeah before google), as in each application gets its own window and its undistinguishable from Android apps, which I'm very near to complete.
In that regard I'd like to likely discuss if there's a way to have that into Termux for users to enjoy, as it's very probably a much requested feature, but keeping on this silly requirement I have that people pay me for my work.
Some contributors have suggested to have the store included in base packages, still I'm not quite sure how that can work well until Termux will ship with apt, as debian packages doesn't seem to me aren't built cross-platform very easily on-device.
The idea of having to make a paid better Termux and call it DogeOS Android base instead of just 'merging' the two and have its contributors get paid for their work I frankly don't like much.
Steps to reproduce the behavior.
Use an intent to open a termux file results in access denied.
What is the expected behavior?
The same one gets when using termux-open
(from which you should remove the xdg-open
provides/symlink as it conflicts with FreeDesktop one).
System information
- Termux application version: latest
- Android OS version: DogeOS
- Device model: Human Instrumentality Project 00, 01 and 02