Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
I've just started to use Webcam Capture and found out that after starting Webcam class the searching of the devices never ends. How is it possible to stop it?
It depends what do you mean that "searching of the devices never ends". Does it hang or simply search new device again and again?
In first case, when search devices hangs, you should fill new bug ticket on the Webcam Capture github project page. There was a bug which caused devices search to fail and it was already fixed, so if you are using 0.3.10-RC6, you should not observe it. If you are using this version and problem still persist, then again, please fill the bug report and wait for the response from the developers. Link to fill new bug report (don't forget to include logs from console):
https://github.com/sarxos/webcam-capture/issues/new
In second case, if you mean that search new devices is executed again and again, and you see same message in the log from SLF4J every 3 seconds, then you simply have to disable webcam discovery service. From the Webcam Capture API Handbook for version 0.3.10 (page 20):
WebcamDiscoveryService discovery = Webcam.getDiscoveryService();
discovery.stop();
I hope this information can help you.
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
I am a beginner in Android ,I am playing video using URL in my android app but the video is not streaming that much fast as compare to other app like showbox .l had also used different url but the result is same . Please help .
It depends on your internet speed and the server response you are using. ShowBox must be using it's own dedicated server, but maybe you are using a third party server that is not so fast.
Another cause in the speed difference can be the size and the quality of video. A video with low quality will take less time to load as compared to a video with high quality.
There is a solution that can work, you have to keep saving packets of data in cache and keep playing the video from cache. In this way App will take some time to start the video but after that it will be working with speed. It's just a small push to your streaming but mainly it depends on the server.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
i want to disable notifications coming from other apps like Facebook and other apps.
I know it is possible because the Notifications Off app has this functionality.
Actually, you could achieve this (for API level 18+) with the new NotificationListenerService and the appropriate permissions.
You can use getActiveNotifications() to get the list of current notifications in the device, and then cancelNotification() to close them individually or cancelAllNotifications() to remove them all at once.
So you could be notified (heh) as soon as a notification arrives, then dismiss it if it's from one of these "blocked" applications.
You can't, unless you have root or your code runs with system/phone app process id. The app you linked to in your question requires root.
In case you have root and are not afraid to use reflection to access hidden methods, you can examine how App Settings enables/disables notifications for a package.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions must demonstrate a minimal understanding of the problem being solved. Tell us what you've tried to do, why it didn't work, and how it should work. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I want to know how to Stop User to Capture Screen or Download Encrypted Video in Windows.
I tried hard but nothing found.
can DRM help me???
I do not think there is any way to prevent screen capturing. Screen capturing is like recording signals being sent to the monitor or display. Some or the other way people can find ways to record either using screen capture software or by recording output from the monitor wires.
*One possible strategy to prevent "Downloading Encrypted Video" is below: *
If you have lately observed youtube on a low speed network, you can see that the player does not load the entire video. It loads one section at a time and once the video has played till a particular point it loads the next section and so on so forth. May before loading the next section you may adopt a security measure so that the video is never downloaded fully.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
It seems the Sun URL is finally broken: http://bugs.sun.com/
though it's still mentioned at:
http://www.oracle.com/technetwork/java/javase/community/index.html
I could still file a bug at: http://bugreport.sun.com/bugreport/
But even the link in the mail mentions: http://bugs.sun.com/
Has anybody found the new link?
UPDATE Use this link: https://bugs.openjdk.java.net/ - bug numbers preserved!
For filling bug reports, the right URL really is http://bugreport.sun.com/bugreport/.
To search/browse the bug database, you can use the Oracle Search site function. If you try it, you'll see that every answer points to http://bugs.sun.com (such as this), and when you go there, the page does not open.
It is out (pointing to the main Oracle site when you go to it), but this doesn't seem like an intended behavior (aka feels like this is not supposed to be happening).
If the site really went out, an approach is to check http://web.archive.org and check the last date they got to that URL (if they ever got to it). Google search cache is also a good one. Right now, the google cache of bugs.sun.com points to 9/mai/2013. So this is very recent.
Note:
When this question was posted, the URL http://bugs.sun.com was out (pointing to Oracle's main site, as said above). Fortunately, it got back working while we were discussing.
So... it works now: http://bugs.sun.com
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I saw many programms in Android Market which allow to download video from Youtube. Now I must create programm for download video from Youtube, but I don't know how to do it. Can you help me? Thank you for, anyway.
Well first of all. Stackoverflow is mostly used for question. No one here will write a complete app for you, well the majority will probably not do that.
Second, you might want to look at YouTubes ToS:
5L:
you agree not to access Content or any reason other than your personal, non-commercial use solely as intended through and permitted by the normal functionality of the Service, and solely for Streaming. "Streaming" means a contemporaneous digital transmission of the material by YouTube via the Internet to a user operated Internet enabled device in such a manner that the data is intended for real-time viewing and not intended to be downloaded (either permanently or temporarily), copied, stored, or redistributed by the user.
5M:
You shall not copy, reproduce, distribute, transmit, broadcast,
display, sell, license, or otherwise exploit any Content for any other
purposes without the prior written consent of YouTube or the
respective licensors of the Content.
So please come back with questions that we can answer.
You should probably check out http://sourceforge.net/projects/ytd2/ and http://www.google.com/support/forum/p/youtube/thread?tid=28e5b81a75f31def&hl=en