PerformancePatterns https://developer.android.com/topic/performance/vitals Vitals根据vitas提示确认解决方案 https://support.google.com/googleplay/android-developer/answer/9844486?visit_id=637902898856761718-3795427085&rd=1& 2017-08-16 #Performance
TouchEvent2 Android touch Event 事件分发其实就是对MotionEvent事件得分发过程,当MotionEvet产生后,系统需要把这个事件传递给一个具体得View,而这个传递得过程就是分发过程 概述 为什么会有事件分发机制? Android得View是树形结构,绘制得时候遍历子View,他们必定是会重合分布,那么当我们点击得时候,是应该谁来响应这个事件呢? 然后才有事件分发 Activ 2017-08-13 VIEW #TouchEvent
AndroidStudioTool 降低 compileSdkVersion 版本 有时候需要看低版本的源码,就要修改compileSdkVersion版本 修改编译版本 targetSdkVersion版本修改成 21 然后 compile ‘com.android.support:appcompat-v7:21.+’ 继承的AppCompatActivity改成Activity 编译后报错 Error:(11) 2017-08-13 TOOL
BroadcastReceiver BroadcastReceiver https://developer.android.com/guide/components/broadcasts.html 广播使应用程序间传输传输信息的机制,主要用来监听系统或者应用发出的广播信息。 BroadcastReceiver使用注意 当系统或应用发出广播时,扫描系统所有广播接收者(无论时静态注册还是动态注册方式),通过action匹配將广 2017-08-12 ANDROID
SERVICE Servicehttps://developer.android.com/guide/components/services https://developer.android.com/reference/android/app/Service Service启动服务两种方式 startService bindService startService一个Service被startService 2017-08-11 ANDROID
Accessibility 先上官网地址 https://developer.android.com/guide/topics/ui/accessibility/services.html下面的是例子 https://developer.android.com/training/accessibility/index.html 然后是codelab 看看 https://codelabs.developers.goog 2017-08-09 ANDROID
OKHTTP Okhttp优势https://square.github.io/okhttp/ OkHttp is an HTTP client that’s efficient by default: HTTP/2 support allows all requests to the same host to share a socket. Connection pooling reduces r 2017-08-07 ANDROID
HexoConfigure 基本配置select theme Best Hexo Themes (Hand-picked) | Statichunt 安装出问题 更换镜像源 https://www.lemonneko.cn/win10%E6%90%AD%E5%BB%BAhexo%E5%8F%8A%E9%81%87%E5%88%B0%E7%9A%84%E5%9D%91/ 上传到分支 // git初始化 git 2017-08-01 #BLOG
ContentProvider https://developer.android.com/guide/topics/providers/content-provider-basics.html?hl=zh-cn 还需要完善单条记录 查询 修改等一、新建数据库 https://github.com/BlogForMe/AndroidProject/blob/master/ContentProvider/mylibrar 2017-07-31 ANDROID
EclipseIdeaWeb Eclipse导入web项目1、src并入包导入项目后可以看这种情况 处理方法:VideoServer右键->Build Path->Configure Build Path->Source->Brower->src->Apply;接着就可以看到 ,点击Yes后,项目目录正常了,但是发现这是一个Java项目,没有javax.相关的包 2、Java项 2017-07-23 TOOL