Albert,

Agree about the no space case. This is (was) definitely a bug.

Found this message:

http://www.mail-archive.com/[email protected]/msg64867.html

where Romain Guy wrote that it's fixed in "the next release after 2.0" - I guess that means 2.1

-- Kostya

25.06.2010 17:42, Albert пишет:
The user picks your widget to add it to the screen, gets pass
configuration and boom there is no room in the homescreen. You get a
toast message saying "No more room on this homescreen" but the
onEnable(), onUpdate() and your configuration screen were all
successful but the widget never got added.Then next time you try the
widgetId is different, meaning you have lost the last ID and you will
always think that it is on the homescreen as you will never receive a
onDeleted() with that ID.

Note: This is happening in 1.5 and 1.6 (haven't tested on 2.0) but in
2.1 and 2.2 I see the widget call onDeleted() instantly when it fails
to add due to not having room. Probably it was a bug before and the
platform dev fixed now.



--
Kostya Vasilev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
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