android 11 修改相机照片的标题(如型号+日期时间)

2021-07-25 00:00:00 修改 日期 型号

packages/apps/Camera2

— a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -408,13 +408,13 @@
     <string name=”spaceIsLow_content” product=”default”>Your device is running out of space. Change the quality setting or delete some images or other files.</string>
 
     <!– Camera format string for new image files. Passed to java.text.SimpleDateFormat. –>
–    <string name=”image_file_name_format” translatable=”false”>”‘IMG’_yyyyMMdd_HHmmss”</string>
+    <string name=”image_file_name_format” translatable=”false”>”‘YQ10S’_yyyyMMdd_HHmmss”</string>
 
     <!– Video Camera format string for new video files. Passed to java.text.SimpleDateFormat. –>
–    <string name=”video_file_name_format” translatable=”false”>”‘VID’_yyyyMMdd_HHmmss”</string>
+    <string name=”video_file_name_format” translatable=”false”>”‘YQ10S’_yyyyMMdd_HHmmss”</string>
 
     <!– Filename prefix for panorama output. –>
–    <string name=”pano_file_name_format” translatable=”false”>”‘PANO’_yyyyMMdd_HHmmss”</string>
+    <string name=”pano_file_name_format” translatable=”false”>”‘YQ10S’_yyyyMMdd_HHmmss”</string>
 
     <!– The message shown when video record reaches size limit. –>

    原文作者:qq_24523791
    原文地址: https://blog.csdn.net/qq_24523791/article/details/123876793
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。

相关文章