简体   繁体   English

当访问网络摄像头时通知的桌面程序

[英]Desktop Program That Notifies When Web Cam Is Being Accessed

I'm trying to find a developer to write a desktop program that has a pretty basic function. 我试图找到一个开发人员来编写具有基本功能的桌面程序。 It will notify users, via some dialog (or alert) that some program is about to access the web cam . 它将通过一些对话框(或警报)通知用户某些程序即将访问网络摄像头 It could be skype or facetime, or whatever it is, the program should be aware of when the OS's camera is going to be accessed and notify the user. 可能是Skype或FaceTime,或者无论是什么时候,程序都应该知道何时将要访问OS的摄像头并通知用户。 Yes, even if the user is initiating the camera themselves via Skype, the notification would still appear. 是的,即使用户正在通过Skype自行启动摄像机,该通知仍会出现。

My question is this. 我的问题是这个。 If I need this program written in Java, is it possible? 如果我需要用Java编写的程序,可以吗? Obviously I am trying to get it done in Java so it would run on Windows and Mac. 显然,我正在尝试用Java完成它,以便它可以在Windows Mac上运行。

If it is not possible, then it seems as though I'd have to write 2 separate programs on Windows and Mac. 如果不可能,那么好像我不得不在Windows和Mac上编写2个单独的程序。

I've come here to get suggestions so that I can connect with the right developers. 我来这里是为了获得建议,以便我可以与合适的开发人员联系。 If you have any suggestions, I'd be happy to hear them. 如果您有任何建议,我很乐意听到。 Thanks! 谢谢!

No, you can't write this in Java. 不,您不能用Java编写此代码。 Whatever approach you take will be very system-specific (and will probably require enhanced privileges). 无论采用哪种方法,都是非常特定于系统的(并且可能需要增强的特权)。 You could write a JNI library and a Java interface, but it'd probably be about the same amount of trouble to write programs to the native UI libraries. 您可以编写一个JNI库和一个Java接口,但是将程序编写到本机UI库的麻烦可能差不多。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM