Skip to content
This repository was archived by the owner on Nov 14, 2023. It is now read-only.

Commit c7f1af3

Browse files
committed
Update README.md
1 parent e04f319 commit c7f1af3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,21 +212,21 @@ Always do this. It is sometimes critically important to disconnect the camera wh
212212

213213
Captures are saved to `<location>/<subdir>/<name>.jpg` or `.mp4`.
214214

215-
The default values are as follows. On a desktop `<location>` is `.`, on Android `<location>` is `DCIM/<appname>`. The value of `<subdir>` is the current date, the format is 'YYYY_MM_DD'. The value of `<name>` is the current time, the format is 'hh_mm_ss_xx' (xx is 1/100 sec).
215+
The default values are as follows. On a desktop `<location>` is the current directory `.`, on Android `<location>` is `DCIM/<appname>`. The value of `<subdir>` is the current date, the format is 'YYYY_MM_DD'. The value of `<name>` is the current time, the format is 'hh_mm_ss_xx' (xx is 1/100 sec).
216216

217217
The [filepath_callback](https://github.com/Android-for-Python/Camera4Kivy#filepath_callback) reports the actual path for a particular capture.
218218

219219
Be aware that on Android >= 10 shared storage files are saved in a database, called MediaStore, and not in a file system. The characteristics of Android storage are outside the scope of this document.
220220

221-
The values of `<location>`, `<subdir>`, `<name>` can be modified with optional keyword arguments:
221+
The values of `<location>`, `<subdir>`, and `<name>` can be modified with optional keyword arguments:
222222

223223
##### location :
224224

225225
The value replaces the default value of `<location>`.
226226

227227
On a desktop the value is directory that must exist.
228228

229-
On Android the value can only be 'shared' or 'private', other values are ignored. The value 'shared' specifies Android shared storage `DCIM/<appname>` (this is also the default). The value 'private' specifies app local storage `app_storage_path()/DCIM`. If you want a different location use 'private' and move the resulting file based on the path provided by filepath_callback.
229+
On Android the value can only be `'shared'` or `'private'`, other values are ignored. The value `'shared'` specifies Android shared storage `DCIM/<appname>` (this is also the default). The value `'private'` specifies app local storage `app_storage_path()/DCIM`. If you want a different location use 'private' and move the resulting file based on the path provided by filepath_callback.
230230

231231
##### subdir
232232

0 commit comments

Comments
 (0)