Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/security/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 在安卓M中,什么是不推荐的?_Android_Android 6.0 Marshmallow - Fatal编程技术网

Android 在安卓M中,什么是不推荐的?

Android 在安卓M中,什么是不推荐的?,android,android-6.0-marshmallow,Android,Android 6.0 Marshmallow,我知道getResources()正在被弃用。所以在我们可以做以下事情之前: getResources().getColor(R.color.primary_color) getResources().getColorStateList(R.color.selector_color_list) getResources().getDrawable(R.drawable.icon) 我们现在必须这样做: ContextCompat.getColor(context, R.color.primar

我知道
getResources()
正在被弃用。所以在我们可以做以下事情之前:

getResources().getColor(R.color.primary_color)
getResources().getColorStateList(R.color.selector_color_list)
getResources().getDrawable(R.drawable.icon)
我们现在必须这样做:

ContextCompat.getColor(context, R.color.primary_color)
ContextCompat.getColorStateList(getContext(), R.color.selector_color_list)
ContextCompat.getDrawable(context, R.drawable.icon)
我知道有人提到

我的问题是,在即将发布的版本中,是否有我们应该注意的不推荐的内容?

包含:

虽然阅读主要变化摘要的最佳地方是

  • 抽象HttpParams
  • 访问模拟位置
  • 通道、表面、抛料器
  • 辅助功能
  • 帐目
  • addSearchUrl(ContentResolver,字符串)
  • 电瓶
  • AndroidHttpClient
  • 应用程序信息
  • 为\u最后\u添加\u
  • ArrayMap(ArrayMap)构造函数
  • 音频设置
  • 验证您的帐户
  • 基本传感器
  • 基本参数
  • 基本属性
  • BatteryManager()构造函数
  • 蓝牙无线网络
  • 书签
  • 书签
  • Browser.bookmark列
  • Browser.SearchColumns
  • canClearHistory(内容解析程序)
  • ceil(浮动)
  • 清除应用程序用户数据
  • clearHistory(ContentResolver)
  • clearSearches(内容解析程序)
  • 客户端连接管理器
  • 客户端连接管理器工厂
  • 客户端连接运算符
  • 客户端连接请求
  • 连接保持投资策略
  • ConnectionPoolTimeoutException
  • 连接释放触发器
  • 联系人contract.Contacts.StreamItems
  • Contacts contract.raw contacts.StreamItems
  • contacts contract.StreamItemPhotos
  • ContactsContract.StreamItemPhotosColumns
  • ContactsContract.StreamItems
  • 联系人contract.StreamItems.StreamItemPhotos
  • ContactsContract.StreamItemsColumns
  • CoreProtocolPNames
  • cos(浮动)
  • 花钱
  • createFromPdu(字节[])
  • createFromXml(参考资料,XmlPullParser)
  • DefaultedHttpParams
  • deleteFromHistory(ContentResolver,字符串)
  • deleteHistoryTimeFrame(ContentResolver,long,long)
  • 开发工具
  • 设备报警
  • 设备电源
  • 展示
  • EofSensorInputStream
  • EofSensorWatcher
  • 执行()
  • exp(浮动)
  • 地板(浮子)
  • 强迫你回去
  • 获取顶级活动信息
  • getAllBookmarks(ContentResolver)
  • GetAllVisitedURL(ContentResolver)
  • getColor(int)
  • getColorStateList(int)
  • getHttpSocketFactory(int,SSLSessionCache)
  • 硬件控制
  • 硬件测试
  • 历史投影
  • 历史\投影\书签\索引
  • 历史\投影\日期\索引
  • 历史投影法维康指数 历史\投影\标识\索引
  • 历史\投影\标题\索引
  • 历史\投影\ URL\索引
  • 历史\投影\访问\索引
  • HttpAbstractParamBean
  • HttpConnectionParamBean
  • HttpHostConnectException
  • HttpProtocolParamBean
  • HttpProtocolParams
  • 海波(浮动,浮动)
  • 注入事件
  • 内部系统窗口
  • 管理客户
  • 管理应用程序令牌
  • ManagedClient连接
  • 麦柯伦特罗维德
  • 信息
  • mRowIdColumnIndex
  • 多家PlainsocketFactory
  • mUpdatedRows
  • 网络
  • 助理署长(活动)
  • onReceivedError(WebView,int,String,String)
  • onSendDataSms(字节[],整数,字符串,整数,结果回调)
  • onSendMultipartTextSms(列表、整型、字符串、结果回调)
  • onSendTextSms(字符串、整型、字符串、结果回调)
  • 操作客户端连接
  • org.apache.commons.logging
  • org.apache.http
  • org.apache.http.auth
  • org.apache.http.auth.params
  • org.apache.http.client
  • org.apache.http.client.entity
  • org.apache.http.client.methods
  • org.apache.http.client.params
  • org.apache.http.client.protocol
  • org.apache.http.client.utils
  • org.apache.http.conn.params
  • org.apache.http.conn.routing
  • org.apache.http.conn.util
  • org.apache.http.cookie
  • org.apache.http.cookie.params
  • org.apache.http.entity
  • org.apache.http.impl
  • org.apache.http.impl.auth
  • org.apache.http.impl.client
  • org.apache.http.impl.conn
  • org.apache.http.impl.conn.tsccm
  • org.apache.http.impl.cookie
  • org.apache.http.impl.entity
  • org.apache.http.impl.io
  • org.apache.http.io
  • org.apache.http.message
  • org.apache.http.protocol
  • org.apache.http.util
  • 个人信息
  • 电话
  • 平袜厂
  • 播放(上下文、Uri、布尔值、int)
  • pow(浮动,浮动)
  • 阅读历史书签
  • 阅读个人资料
  • 阅读社交流
  • 阅读用户词典
  • RecoverySystem()构造函数
  • requestAllIcons(ContentResolver、String、IconListener)
  • 请求\u许可\u必需
  • 保存书签(上下文、字符串、字符串)
  • 计划
  • 计划地理学
  • 屏幕锁
  • 投影法
  • 搜索\投影\日期\索引
  • 搜索\投影\搜索\索引
  • 搜索
  • 设置活动监视程序
  • 设置方向
  • 设置指针速度
  • 设置彩色滤光片
    • 在android.graphics.drawable.ClipDrawable中键入(颜色过滤器)
    • 在android.graphics.drawable.insettdrawable中键入(颜色过滤器)
    • 类型(彩色)