On Thu, May 21, 2009 at 12:56 PM, arnouf <[email protected]> wrote:
>
> Thanks for your help...I did a lot of changes but it was something
> like that
> vv = (VideoView) findViewById(R.id.videoSpace);
> mp = new MediaPlayer();
>
> try {
> AssetFileDescriptor afd = getAssets().openFd("techno-chicken.
> 3gp");
> mp.setDataSource(afd.getFileDescriptor());
Try:
mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(),
afd.getLength());
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---