android 视频文件不能进行幻灯片的播放
packages\apps\Gallery2\src\com\android\gallery3d\app\SlideshowPage.java中:
1、加入:
import com.android.gallery3d.data.FilterSource;//added byMTK for alps00999947
2、 initializeData()方法中:
private void initializeData(Bundle data) {
...
String mediaPath = data.getString(KEY_SET_PATH);
//added by MTK for alps00999947 start
mediaPath = mediaPath.replace(FilterSource.FILTER_CAMERA_SHORTCUT + ",", "");
// mediaPath = FilterUtils.newFilterPath(mediaPath, FilterUtils.FILTER_IMAGE_ONLY);
//added by MTk for alps00999947 end
MediaSet mediaSet = null;
...
}
1、加入:
import com.android.gallery3d.data.FilterSource;//added byMTK for alps00999947
2、 initializeData()方法中:
private void initializeData(Bundle data) {
...
String mediaPath = data.getString(KEY_SET_PATH);
//added by MTK for alps00999947 start
mediaPath = mediaPath.replace(FilterSource.FILTER_CAMERA_SHORTCUT + ",", "");
// mediaPath = FilterUtils.newFilterPath(mediaPath, FilterUtils.FILTER_IMAGE_ONLY);
//added by MTk for alps00999947 end
MediaSet mediaSet = null;
...
}