Android Arabic, in the gallery edit the motion track picture, the animation will show the green picture

Source: Internet
Author: User
Tags locale

1. Under the Arabic language, take a picture of a motion path in camera,
2. Slide into the gallery to view this picture, in the preview screen, the bottom right corner of the frame will have a "+" button, click on the button, and then press the Arabic button in the upper right corner, back to the motion trajectory animation preview screen
3. Look at the trajectory animation, found that the first show is the green pattern, and then become the scene, green image in the middle
Modify the following:
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
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
The index
Mtitle + = String.Format (Locale.english, "%02d", Mindex); Modify
}
Setignorethumbnail (TRUE);
}

Android Arabic, in the gallery edit the motion track picture, the animation will show the green picture

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.