I have never tried this, but this is from "Any Cut's" manifest:

<activity android:name=".CreateShortcutActivity" >
            <intent-filter>
                <action
android:name="android.intent.action.CREATE_SHORTCUT" />
                <category
android:name="android.intent.category.DEFAULT" />
            </intent-filter>
</activity>

http://code.google.com/p/apps-for-android/source/browse/trunk/AnyCut/AndroidManifest.xml

Hope that helps.
Paul

On Sep 20, 12:51 pm, Andrzej Duś <[email protected]> wrote:
> Hi,
>
> I'm writing program for Android (SDK 1.5). I would like to know how to
> add/register one of my program activities in "Home Screen -> Menu ->
> Add-> Shortcuts" (or on Hero "Home Screen -> Menu -> Add to Home->
> Shortcut") so that user will be able to add it to his home screen. Is
> there an Intent Filter or any other way to achieve that?
>
> Thanks,
> Andrzej Duś
--~--~---------~--~----~------------~-------~--~----~
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