棒棒堂的Andr​​oid锁屏插件 [英] Lollipop android lock screen widget

查看:133
本文介绍了棒棒堂的Andr​​oid锁屏插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有做锁屏小部件棒棒糖任何更改。虽然官方文件明确显示没有变化,但是,<一个href="http://www.extremetech.com/computing/192112-android-5-0-lollipop-all-details-and-features-of-googles-sweetest-treat-yet">http://www.extremetech.com/computing/192112-android-5-0-lollipop-all-details-and-features-of-googles-sweetest-treat-yet说锁屏小工具都没有了。

解决方案

锁定屏幕小部件没有在任的Andr​​oid开发preVIEW存在建立的Andr​​oid 5.0,以便他们有效地不见了。但是,<一个href="http://developer.android.com/reference/android/appwidget/AppWidgetProviderInfo.html#WIDGET_CATEGORY_KEYGUARD">WIDGET_CATEGORY_KEYGUARD至今还没有去precated。这是否是一个疏忽或不为任何人的猜测。虽然目前没有出现任何手势,面积,或其他任何东西(如在设置应用程序的任何)在Android 5.0建立至今,它表明了锁屏小工具的支持。

似乎建议将被通知的处理,类似于主壳体为锁屏部件如何音乐控制已经改变 - 用于占用相同的位置锁定屏幕小部件老 RemoteControlClient 为基础的控制,但已经完全去precated <。 / P>

Are there any changes made to lock screen widgets in lollipop. Though official documents explicitly shows no changes but ,http://www.extremetech.com/computing/192112-android-5-0-lollipop-all-details-and-features-of-googles-sweetest-treat-yet says lock screen widgets are gone.

解决方案

Lock screen widgets do not exist in either of the Android Developer Preview builds of Android 5.0 so they are effectively gone. However, WIDGET_CATEGORY_KEYGUARD has not yet been deprecated. Whether this is an oversight or not is anyone's guess. There does not appear to be any gesture, area, or anything else (such as anything in the Settings app) in the Android 5.0 builds so far that would indicate support for lock screen widgets.

It appears the main case for lock screen widgets is suggested to be handled by notifications, similar to how music controls have changed - the old RemoteControlClient based controls used to take up the same place as lock screen widgets but have been completely deprecated.

这篇关于棒棒堂的Andr​​oid锁屏插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆