Please not that hard-coding package names is fragile and can cause your app to break. For things on market, you are somewhat safe, but none of these are. And I can guarantee you for sure that things like the contacts app package name will vary across devices.
If it isn't defined in the SDK, it is NOT a supported API. On Thu, Mar 11, 2010 at 7:12 PM, a a <[email protected]> wrote: > Dear Bibek, > > it's works very well, thanks. > > But i have another question: > Why is > > intent.putExtra("query", "Android"); // how do you know the key > is "query" ?? > > But not > intent.putExtra("user_query", "Android"); ?? > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- 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, and so won't reply to such e-mails. 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

