Thanks.  I guess nothing terrible will happen, it's just that it's not
useful.  Thanks.


>>>>> "KV" == Kostya Vasilyev <[email protected]> writes:

   KV> Jake,

   KV> You can watch for ACTION_APPWIDGET_UPDATE with a previously
   KV> unseen widget Id, or specify a configuration activity for the
   KV> widget. The config activity can be made transparent and finish
   KV> right away, so it's just there as a callback for your logic.

   KV> But if you do that, you've got to be really careful because of
   KV> various edge cases and Android and launcher issues (also consider
   KV> replacement launchers) .

   KV> Why not just let the user create as many widgets as they like,
   KV> and let the user decide?

   KV> -- Kostya

   KV> 27.02.2011 17:24, Jake Colman пишет:
   >>>>>>> "S" == String<[email protected]>  writes:
   S> There's no way to prevent it, no.
   >> 
   S> IMHO, your best bet is to handle it gracefully: if the user wants
   S> to add multiple copies of your widget, let them. If that's not
   S> possible for whatever reason, then you will at least need to
   S> issue a warning.
   >> 
   >> Can I detect that a second instance has been added so that I can display
   >> a toast?
   >> 

   KV> -- 
   KV> Kostya Vasilyev -- http://kmansoft.wordpress.com

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

-- 
Jake Colman -- Android Tinkerer

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