In android Arabic, the motion track image is edited in the Image Library, and a green image is displayed in the animation.

Source: Internet
Author: User

In android Arabic, the motion track image is edited in the Image Library, and a green image is displayed in the animation.
1. In Arabic, take a motion track picture in camera,
2. slide into the image library to view the image. On the preview page, a "+" button is displayed in the lower-right corner of the image box. click the button and press the Arabic button in the upper-right corner to return to the animation preview page.
3. view the track animation and find that the green pattern is displayed at the beginning, and then it becomes the scene, and a green image appears in the middle.
Modify as follows:
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:
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); // modify
}
SetIgnoreThumbnail (true );
}

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.