首页 > 代码库 > android 阿拉伯语下,图库中编辑运动轨迹图片,动画中会显示绿色的图片
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 阿拉伯语下,图库中编辑运动轨迹图片,动画中会显示绿色的图片
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。