Skip to content

Commit 227f00e

Browse files
committed
Update README & Gradle config
Signed-off-by: Fung Gwo <fython@163.com>
1 parent 54077a6 commit 227f00e

5 files changed

Lines changed: 88 additions & 21 deletions

File tree

PRIVACY.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
According to Google Play Store Developers Policy, we will state the scope and usage of permissions.
2+
3+
## Storage
4+
5+
Read media files chosen by users and send files to target social apps as result.
6+
7+
## Camera
8+
9+
Allow users to take photos as result.
10+
11+
## Storage Redirect
12+
13+
Get redirect configuration to ensure that target apps can receive result normally.

README-en.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
SAF Enhancer Lite | SAF 增强器 Lite
2+
3+
----
4+
5+
[中文 README](./README.md)
6+
7+
Help applications which does not support Storage Access Framework (like WeChat) to
8+
choose media from Android Documents UI.
9+
10+
## What it can do?
11+
12+
Handle capture request from apps and respond with media files chosen in Android Documents UI so
13+
that apps which does not support Storage Access Framework can also choose media from
14+
documents provider.
15+
16+
## How to use.
17+
18+
1. Download pre-built package from
19+
[GitHub Releases](https://github.com/fython-tools/DocUIProxy-Android/releases)
20+
or clone and compile it by yourself.
21+
2. Open "SAF Enhancer Lite" to make some initial setup:
22+
a. Grant necessary permission, or media chosen result cannot be received by apps.
23+
b. Choose apps which should be handled. (Default: WeChat only)
24+
c. If you also use "Storage Redirect" or operation system is Android Q+,
25+
please follow tips in UI and do some settings.
26+
3. Click button which calls camera apps in your apps. Choose "SAF Enhancer Lite" and then you
27+
can choose media files from Documents UI. (You can also make it as default. We allow users to
28+
pick a real camera app when SAFEnhancer is called by apps.)
29+
30+
When you are using WeChat:
31+
After finishing 1 & 2 step, click "Gallery" button in the more banner of chat interface.
32+
It will pop-up a chooser to pick a camera app. Please choose "SAF Enhancer Lite" in that dialog.
33+
Choose media files you want, result will be sent to WeChat.
34+
35+
## Demo video
36+
37+
[https://www.youtube.com/watch?v=R29z_ZaQN3Y](https://www.youtube.com/watch?v=R29z_ZaQN3Y)
38+
39+
## Contact author
40+
41+
Telegram @fython
42+
43+
## Licenses
44+
45+
GPL v3

README.md

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,40 @@
1-
SAF Enhancer Lite
1+
SAF Enhancer Lite | SAF 增强器 Lite
2+
23
----
34

4-
Help applications that haven't supported Storage Access Framework (like WeChat)
5-
to pick media from Android Documents UI
5+
[English README](./README-en.md)
6+
7+
帮助不支持 Storage Access Framework 的应用程序(例如微信)通过 Android 文档界面选择媒体
8+
9+
## 它可以做什么?
610

7-
## What can it do?
11+
处理应用的拍摄请求并将从 Android 文档界面所选择的媒体文件作为结果回应,从而使得本身不支持
12+
Storage Access Framework 的应用程序也可以支持在文档界面中选择媒体。
813

9-
Handle camera actions and response with media files from Android Documents UI
10-
when selected applications requests a photo.
14+
## 如何使用?
1115

12-
## How to use?
16+
1.[GitHub Releases](https://github.com/fython-tools/DocUIProxy-Android/releases) 下载预编译
17+
包,或者自行 Clone 项目下来进行编译。
18+
2. 打开 “SAF 增强器 Lite” 进行必要的设置。
19+
a. 赋予必要的存储权限,否则选择媒体文件后无法将结果传递给应用。
20+
b. 选择要被处理的应用,默认只有微信会被处理。
21+
c. 如果你还使用了 “存储重定向” 或操作系统是 Android Q 或更新的版本,请根据界面内提示进行设定。
22+
3. 在你的应用内按下可以打开系统相机的按钮,选择 “SAF 增强器 Lite”,即可从 Android 文档界面中选择
23+
媒体文件。(你可以直接设定为默认值,我们还允许其它应用调用 SAF 增强器时继续使用真实的相机应用。)
1324

14-
1. Download pre-complied package from [GitHub Releases](https://github.com/fython-tools/DocUIProxy-Android/releases) or compile by yourself.
15-
2. Long press "Gallery" (相册/相簿) button in the bottom bar of chat pages.
16-
3. Choose "SAF Enhancer Lite" (You can also make it as default.
17-
Because we allow other applications to use a real camera app when they are calling proxy camera.)
18-
4. Here you can see a familiar Documents UI. Just pick photos from local storage or any cloud drive
19-
supported DocumentsProvider (like Google Photos, Google Drive, etc.)
25+
以微信为例:
26+
按照 1、2 步骤进行后,
27+
在聊天界面的更多栏中长按 “相册/相簿” 按钮,会弹出默认相机选择,请选择 “SAF 增强器 Lite”,
28+
根据你的需求选择媒体图片,将会成功返回到微信的准备发送界面。
2029

21-
## Demo video
30+
## 演示视频
2231

2332
[https://www.youtube.com/watch?v=R29z_ZaQN3Y](https://www.youtube.com/watch?v=R29z_ZaQN3Y)
2433

25-
## Contact author
34+
## 联系作者
2635

2736
Telegram @fython
2837

29-
## Licenses
38+
## 许可证
3039

3140
GPL v3

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ ext {
55
minSdkVersion = 21
66

77
// Project version
8-
versionName = '1.2.0'
9-
versionCode = 3
8+
versionName = '1.2.1'
9+
versionCode = 4
1010
}
1111

1212
buildscript {
13-
ext.androidPluginVersion = '3.3.2'
13+
ext.androidPluginVersion = '3.4.0'
1414

1515
repositories {
1616
google()
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Sun Mar 31 14:17:21 CST 2019
1+
#Sun Apr 21 16:45:48 CST 2019
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip

0 commit comments

Comments
 (0)