Android keyguard widget not displayed -
i working on widget needs displayed on keyguard, here widget info :
<?xml version="1.0" encoding="utf-8"?> <appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android" android:initialkeyguardlayout="@layout/widget_layout" android:minwidth="294dp" android:minheight="72dp" android:updateperiodmillis="0" android:widgetcategory="keyguard"> </appwidget-provider>
and here part of manifest :
<receiver android:name="com.view.keyguardwidgetprovider" android:icon="@drawable/idoogood_logo" android:label="@string/appwidget_name"> <intent-filter > <action android:name="android.appwidget.action.appwidget_update" /> <action android:name="android.intent.action.user_present"/> </intent-filter> <meta-data android:name="android.appwidget.provider" android:resource="@xml/widget_info" /> </receiver>
my problem widget not appear on lockscreen. when swipe lockscreen left of right, nothing happends. , when go settings=>security, don't have option enable keyguard widgets. widget works fine on home screen.
thanks suggestion.
Comments
Post a Comment