Hi I am using the MediaPlayer API (1.5 version) in android.  I have
successfully gotten the Motorola Droid on Verizon to work well with
the video both in terms of positioning and getting the picture to
appear at all.  However, the same code, using the same application
with the same video source, does not display the video on EVO 4G on
Sprint.

The video documentation is very limited, and I struggled for 2 weeks
to get the Droid to work.  What I noticed was that after the surface
is allocated, and after MediaPlayer.prepareAsync() and its
corresponding listener onPrepare indicates that it is ready, I check
the value of MediaPlayer.getVideoHeight and MediaPlayer.getVideoWidth,
and on the EVO they are 0,0, whereas on the Droid it is the size of
the video, that is non-zero.  So I hardcoded some values instead of
the 0,0, and  I got at least a black background on my display where
the video should be, but no video yet.

 Are there documented difference between android devices that I need
to be aware of in terms of handling video?  I was hoping that by
figuring out one device would allow me to use the same code across all
devices.

Any suggestions on this problem will be appreciated.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to