Home > Mobile >  How do I language based on mobile phones and switched systems album display name
How do I language based on mobile phones and switched systems album display name

Time:10-11

App saves photos to mobile phone functions that are simple, and successful album pictures displayed in the system by way of radio,
But the problem is that the system shown in the photo album album name, can only is my storage folder name, can you tell me how to modify?
For example, is the photo storage path for the/MNT/sdcard/test/1. JPG, but expect mobile phone system under the Chinese language, the system shown in the photo album "test", under the English show "test
Consult everybody, how great god by code?
PS: I found WeChat, weibo implements the function of this,

CodePudding user response:

You store path to use resource files,
For example,
Chinese values - useful - rCN/strings. The XML & lt; String name="path" & gt; Chinese store path & lt;/string>
English values - en - rUS/strings. The XML & lt; String name="path" & gt; USPath

CodePudding user response:

Isn't that will come out two folders,,, the purpose is to no matter what I need, documents were stored in a folder,,, only photo album display name change system

CodePudding user response:

Folder name have never seen a Chinese, photo album that is the manufacturer's application, what you see is the name of the manufacturer, larger companies and manufacturers have cooperation,
  • Related