Wednesday, June 22, 2011

[android-developers] How to play large size video from sdcard in android

Hello sir,

Good evening,

I am playing video from sdcard and also getting meta data for that
video by this code

==========video playing code==============


video.setVideoPath(path);


video.setVisibility(1);
video.canSeekBackward();
video.canSeekForward();
video.setMediaController(new MediaController(this));
video.requestFocus();

video.start();


when i am trying to play large video then getting exception
outofmemory.

Please help me how to resolve this issue in android, i am trying from
two days, but not greeting any related solution on developer site.


Please help me
Thanks,


Naveen Kumar shrivastva

9555674501

--
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

No comments:

Post a Comment