Friday, May 28, 2010

[android-developers] VideoView cannot play long path video

VideoView cannot play long path video issue: Bug#8699

enviroment: Platform 2.0 simulator and G2 H/W.

If
setVideoPath("/data/data/com.abc.android.abcd/Transformers.mp4");

It can play well.

While, If
setVideoPath("/data/data/com.abc.android.abcd/content/
Transformers.mp4");

It cannot play.

Btw: familiar things occured when I display the jpeg file

bit = BitmapFactory.decodeFile(fileName);
mImgView.setImageBitmap(bit);

If the fileName is /data/data/com.abc.android.abcd/content/2.jpeg
It cannot display

While, If the fileName is /data/data/com.abc.android.abcd/2.jpeg
It display well.

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate