Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Can we check which installed apps are using camera and microphone using corona(by only using lua)?
Started by Rohi Oct 13 2018 05:50 AM

5 replies to this topic
lua corona
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

Rohi

[GLOBAL: userInfoPane.html]
Rohi
  • Observer

  • 4 posts
  • Corona SDK

I want to create an app which checks which available apps are using camera or microphone and display the list of it on the app screen.And which app uses most of camera/microphone.

Can any one please help me in this?

 



[TOPIC: post.html]
#2

XeduR @Spyric

[GLOBAL: userInfoPane.html]
XeduR @Spyric
  • Contributor

  • 189 posts
  • Corona SDK

I don't think you can create an app like that and why would you need to?

On iOS, for instance, you can already check all apps that can use camera, microphone, etc. in your privacy settings. You can also enable or disable access from those apps. I'm not sure how Android handles this.



[TOPIC: post.html]
#3

Rohi

[GLOBAL: userInfoPane.html]
Rohi
  • Observer

  • 4 posts
  • Corona SDK

Thanks for your reply,

Actually this is a task given to me where user can see which app is accessing their camera. Yes, it is similar to iOS.

Do you think whether we can do this by corona. If not in Android, then how in iOS?



[TOPIC: post.html]
#4

Rohi

[GLOBAL: userInfoPane.html]
Rohi
  • Observer

  • 4 posts
  • Corona SDK

Also, if any app uses microphone or camera then our app will notify on screen.
  • Rohi likes this

[TOPIC: post.html]
#5

XeduR @Spyric

[GLOBAL: userInfoPane.html]
XeduR @Spyric
  • Contributor

  • 189 posts
  • Corona SDK

If it can be done, it would have to be done in native. Finding a list of all installed apps might be doable, it at least used to be, but I am not at all confident if you can actually find out about what permissions they have, i.e. is a specific app using the camera/microphone or not on both iOS and Android. I'm even more skeptic about an app actually actively monitoring other apps permissions and notifying on any changes.



[TOPIC: post.html]
#6

Rohi

[GLOBAL: userInfoPane.html]
Rohi
  • Observer

  • 4 posts
  • Corona SDK

I give it a try
Thanks


[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: lua, corona