Capturing Screenshots on Sprint HTC Hero (Problems)

by Sidepart » Tue, 10 Nov 2009 02:08:09 GMT


Sponsored Links
 I've seen a few guides around that show that people are able to
capture screenshots of their phone using the Android SDK tool 'ddms'.
I personally haven't been able to accomplish this successfully.  I've
tried it on 5 different computers running Windows XP Pro, and also
with Windows Vista Business and Windows 7 Pro.  Each time I'm met with
the following:

Phone is recognized in ddms.  I try to capture the screen, the
screenshot box comes up and says "screen is not available".

The ddms console window shows "W/ddms: got partial reply from ADB fb:"
and then dumps a bunch of zeros on the next line (HEX patterns I
believe).

I KNOW some of you have been able to capture screens with the Sprint
HTC Hero.  If that's the case, let's see some information here to try
and troubleshoot this.  Post operating systems, SDK versions, java
versions, and maybe any identifying things about your HTC Hero (Evdo
Rev. A or 0?  I don't think it'd matter though).

 Here are a few things I've tried:

1. Several different computers.
2. All 3 32-bit Windows Operating Systems.
3. Rebooting the phone while connected to the PC.
4. Removing the HTC USB driver and installing the one included with
the SDK.
5. Factory resetting my phone (in case an app was causing a problem).

I really want to see if this is a common issue.  App developers need
to be able to make these kinds of screen captures, and so do people
who run websites and perform other types of press work.  I know there
are a few programs out there that screen capture if you root your
device.  I haven't really found a reliable guide for rooting the Hero
and I would prefer not to void a warranty here.

--



Other Threads

1. javax.microedition.khronos.egl.EGLConfig

sorry, I have a problem
---------------------------------

target Java: Camera (out/target/common/obj/APPS/Camera_intermediates/
classes)
packages/apps/Camera/src/com/android/camera/ui/GLRootView.java:41:
cannot access javax.microedition.khronos.egl.EGLConfig
bad class file: javax/microedition/khronos/egl/EGLConfig.class(javax/
microedition/khronos/egl:EGLConfig.class)
unable to access file: corrupted zip file
Please remove or make sure it appears in the correct subdirectory of
the classpath.
import javax.microedition.khronos.egl.EGLConfig;
                                     ^
make: *** [out/target/common/obj/APPS/Camera_intermediates/classes-
full-debug.jar] Error 41

------------------------------------------------------------------------------
Can anyone help me?

-- 

2. Problems in Downloading Videos and Images hand in hand

Hi All,

I am currently working on a project, that requires video and images to
be downloaded and displayed hand in hand.

Here is the exact scenario:
*********************************
1. Parse an XML file for getting a video url.

2. Parse the same XML file for getting urls of some images associated
with that video and the start time of each of those images. The start
time specifies the time when the image should be displayed over the
video.

3. Once the parsing is done, play the video and display the images
associated it on top of that video meeting the following requirements:
        1. Each of the image needs to be displayed based on its start time
        2. All the images needs to be displayed before the video ends.

For example, lets consider the following case:
        - video duration is 10 seconds
        - image X1's start time is 0
        - image X2's start time is 5
In this case, we have to display the image X1 as soon as the video
play starts (first frame displays), and display image X2 at the 5th
second of the video.

NOTE: Each of the image is around a few KBs only.

I am able to achieve the functionality, if I start the video play
after downloading all the images. But this introduces some noticeable
delays in starting the video which is a problem.

Trying to download the images using AsyncTask (or) using a new thread
in order to avoid the delay in video start also doesn't seem to work
as expected. In that case, the image download stalls and then
continues only after the video ends.

I am using a VideoView (attached to a FrameLayout, say F1) for playing
the video and a RelativeLayout (attached to the same FrameLayout, F1)
for displaying the images.

Can anybody suggest me a solution for handling this scenario? Its very
urgent as I have to meet some deadlines.

Thanks,
Darshan.


-- 

3. Local Search on google maps

4. Weird stuttering issue.

5. Desire ROM Gingerbread

6. Cost effectiveness of JSON in Android

7. How to determine why app was restarted