You don't get to do that. The user gets to decide which activities they prefer.
This is the last time I am answering this question. On Mon, Feb 9, 2009 at 9:35 AM, Sei <[email protected]> wrote: > > All, > > Per this thread, > http://groups.google.com/group/android-developers/msg/79752885135cc87b, > I know that addPackageToPreferred is going away in the future. Can > the Googlers comment on the addPreferredActivity under the > android.content.pm.PackageManager package? If both methods are going > away, are you plan to replace this feature by the way of broadcasting > intent? > > I have listed my use case below. Maybe you can provide me an > alternative way other than using the addPreferredActivity? > > Use Case 1 > ---------------- > 1. A user installs and runs the application > 2. The activity has detected that this application is running for the > first time, and offered the user to use this application as the > default activity > > Thanks in advance, > Sei > > > > -- Dianne Hackborn Android framework engineer [email protected] 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 [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 -~----------~----~----~----~------~----~------~--~---

