コード例 #1
0
final class UploadPhotoScreen extends FacebookScreen {

  // List of actions:
  static final String ACTION_ENTER = "uploadPhoto";
  static final String ACTION_SUCCESS = "photoUploaded";
  static final String ACTION_ERROR = "error";

  // List of labels:
  private static final String LABEL_TITLE = "Upload Photo";

  protected Logger log = Logger.getLogger(getClass());

  /** Default constructor. */
  UploadPhotoScreen(FacebookContext pfbc) {
    super(pfbc);
    setTitle(new LabelField(LABEL_TITLE, LabelField.ELLIPSIS | LabelField.USE_ALL_WIDTH));
    Dialog.alert("Not implemented yet.");
    log.debug("Inside Upload Photo");
  }
}
コード例 #2
0
 /** Default constructor. */
 UploadPhotoScreen(FacebookContext pfbc) {
   super(pfbc);
   setTitle(new LabelField(LABEL_TITLE, LabelField.ELLIPSIS | LabelField.USE_ALL_WIDTH));
   Dialog.alert("Not implemented yet.");
   log.debug("Inside Upload Photo");
 }