Is there a way to determine whether a particular home screen shortcut
exists?  Or is there a way to silence the Toast messages that appear
when a home screen shortcut is installed and uninstalled?

My application installs a shortcut on the home screen at device
startup time under certain conditions and I don't want duplicate
shortcuts to appear. I also don't want Toast messages appearing saying
"Shortcut created" or "Shortcut already exists" every single time the
device boots.  I've found an undocumented Intent Extra called
EXTRA_SHORTCUT_DUPLICATE which will prevent duplicate shortcuts from
being installed but the Launcher still displays the "Shortcut already
exists" Toast message.  I'd rather not rely on this undocumented
Intent Extra if there is a supported technique for this.

Thanks,

byron

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