android 阿拉伯语下,图库中编辑运动轨迹图片,动画中会显示绿色的图片
Posted wzjhoutai
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了android 阿拉伯语下,图库中编辑运动轨迹图片,动画中会显示绿色的图片相关的知识,希望对你有一定的参考价值。
alps/packages/apps/Camera/src/com/android/camera/FileSaver.java
1:import java.util.Locale;
2:modify the function:
public void refactoerTitle() {
......
if (mTag != INTERMEDIA_IMAGE) {
// if the data is InterMedia file,the file name not
// have the index
mTitle += String.format("%02d", mIndex);
}
setIgnoreThumbnail(true);
}
changed to :
public void refactoerTitle() {
......
if (mTag != INTERMEDIA_IMAGE) {
// if the data is InterMedia file,the file name not
// have the index
mTitle += String.format(Locale.ENGLISH, "%02d", mIndex); //here need to change
}
setIgnoreThumbnail(true);
}
1:import java.util.Locale;
2:modify the function:
public void refactoerTitle() {
......
if (mTag != INTERMEDIA_IMAGE) {
// if the data is InterMedia file,the file name not
// have the index
mTitle += String.format("%02d", mIndex);
}
setIgnoreThumbnail(true);
}
changed to :
public void refactoerTitle() {
......
if (mTag != INTERMEDIA_IMAGE) {
// if the data is InterMedia file,the file name not
// have the index
mTitle += String.format(Locale.ENGLISH, "%02d", mIndex); //here need to change
}
setIgnoreThumbnail(true);
}
以上是关于android 阿拉伯语下,图库中编辑运动轨迹图片,动画中会显示绿色的图片的主要内容,如果未能解决你的问题,请参考以下文章
Android百度地图:百度地图画运动轨迹及图层点击事件处理