Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法筛选出.apk的文件 #56

Open
ainiyiwan opened this issue Oct 31, 2019 · 1 comment
Open

无法筛选出.apk的文件 #56

ainiyiwan opened this issue Oct 31, 2019 · 1 comment

Comments

@ainiyiwan
Copy link

new LFilePicker()
.withActivity(FormUploadActivity.this)
.withRequestCode(REQUESTCODE_FROM_ACTIVITY)
.withStartPath("/storage/emulated/0/")//指定初始显示路径
.withFileFilter(new String[]{".apk"})
.withIsGreater(false)//过滤文件大小 小于指定大小的文件
.withFileSize(500 * 1024)//指定文件大小为500K
.start();

@djzhao627
Copy link

.withFileFilter(new String[]{"apk"})
没有 "."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants