Skip to content
New issue

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

Check automatically when the permission is granted #99

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

D4rkia
Copy link

@D4rkia D4rkia commented Jan 4, 2021

Just two simple loop to check if sndcpy MainActivity is started and then ended, to automate the startup process.
This doesn't require user intervention so now sndcpy can be used without showing any terminal.

It uses dumpsys so it should be pretty standard.

I can't edit the .bat file right now so this only works on the linux version, if someone could write the code for the windows .bat file i'll appreciate it, otherwise i'll do it but it may not be very soon.

@astromark
Copy link

Thanks. This works well for me.

PedroG022 added a commit to PedroG022/sndcpy that referenced this pull request Apr 3, 2021
Based on: rom1v#99 but whit the .bat file
Not 100% perfect but works fine.
@MartinCiro
Copy link

Hola, no genera conflicto alguno, sin embargo he creado una version del sndcpy que no requiere validacion directa desde la consola, funciona bien en linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants