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

Log Applications which have accessed the Camera and Microphone #17

Open
4 tasks
NitishGadangi opened this issue Sep 25, 2020 · 8 comments
Open
4 tasks
Labels
enhancement New feature or request hacktoberfest Open for contributions as a part of Hacktoberfest 2020

Comments

@NitishGadangi
Copy link
Owner

  • Add a new tab in the Navigation bar
  • Log all the App details and their Camera and Microphone usage stats
  • option to clear logs
  • option to disable the feature as a whole

Open for contributions

@NitishGadangi NitishGadangi added enhancement New feature or request hacktoberfest Open for contributions as a part of Hacktoberfest 2020 labels Sep 25, 2020
@HristianIliev
Copy link

Can I take this up?

@NitishGadangi
Copy link
Owner Author

@HristianIliev sure 👍

@HristianIliev
Copy link

Ok thank you starting asap

@HristianIliev
Copy link

D you know whether tracking which application accessed the Camera and MIcrophone is possible at all, because after some research I don't think it is.

@NitishGadangi
Copy link
Owner Author

NitishGadangi commented Sep 26, 2020

There is possibility, but dont know how good it works.
We can track apps which are currently in stack. So I guess based on it, we can track the app which is currently accessing the Camera.

I will try to attach relevant resources, if I find any.

@HristianIliev
Copy link

Unfortunately, I am not able to see where we have access to the current application that is using the camera. We only know at any given time whether the came is in use or not. Pleae correct me if I am wrong.

@HristianIliev HristianIliev removed their assignment Sep 28, 2020
@beardofbeespool
Copy link

Unfortunately, I am not able to see where we have access to the current application that is using the camera. We only know at any given time whether the came is in use or not. Pleae correct me if I am wrong.

It looks like this app in the play store is logging the apps that use the camera / mic. But maybe it's misleading. It is up on GitHub. So maybe something can be gleened from there.

https://play.google.com/store/apps/details?id=com.aravi.dotpro

https://github.com/kamaravichow/safe-dot-android

@ThatIsAPseudo
Copy link

From here and here it looks like the app accessing the microphone/camera triggers an AccessibilityEvent from which the PackageName of the app can be obtained through the method accessibilityEvent.getPackageName().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest Open for contributions as a part of Hacktoberfest 2020
Projects
None yet
Development

No branches or pull requests

4 participants