On Apr 18, 6:47 pm, straddle <[email protected]> wrote:

> Is there a way to detect which grid blocks are occupied on the home
> screen and what is available and how big of a block is available?

I don't believe that there is, no. The Home app does it internally,
but I've done quite a bit of widget development, and all indications
are that this information is not exposed to other apps.

> There must be since sometimes when trying to add a widget it will tell
> you,
> "no space on this home screen."

Again, that's internal to Home. Even there, it doesn't work as well as
you might like; it doesn't check until after you try to add a widget.
See this bug for some more details:
http://code.google.com/p/android/issues/detail?id=2539

String

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to