Can't take screen capture

by » Sat, 07 Mar 2009 11:00:00 GMT

Sponsored Links
 I'm having trouble getting a screenshot. I installed the SDk,
Eclipse, the drivers, enable usb debugging, like the instructions say.
I open DDMS and it recognizes my phone without any problems. When I
try to do a screen capture, it says screen not available. In the
command box it says "timeout" and "truncated reply from ADB fb data".
Does anyone know what I'm doing wrong?

My phone isn't rooted and is running RC33. I'm running windows vista
on my computer.

Any help would be greatly appreciated. Thanks.
Reply With Quote


Other Threads

1. camera.setparameters are not having any effect in android 1.6 any one succeeded ????

may i know why the camera.setparameters does not have any effect ?

When i am capturing and storing as jpg file its giving 1280 * 960
( large resolution ) pictures file but in real that picture is not
having that resolution.

did any one tried to set the resolution ( camera parameters ) on
android 1.6 ....

I am more blocked here . i am always getting a file of nearly 500 K to
670 K bytes for a one frame / picture

I like to reduce it below < 65 K. I am using a logitec quick cam

Trying the following

1.  changing the resolution in lower layer like
But in 1.6 this file is not there . only camerastub.cpp .... are
there . i dont know where to change ?

2. i come to know here the lower version cameradevice class is not
available. only camera class available .  Is there any api which will
resize the same to my requirement? '

3. Or going for a android version after 1.6 which will give the
support of changing resolution ?

Expecting some one's help

regards ,

Please help me as early as possible.


2. Better way for getting MIME type from a file (in the File System)?


I am using the following code:

                String type = null;
                if (fileUrl != null) {

                        try {
                                URL url = new URL("file:/"+fileUrl);
                                URLConnection urlConnection = null;
                                urlConnection = url.openConnection();
                                type = urlConnection.getContentType();
                        } catch (MalformedURLException e) {
                                Log.e(Constants.TAG, "Error when getting MIME 
type for " +
fileUrl, e);
                        } catch (IOException e) {
                                Log.e(Constants.TAG, "Error when getting MIME 
type for " +
fileUrl, e);
                return type;

It doesn't seem to be much efficient performance wise.

I tried that one here, but it didn't work on the emulator (haven't
tried it on any device though).

FileNameMap fileNameMap = URLConnection.getFileNameMap();
String type =  fileNameMap.getContentTypeFor("file:/"+fileUrl);

Do you guy have any other suggestions?



3. Bitmap size exceeds VM's Budget

4. Looking for Android plugin for NetBeans 6.8 ?

5. Resources$NotFoundException when trying to load string array into ArrayAdapter

6. Testing Android applications using JPF

7. How can I force User data to be deleted on application upgrade?