PNG blank when I try to take a screenshot of my application
Hello
I used this code example to add a feature to 'take screenshot' my application:
http://supportforums.BlackBerry.com/T5/Java-development/capture-and-save-a-screen-shot/Ta-p/445212
But every time that I test, it creates a file Blank.png.
I tried a lot of different combinations, tried to put the class and the function in another file, call the functions of different parts of the code, but nothing seems to happen.
I use the VGField class, do you think that this could be the problem?
What other options I have to take a screenshot?
Thanks to you all!
I may be wrong here, but I think that if you take a page and user has not authorized your application for the screenshots, you will get an empty Bitmap and the user will be prompted to enable it. the following screen shot will work, assuming that the user allowed him and only him is not asked again. So try to do it twice!
Your code work on the Simulator?
Tags: BlackBerry Developers
Similar Questions
-
I hear an error when you try to take a screenshot
Since I had to use the site Web of ProctorU to take an online test, I was not able to take screenshots. I use "command, shift, 4" and who is always worked so far. I get an error message just the sound of "bum" when you can't do something. Don't know how to solve this problem. Thanks in advance
This site may have remapped the keys so that you couldn't take screenshots and shared the information with others.
Check system--> keyboard-shortcuts-> screenshots > preferences to ensure that key combination is selected.
-
When I try to take a video with my webcam a message "locked by another application." I do not know and can not find which app has locked. I can't find anywhere, do anything to solve this problem.
Hello
1. which version of the operating system you are using on the computer?
2. What is the brand and model of the web cam?
3. don't you make changes on the computer before the show?
4. is it a built-in or external webcam?
Method 1:
You can perform a clean boot and check if it helps:
How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
http://support.Microsoft.com/kb/929135
Note: After a repair, be sure to set the computer to start as usual as mentioned in step 7 in the Knowledge Base article.
Method 2:
You can also uninstall all software associated with webcam like yahoo messenger or anything else.
Then install a unique program for the web camera and check if it works.
Method 3:
You can also update the latest drivers for the web cam on the manufacturer's Web site and check.
http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly -
Windows XP keeps going blank when you try to watch anything
Or someone has encountered this problem lately? My PC with XP husband continues to go blank when you try to watch anything. He did this during the last weeks. The small shop next to us can not find the problem. XP cannot update everything allows us to look at anything even on youtube? Any suggestion? Chantal
Hello and thanks for the advice. Unfortunately system restore did not go far enough. BUT I found a way. I downloaded google chrome and since it works... why not with IE or Firefox is a mystery to me, but now it works... Thanks again for the advice.
Chantal
-
I just bought PS13 and cannot download it. IM on a MAC, when I try it takes me to a new screen that says 413 header too long. Any suggestions?
Thank you!
Clear your browser's cache and cookies.
Or use another browser.
-
What can I do to fix this?
Silverlight does not work in Internet Explorer 8, when I try to install it it says, the application is already installed, but it does not appear in the Add/Remove Programs dialog box. What can I do to fix this?
Thank you for your help
JH
I was able to install it, I downloaded again the installation of Silverlight and it took.
Thanks for your help
JH
-
When I try to use my Microsoft Photo ITI application I get an error of "Microsoft Visual C++ Runtime Library"
no error number. Microsoft Visual C++ Runtime Library program: Microsoft Picture It 2002\pip.exeI am using Microsoft Windows XP Home Edition Version 2002
Service Pack 3The program stops. It seems that I've adjusted started to have this problem after I had upgraded my browser from Internet 8.
When I try to use my Microsoft Photo ITI application I get an error of "Microsoft Visual C++ Runtime Library"
no error number. Microsoft Visual C++ Runtime Library program: Microsoft Picture It 2002\pip.exeI am using Microsoft Windows XP Home Edition Version 2002
Service Pack 3The program stops. It seems that I've adjusted started to have this problem after I had upgraded my browser from Internet 8.
========================================
Might be interesting to try to download and install the following scroll:Picture It! Publishing 2002:
Patch for 19299 (PI19299.exe)
http://tinyurl.com/dfeq28
or...
http://www.Microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=0fb68178-d6bd-41BD-9f00-f44ac7ca9e28
John Inzer - MS - MVP - digital media experience -
This is a double post of a following:
-
When I try to open the Solution Explorer, another application opens.
Recently I started having this problem where, when I try to open any item Panel or the window of the Explorer, one application other that Explorer would open. At first, it was PakkISO that would open up. I noticed when I tried to open my trash and a command line window popped up. I tried right clicking on the Recycle Bin and clicking on 'Open', but the option was not there. Instead, the first item in the context menu has been 'PakkISO '. So I uninstalled PakkISO. Now, instead of PakkISO, Sandboxie opens when I try to open Solution Explorer, and it is also replaced PakkISO in the context menu.
At first, I thought that it might be a file system error, so I ran a disk check, but that did not work. This seems to be a registry error, which I can have when I used Revo or IObit Uninstaller, but I have no idea how to solve this problem. I can't use system restore because for some reason any that it won't keep more than one restore point and I just created a restore point when I used Revo Uninstaller to remove PakkISO.
I noticed that the issue of context menu does not affect my shortcuts in the control panel or the control panel link on the start menu.
How can I fix it?
Hi Ian,
I suggest you upgrade on site. To perform an upgrade in-place, you need to have the Windows 7 installation disc.
How to perform an upgrade on the spot on Windows Vista, Windows 7, Windows Server 2008 & Windows Server 2008 R2
http://support.Microsoft.com/kb/2255099
Note: don't forget to back up data that you want to keep before you start, because there could be a risk of data loss.
-
Hello. I need help as soon as POSSIBLE, when click on my first adobe, it says "the application is unable to start correctly 0xc000007b" I need major help as soon as POSSIBLE - does anyone know how to solve this?
... 07 b problems http://forums.adobe.com/thread/1355374?tstart=0
-
When you try to take a picture I get this message "some thing went wrong all by taking this photo"
ORIGINAL TITLE: they won't let me take pictures on my laptop with windows 8
It keeps saying some 'thing was bad all by taking this picture' so I removed the camera and then installed it again and it did not a difference, what should I do when I install another app that takes pictures it still wont allow you to take a picture :/
Have you turned off UAC? Try to turn it back on.
Because Windows 8 applications require UAC to be turned on to work properly.
I had the same thing, could not take pictures or video when I had disabled UAC. Turned it back and everything started working again.
-
My laptop is a Lenovo Ideapad S405 with Windows 8. The webcam is an Image easy Lenovo is manufactured by Vimicro and is built into my laptop. Whenever I try to click to take a picture, an error message pops up that says "something was wrong all by taking this picture. Another strange thing is that four of the videos that I have taken are listed in the film, but is not graphic and cannot be played. All my photos and my previous videos are always good. I looked at the videos before and they were still there, but now they are gone. I did not any changes to settings or anything else on my computer and Control Panel seems to think that the device still works. I tried to update my computer with Windows updates, but nothing works. I also discovered that my photos folder is no longer work and Windows said it can be removed safely. I can't access my photos, music or videos. I think the problem might be that my photos have no place to be stored, but I need to know how to solve this problem.
Thank you
QuartzCanteloupeI found a solution to my problem! In another post, someone had the same message about how the library.ms could be deleted, but it was empty. They removed the libraries by clicking the option libraries from left to right, and then click. I then clicked on "restore deleted files" and my folders returned with the restored elements. I could then take pictures and videos because they had a place to be stored.
Thank you
QuartzCanteloupe -
I used to be able to use the camera on my web cam, but now it does not work...
Don't know why...
He tells me that the file does not exist... Don't take the pic is also my microphone does not work either
Hello
1. What is the brand and model of the computer number?
2 did you change on your computer?
I suggest you to update the drivers for the webcam and check.
Updated a hardware driver that is not working properly
I also suggest you to perform the system restore and check.
System Restore: frequently asked questions
http://Windows.Microsoft.com/en-us/Windows7/system-restore-frequently-asked-questions
-
When I try and upload a screenshot on a Web site nothing happens, why?
On two separate sites, I'm trying to upload a screenshot saved in my documents. When I click on the download button on the site of the option to browse file does not appear. I've done several times in the past without problem so do not know what to do now. Thank you
Hello
Is happening in only Internet Explore or chrome or Mozilla?
Try resetting IE
- Quit all programs, including Internet Explorer.
- If you use Windows 7 or Windows Vista, click Start. Type the following command in the Start Search box and press ENTER:Inetcpl.cpl
The Internet Options dialog box appears.
- Click the Advanced tab.
- Under settings reset Internet Explorer, click reset. Then click reset again.
Click to select the Remove personal settings check box if you also want to delete the browsing history, search providers, accelerators, home pages, the Tracking and ActiveX filtering of data protection.
- When Internet Explorer finishes resetting settings, click close in the Reset Internet Explorer settings dialog.
- Restart the download of Internet Explorer again.and
If you use chrome rest and reset Mozilla also
-
IExplorer 8 causes error "the application could not initialize properly (0xc0000005)."
Hello
I use Windows XP and make regular updates. I use a firewall, Windows Defender, virusprotection, etc and I don't surf _ or download strange apps.
Whenever I try to open 8 IExplorer, it gives me an error "the application could not initialize properly (0xc0000005)."
Any ideas how I can fix explore?
You use XP, but post in a forum of Vista, and Internet Explorer has an own forum. Please ask here.
Internet Explorer Forum
http://social.answers.Microsoft.com/forums/en-us/InternetExplorer/threadsBruce Hagen
MS - MVP October 1, 2004 ~ September 30, 2010
Imperial Beach, CA
Maybe you are looking for
-
Why not list not refresh?
Sometimes the email list when I go from one folder to the other fails to refresh. If I move the mouse on the list in the new folder will update it but not always completely.Figure 1 shows the displayed e-mail CAD folder BUT the "Input" folder below i
-
Where is the button of my video download Youtube add on?
Some time (one year or more) ago, I installed a Youtube, download video add on.(In previous versions of Firefox) it has a download button specific you could push to select and start downloading a video. This button is somehow disappeared (I guess tha
-
Error 2013 CVI: the compiler has run out of memory.
Hello I get this error in a source file, I want to debug: 1, 1 Error: The compiler has run out of memory. 1, 1 Note: You may be able to work around the problem: 1, 1 A. Set the debugging level to 'no run-time checking'. 1, 1 B. Split your source file
-
«Location is not available ~ access denied»
When I try to open a variety of files in Windows Vista using the offers, I get the followiong: ' there is no location ~ access denied» This occurs when you try to open the following files only: data of the Application; Cookies; Local settings; My D
-
Captivate 8: captioning covered by the PlayBar
Not doing anything fancy here.I have a project imported from PowerPoint with slide notes I've marked for captioning. I'm using the default playback bar. The project size is 1200 X 900.When I saw it, it reads as follows:How can I fix this? Thank you!