JasonZhang

Results 7 comments of JasonZhang

android11系统,下载目录根据uri获取path,我目前用了以下方式获取 // DownloadsProvider else if (isDownloadsDocument(uri)) { // TODO 下载目录中选择或者新建文件夹,在文件夹中存储文件 final String id = DocumentsContract.getDocumentId(uri); if (id != null && id.startsWith("raw:")) { return id.substring(4); } // TODO 下载根目录存储文件 String displayName...

Download 路径下可以使用这种,但是android11 用以下这种方式获取更靠谱: final String id = DocumentsContract.getDocumentId(uri); if (id != null && id.startsWith("raw:")) { return id.substring(4); } String displayName = DocumentFile.fromSingleUri(context, uri).getName(); return Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS) + File.separator + displayName;

> remove ScanDrawView in ScanPlatformView when sdk < 30, that works for me Will there be any impact after removing it?

当我使用4.0.1版本的时候,Android studio 提示:arm64-v8a/libobjectbox-jni.so is not 16 KB aligned ,详见下图 Translation: When I use version 4.0.1, Android studio prompts: arm64-v8a/libobjectbox-jni.so is not 16 KB aligned , see the following picture for...

[√] Flutter (Channel stable, 3.19.0, on Microsoft Windows [版本 10.0.19045.4412], locale zh-CN) • Flutter version 3.19.0 on channel stable at C:\yykou\flutter_sdk\flutter_windows_3.19.0-stable\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision bae5e49bc2 (4...