Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

Setting legacy BREW (module) privileges

To set BREW (module) privilege levels

  1. Open the application CIF for which you want to adjust privileges in the Resource Manager.
  2. In the Resource Manager window, within the Module tab, click the Privileges (Legacy) tab, as shown in the following image.

  3. To add privilege level options to the application CIF, click the add icon.

    The Add New Privileges dialog opens.

    In the Add New Privileges dialog, you can determine if your module has access to certain Brew MP system functions that are available only to carriers and device manufacturers, and not to Brew MP application developers. Select one or more of the access privilege levels for this module. See the Brew MP Resource File and Markup Reference for more information.

    Select this check box To provide this level of privilege
    AEEPRIVID_PLFile File and database functions in the IFile, IDBMgr, IDatabase, and IDBRecord interfaces.
    AEEPRICID_PLNetwork Network and socket functions in the INetwork and ISocket interfaces to set up TCP and UDP sockets
    AEEPRIVID_PLPosLocation IPOSDET_SetGPSConfig(), IPOSDET_GetGPSConfig(), and IPOSDET_GetGPSInfo() functions, which provide GPS based position information. ISHELL_GetPosition function, which provides access to the gpsOne ® location feature on the device.
    AEEPRIVID_PLTapi TAPI functions in the ITAPI interfaces.
    AEEPRIVID_PLWeb Access to the IWeb interface.
    AEEPRIVID_PLRinger Write access to the ringer directory in the Brew MP SDK and on the device, where the tone files are stored. This directory is automatically created when you run the IRINGER_Create() function.
    AEEPRIVID_PLSharedWrite Write access to the directory in the Brew MP SDK and on the handset.
    AEEPRIVID_PLSectorInfo Access to sector information retrieved from the IPOSDET_GetSectorInfo API.
    AEEPRIVID_PLAddrBook Access to the IAddrBook interface.
    AEEPRIVID_PLSystem System access to all the above privileges.
    AEEPRIVID_PLDownload Access functions in the IDownload interface, which is used to download Brew MP applications from carrier websites.

    Note: If you select Network and leave Web Access unchecked, you can still create an IWeb instance using a call to IShell.

    If you leave Write Access to Ringer Directory unchecked, you can still create an IRingerMgr instance using a call to IShell. For more information on the IWeb and IRingerMgr interfaces, see the Brew MP API Reference.

  4. When you finished selecting privilege information, click Add to add the selected privileges, or Cancel to close the dialog without modifying privileges.

    The Add new Privileges dialog closes.

    The privileges you select are added to the Legacy BREW PrivLevel primitive in the application CIF, and are listed in the Privileges (Legacy) tab of the Resource Manager as shown in the following image.

  5. When you finish entering privilege level information, save the file.