[android-developers] Re: Programmatically delete a home-screen shortcut

2009-04-16 Thread Eborix13

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



[android-developers] Re: Programmatically delete a home-screen shortcut

2009-04-10 Thread Romain Guy

   1) Is there a way to programmatically delete a home-screen shortcut
 on Android? I know that it can be done manually but I want to do it in
 code.

You can use the UNINSTALL_SHORTCUT intent provided by Home.

   2) Is there a directory where all the contents of the home-screen
 are stored and, if there is, is there a way to update the contents of
 this directory?

No, there's no such directory. Home uses a private database that only
Home can access and manipulate.

-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

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