Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I want to write a program to work with my usb port(windows).I don't know how to say this but this is how it should work.The program should run(that's should be the first thing [before virus guard ask whether this flash drive should scan]) when a flash drive or a external hard drive plugin to a usb port. I'm not talking about auto run.How can I do that.
You need to use Library called WinUSB on windows
https://msdn.microsoft.com/en-us/library/windows/hardware/dn303342(v=vs.85).aspx
for MAC OSX(MAC OS)
https://developer.apple.com/library/mac/documentation/DeviceDrivers/Conceptual/USBBook/USBIntro/USBIntro.html
for Linux Note also cross platform
http://libusb.info/
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 11 months ago.
Improve this question
I am a beginner in programming Android applications in Java. I want to know how to control or change something, for example, cut off the Internet on another application. Is there a way or suggestion. Thank you
I don't think it's possible unless you are the developer of both and remove the permission for both apps, see: Can an app give its permission to another application in android?
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I wrote a java application whit my windows Pc. When i try the same application on a MAC Pc i had this error: "can't be opened because it is from an unidentified developer".
I tried looking for this problem on Google and I read that this option can be
disable, but i dont wanna do it. How can i fix this problem? Should I buy a licence or somethink like that?
Based on this post on the Apple Support forum, it appears that you must enroll in the Apple Developer Program to become an identified developer. This will get you a Developer ID certificate from Apple that will cause your app to be recognized by Gatekeeper as having come from an identified developer.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I'm trying to create an android application to scan other applications for viruses, or malicious code etc. But to begin with, I'm trying to figure out how existing anti-virus scanning systems operate.
I don't think its rooting, because there are a lot of anti viruses that don't need rooting. If I have to guess, I would say it scans the files for signature. And they access the files similar to how file explorers work. Someone more knowledgeable can correct me.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I would like to get informations about a Zwave usb key in java, to access to its functions because I would like to write a program who can handle different connected devices using Zwave network.
Someone have an idea to get access to this informations and functions in Java ?
(Sorry if there are some misunderstanding in my sentences, I'm not English)
There are 2 frameworks to access USB devices in Java. Both wrap native libraries. One is specifically for HID devices (not sure of this applies to ZWave). I dont know if they have all the features required to speak to your zWave devices, but they would be the first thing to try.
http://www.usb4java.org
https://code.google.com/p/javahidapi/
Both implement the JSR-80 javax.usb API (which might be too high level).
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I want to create a website for users to upload videos, but I want to do some compression/conversion on the client-side first before actually uploading to my servers. This should cut down on upload times I hope.
My inital thought is to make a Java Applet, since I imagine Flash wouldn't have ffmpeg on the client-side. I'm not sure what version of Java to use, or whether to use Java Web FX. I haven't touched Java in years, so I don't even know what IDE or SDK to use (I'm on a Mac).