Android 4.2+ Lockscreen detect widget position -
is there way detect widget position on lockscreen android 4.2+? main question me widget displayed default lockscreen widget or user should slide among others widgets see it?
actually i've found 1 way achieve want. when widget placed on lockscreen can have 2 sizes. (check sizing guidelines details http://developer.android.com/guide/topics/appwidgets/index.html#lockscreen)
bundle myoptions = appwidgetmanager.getappwidgetoptions (widgetid); the trick call , check maxheight value , check against size of screen when intent.action_screen_on event occurs
Comments
Post a Comment