Users can use the search field on the Home screen to search for items in any application on the device, including third-party applications. The search can also include content that is not stored on the device, such as an organization's database or a web site.
Users can also use a search field in an application to search for items in that application. For example, users can search for an email message in a message list, a song in the Media application, or a contact in the contact list. In some cases, you might want to display search results from other applications.
In some applications, the search field appears on the screen. In other cases, search is available from the full menu, the pop-up menu, or the toolbar. As users type text in a search field, display the search results. If a large number of search results is returned, you can allow users to narrow their search to a field or a group of fields. For example, if users search the message list, they can use the drop-down list to the right of the search field to narrow their search to the To field or the Subject field. For more information about adding a search field to your application, see the BlackBerry Java Application Integration Development Guide.
Users can perform the following actions in a search field:
You can register content in your application so that it can be included in search results. You can also register your application as a way for users to extend a search. For example, if users search for a song in the Media application and do not find the song, you can allow users to search your application as an alternative source of search results. For more information about registering content or an application, see the BlackBerry Java Application Integration Development Guide.