不管你技术如何,只要背点这个,能忽悠倒一片。。

1、WebView JS漏洞 ,Android4.2之前 ,解决办法,不用addJavascriptInterface,webchrome的onJsPrompt Android4.2之后 @JavascriptInterface

2、Service OnstartCommand Android 2.0 之后 取代 Onstart // This is the old onStart method that will be called on the pre-2.0 // platform. On 2.0 or later we override onStartCommand() so this // method will not be called. OnstartCommand 的 返回值也可以背住。

3、相册 4.4 DocumentsContract 通过添加权限 可以实现shortcut。打印功能,NFC 不用sim卡

4、5.0 锁屏 互动 service 需要一个 explicit Intent 不要给service声明intentfilter; 自定义权限不再支持。Android 5的锁屏小工具不支持;继续支持在主屏幕小部件

5、6.0 蓝牙wifi The WifiInfo.getMacAddress() and the BluetoothAdapter.getAddress() methods now return a constant value of 02:00:00:00:00:00 To access    the hardware identifiers of nearby external devices via Bluetooth and Wi-Fi scans, your app must now have the ACCESS_FINE_LOCATION or ACCESS_COARSE_LOCATION permission

通知 This release removes the Notification.setLatestEventInfo() method. Use the Notification.Builder class instead to construct notifications. To update a notification repeatedly, reuse the Notification.Builder instance. Call the build() method to get updated Notification instances. The adb shell dumpsys notification command no longer prints out your notification text. Use the adb shell dumpsys notification --noredact command instead to print out the text in a notification object. Browser Bookmark Changes

6.0sdk 取消httpclient相关类。

最新文章

  1. android:ellipsize的使用(转)
  2. isKindOfClass和isMemberOfClass的区别
  3. X.509,RSA,PKCS 普及
  4. NGUI 灰化按钮或图标
  5. InterBase数据库迁移到MySQL(说明)
  6. [Xamarin] 製作Options Menu、Intent 呼叫網址和Market (转帖)
  7. 文件系统管理 之 Linux 创建文件系统及挂载文件系统流程详解
  8. 19Mybatis_订单商品数据模型分析
  9. Shell 条件表达式汇总
  10. jdbc操作数据库返回结果集的注意事项
  11. IdentityServer4 知多少
  12. 关于windows下NODE_ENV=test无效的情况解决办法
  13. WEB前端移动开发初始化
  14. [日常] Go语言圣经-错误,函数值习题
  15. 【CF891E】Lust 生成函数
  16. HTTP协议(2)-------- 网络编程
  17. 报错: WARN hdfs.DFSClient: Caught exception java.lang.InterruptedException
  18. 20155330 2016-2017-2《Java程序设计》课程总结
  19. HDFS编程
  20. iOS:UICollectionView流式布局及其在该布局上的扩展的线式布局

热门文章

  1. 关于altera fpga的io时序优化问题
  2. istio 安装试用
  3. lua resty template && openresty 使用
  4. Huffman树的构造及编码与译码的实现
  5. (一)Fiddler的介绍和安装
  6. 优化RequireJS项目(合并与压缩)
  7. Spring AOP表达式报错:Pointcut is not well-formed: expecting 'name pattern' at character position
  8. Django在Eclipse下配置启动端口号
  9. appium+python自动化29-toast
  10. java代码---------比较随机数的大小---我搞不懂啊