Android
aostun
这个作者很懒,什么都没留下…
展开
-
Android Locale获取国家测试
结论:getResources().getConfiguration().locale.getCountry()在某些机型上可以用来获取国家,但不是通用方法,如果用户设置国家错误,则会拿到错误的结果。华为,荣耀上有独立的设置国家选项,该选项会影响Locale获取国家结果,语言设置不会影响Locale获取国家结果。Android 模拟器有设置国家选项,只有设置语言会影响Locale获取国家结果。小米无设置国家选项,只有设置语言会影响Locale获取国家结果。原创 2023-03-09 15:21:45 · 705 阅读 · 0 评论 -
Ijkplayer 编译-rstp 无限redirect问题
参考官方文档: https://github.com/Bilibili/ijkplayer编译环境ubuntu 需要安装 make git yasm ndk sdk #编译时注意ffmpeg与 ndk android platform 对应 不要随意更改脚本配置环境变量编译0.8.8遇到问题linux/perf_event.h: No such file or directory解决方案modul...原创 2018-05-31 15:40:14 · 795 阅读 · 0 评论 -
快应用
stack内子元素消失问题,position设置为fixed原创 2018-07-06 17:21:20 · 630 阅读 · 0 评论