- 博客(7)
- 收藏
- 关注
原创 Android APP -Gradle build variants
Configure build types android { defaultConfig { manifestPlaceholders = [hostName:"www.example.com"] ... } buildTypes { release { minifyEnabled true proguardFiles getDefaultProguardFile('progu.
2020-05-13 16:11:53
239
原创 Android APP - Config your build
https://developer.android.google.cn/studio/buildThe Gradle settings file - settings.gradlethe settings.gradle file, located in the root project directory, tells Gradle which modules it should include when building your app. For most projects, the fi..
2020-05-09 16:00:44
194
原创 C#-Delegate,Invoke和BeginInvoke
Control的Invoke和BeginInvoke, 我们要基于以下认识:(1)Control的Invoke和BeginInvoke与Delegate的Invoke和BeginInvoke是不同的。(2)Control的Invoke和BeginInvoke的参数为delegate,委托的方法是在Control的线程上执行的,也就是我们平时所说的UI线程。Control的Invoke和Be...
2020-04-28 15:38:55
1016
原创 Springboot 启动分析
springboot启动如何扫描包和依赖包中自动注入的类@Target(ElementType.TYPE@Retention(RetentionPolicy.RUNTIME)@Documented@Inherited@SpringBootConfiguration@EnableAutoConfiguration@ComponentScan(excludeFilters = {@Fi...
2020-04-27 13:23:39
140
原创 图灵完备-概念理解
什么是图灵完备性语言?一切可计算的问题都能计算,这样的虚拟机或者编程语言就叫图灵完备的。一个能计算出每个图灵可计算函数(Turing-computable function)的计算系统被称为图灵完备的。一个语言是图灵完备的,意味着该语言的计算能力与一个通用图灵机 (Universal Turing Machine)相当,这也是现代计算机语言所能拥有的最高能力。 图灵完备是什么意...
2020-04-27 13:22:32
1087
原创 consul命令
删除服务 curl --request PUT http://10.135.80.83:8500/v1/agent/service/deregister/{service-name}
2020-03-06 19:53:22
153
原创 Android AIDL-源码结构
我们如果要写一个Service提供服务给app使用,需要写一个aidl文件,暴露接口给app使用,那么这个aidl文件,android是怎么样处理成我们使用的java类的呢?我将以ApiDemo中的IRemoteService为例子,讲述,AIDL编译后生成的Java文件的类结构,以及其中的各个类的用处。下面一段代码是在 ApiDemo的IRemoteService.aidl中的:...
2013-08-27 10:23:07
601
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人