Partager via


Adding a Browser Favorite Example

4/8/2010

You can use the BrowserFavorite Configuration Service Provider to specify a favorite as first on the Favorites list.

Code Example

The following example shows how to use the Order tag to specify the Favorite named "Southridge Video Store" as the first on the Favorites list.

Note

Only Windows Mobile Standard supports the ordering of favorites.

<characteristic type="BrowserFavorite">
  <characteristic type="Southridge Video Store">
    <parm name="URL" value="https://www.southridgevideo.com/"/>
    <parm name="Order" value="0"/>
  </characteristic>
</characteristic>

Remarks

The BrowserFavorite Configuration Service Provider places the information into a file in the \Windows\Favorites folder. This is the same folder that the browser uses to store saved favorites.

Note

On Windows Mobile Classic and Windows Mobile Professional the favorites in the registry are at the top of the displayed favorites list, followed by those from the file system. The favorites from the file system will appear in alphabetical order.

One provisioning XML file typically contains configuration information for multiple Configuration Service Providers. To use this example, you must replace the values as appropriate, and add the node as a child of the OMA Client Provisioning file. For information about the syntax of this file, see OMA Client Provisioning Files. For examples, see OMA Client Provisioning XML File Examples.

See Also

Tasks

BrowserFavorite Configuration Service Provider Examples for OMA Client Provisioning

Reference

BrowserFavorite Configuration Service Provider