cool thanks!

I believe that you can do something like this.

 Intent i = new Intent();
 i.putExtra(Intent.EXTRA_SHORTCUT_INTENT, intent_to_execute_when_clicked);
 i.putExtra(Intent.EXTRA_SHORTCUT_NAME, title);
 i.putExtra(Intent.EXTRA_SHORTCUT_ICON, Bitmap_object copy);
 i.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, resource file);
 i.setAction(INSTALL_SHORTCUT);
 sendBroadcast(i);

This will create a shortcut so that when the icon is clicked, the
intent_to_execute_when_clicked will be launched.

-Tope

On Wed, Feb 10, 2010 at 11:48 AM, Jason Proctor
<[email protected]> wrote:
 perhaps i'm not being clear :-)

 supposing my app was an audio player, and i wanted to save out a playlist
 shortcut to the "desktop" so that the user could go directly to that
 playlist with one tap. is this possible?

 thanks


 On the home screen, click Menu -> Add

 Then select whatever options you want to add.
 I am not sure about your other question.

 On Wed, Feb 10, 2010 at 11:27 AM, Jason Proctor
 <[email protected]> wrote:

  i was asked today whether it's possible to save out "shortcuts" to the
  desktop, the way the iPhone can save bookmarks and contacts. AFAIK, it's
 not
  possible to programmatically create apps or widgets. but is there
 another
  way to do this?

  thanks
  --
  jason.vp.engineering.particle

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

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


 --
 jason.vp.engineering.particle

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

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


--
jason.vp.engineering.particle

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