
Android基础
文章平均质量分 52
夜幕下的湖水
通过写博客来学习挺不错,以前太懒了,以后多努力,加油!!!
展开
-
Android工程开发的团队协作模式
Android App多业务部门开发协作Android Studio常见多团队模式多repository协作开发Android Studio常见多团队模式1、Lib文件加载本地aar文件:刚接触android的时候基本都是通过这种方式来集成第三方包的;2、module加载Library,本地库;3、maven等远程包,方便版本控制等;以上三种方式都是常见的依赖第三方模式,但是在多部门多团队多版本协作的时候会显得有些凌乱;比如某个业务模块因为一些原因,这期迭代准备不上了,代码要是在主工程中,则回滚原创 2021-08-15 19:35:31 · 769 阅读 · 0 评论 -
react native Linking的使用
使用Linking打开webURL 邮箱 联系人等,其实Linking相当于android的Intent:打开地图:Linking.openURL("geo:37.2122 , 12.222")打电话:Linking.openURL("tel:123456789552")打开网站:Linking.openURL("http://www.baidu.com")发送短信:Linki原创 2017-03-08 11:57:27 · 3204 阅读 · 0 评论 -
react-native-orientation
这个是在github上关于横竖屏切换评分比较高的框架,使用也很简单,但是在android的配置中会有一些小问题,比如官方中的代码:import com.github.yamill.orientation.OrientationPackage; // <--- importpublic class MainApplication extends Application implem原创 2017-03-10 13:23:15 · 2458 阅读 · 6 评论 -
java uri匹配
今天在写域名匹配和url拦截跳转等相关逻辑,其实没什么技术含量,只是好久没玩这个,记录一下;String us = "https://zhelishihost/article?pageCode=W201811260011&amp;header={\"isShow\":false}&amp;wv=do"; Uri uri = Uri.parse(us); .原创 2019-01-14 22:03:58 · 1036 阅读 · 0 评论 -
react native自己封装的原生组件(android)
rn端有封装的原生组件列表(react-native-implementation)下面是rn提供的列表 // Components get AccessibilityInfo() { return require('AccessibilityInfo'); }, get ActivityIndicator() { return require('ActivityIndicator')...原创 2019-03-28 10:11:46 · 643 阅读 · 0 评论 -
react ntive StatusBar.setTranslucent();
最近项目组code review让查看StatusBar.setTranslucent()这个方法到底是干嘛的,就看了下源码;在android中查到的代码是@ReactMethod public void setTranslucent(final boolean translucent) { final Activity activity = getCurrentActivity(...原创 2019-03-28 11:25:06 · 811 阅读 · 0 评论