We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature description
Is it possible to make termux start in the foreground? The reason why I am asking is that camera and a few other sensitive things do not work from background processes started with the BOOT_COMPLETED broadcast, See this: https://stackoverflow.com/questions/70412543/start-camera-from-foreground-service-if-start-activities-from-background-granted/
I found a way which I posted there, but it only works with root access.
The text was updated successfully, but these errors were encountered:
Actually, I found that you don't even need root. "am start com.termux/.app.TermuxActivity" in the startup script would do it.
Sorry, something went wrong.
No branches or pull requests
Feature description
Is it possible to make termux start in the foreground? The reason why I am asking is that camera and a few other sensitive things do not work from background processes started with the BOOT_COMPLETED broadcast, See this: https://stackoverflow.com/questions/70412543/start-camera-from-foreground-service-if-start-activities-from-background-granted/
I found a way which I posted there, but it only works with root access.
The text was updated successfully, but these errors were encountered: