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

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -