Package net.rim.device.api.ui.picker

Examples of net.rim.device.api.ui.picker.FilePicker.show()


    filePickButton = new ButtonField("Photo Share", Field.FIELD_HCENTER) {
      protected boolean navigationClick(int status, int time) {
        FilePicker picker = FilePicker.getInstance();
        picker.setFilter(".jpg:.png");
        picker.setView(FilePicker.VIEW_PICTURES);
        String path = picker.show();

        if (path != null) {
          // Creating the data context as a JSONObject
          JSONObject context = new JSONObject();
          try {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.