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

2019-09-11:谈谈Android10更新了哪些内容?如何进行适配? #145

Open
Moosphan opened this issue Sep 11, 2019 · 11 comments
Open

Comments

@Moosphan
Copy link
Owner

Moosphan commented Sep 11, 2019

No description provided.

@Wulibin83
Copy link

然后呢?

@gabyallen
Copy link

Foldables
5G网络
通知中的智能回复
黑暗主题
设置面板
分享快捷方式
用户隐私

@zhaoerlei1989
Copy link

存储权限
定位权限
无线扫描权限
设备标识符

@Moosphan Moosphan changed the title 2019-09-11:谈谈Android10更新了哪些内容?如何进行适配? 2019-09-11:谈谈Android10更新了哪些内容?如何进行适配? Sep 12, 2019
@Steven-0324
Copy link

@aositeluoke
Copy link

aositeluoke commented Dec 16, 2020

1、分区存储

Android Q可以在AndroidManifest文件中关闭分区存储,Android R只能借助MediaStore相关API进行适配
使用getExternalFileDir或getExternalCacheDir替换Environment.getExternalStorageDirectory
使用MediaStore共享媒体文件
2、限制从后台启动Activity
3、对不可重置的设备标识符实施了限制
使用mac、android_id或移动安全联盟SDK提供的id
4、对电话、Wifi和蓝牙一些API的访问需要定位权限
具体方案
Android 10适配攻略

@Moosphan
Copy link
Owner Author

发现一个Android各版本适配指南:https://github.com/getActivity/AndroidVersionAdapter,感觉挺全的,分享一下。

@Wulibin83
Copy link

Wulibin83 commented Oct 18, 2021 via email

@hardikm9850
Copy link

发现一个Android各版本适配指南:https://github.com/getActivity/AndroidVersionAdapter,感觉挺全的,分享一下。

项目是私有的吗 @Moosphan

@mlinqirong
Copy link

分区存储
暗黑模式
后台activity启动限制

@880634
Copy link

880634 commented Feb 10, 2022

@hardikm9850 楼主链接标错了,直接点击的话有问题,你可以直接点击这里:https://github.com/getActivity/AndroidVersionAdapter

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

10 participants