Take a temporarily control of the system using Java
I have developed an app for showing some information to the employees of a company. One 开发者_开发知识库of the specification was that this information must be seen at least 1 time by the employee once a while. For this purpose, I want to take the maximum control of the system for a while (10 seconds) for being sure the person sees the information. Ej: turn off the keywords and other stuff. This is my first question: Is there any classes in Java which let me do this sorts of things? In the case there isn't, is there another way, how would yo do it?
Thanks in advance!
You will need to use native code for this. Either just develop the application in some native language such as C or C++ or create a JNI DLL in C/C++ and call it from java (which is rather pointless).
You can run your app in full screen. Thus overlay all other apps.
精彩评论