So, how can somebody set the permissions correctly , without having to
use the shell?

On Jun 1, 12:42 pm, Magic <[email protected]> wrote:
> Hello,
>
> 1.videoview
> I found that it is not a path lenth issue
> but a file permission issue
> If I change the /data/data/com.abc.android.abcd/content/
> Transformers.mp4  to 777  by adb shell
> it can be played.
> and if the file permission is 600, it cannot be played
>
> 2.jpeg
> I dont know why, it now seems ok.
>
> On 5月28日, 午後5:06, Magic <[email protected]> wrote:
>
> > VideoView cannot playlongpathvideo 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 [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