Display An Application Control Message To A User - Blackberry JAVA DEVELOPMENT ENVIRONMENT - - DEVELOPMENT GUIDE Manual

Version: 4.7.0
Hide thumbs Also See for JAVA DEVELOPMENT ENVIRONMENT - - DEVELOPMENT GUIDE:
Table of Contents

Advertisement

Development Guide

Display an application control message to a user

A BlackBerry® device application can include more than one registered ReasonProvider.The BlackBerry device application
displays messages from ReasonProviders in the order that each ReasonProvider registers with the BlackBerry
device application. For example, if a BlackBerry device application registers ReasonProvider A before
ReasonProvider B, the BlackBerry device application displays the message from ReasonProvider A, followed by the
message from ReasonProvider B.
1.
Import the net.rim.device.api. applicationcontrol.ReasonProvider interface:
2.
In your implementation of the ReasonProvider.getMessage(int permissionID) method, return a
String value that contains the message to display to a BlackBerry user.
Access control messages
69

Advertisement

Table of Contents
loading

This manual is also suitable for:

Java development environment

Table of Contents