My app has a 1*4 icon size widget.
When a user tries to add a widget I provide with a configuration
screen. and some data is collected - it is verified by the server - it
is added to the local DB with appWidgetID as the key - all is good.

when user hits save, if there is not enough space, he is given a
polite toast - "No more room on this home screen".

Now my problem is that the application is not informed of this.
Application still assumes the widget was created and sits back and
wait for the broadcast to update the widget after certain amount of
time.

Can anyone tell me if i can find out via a broadcast or a call back or
any method possible to determine if the widget was not successfully
created, so that i can mark that record in my DB as deleted.

Or better if i can know the space available beforehand via some magic
ninja code.

my whole application design is disturbed because of this problem.
please help.

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