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

Examples of net.rim.device.api.ui.picker.FilePicker


    setBorder(BorderFactory.createBitmapBorder(new XYEdges(9, 9, 9, 9), Bitmap.getBitmapResource("border.png")));
    setTitle(new LabelField("(: The Social App :)", DrawStyle.HCENTER|Field.FIELD_HCENTER))

    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

Related Classes of net.rim.device.api.ui.picker.FilePicker

Copyright © 2018 www.massapicom. 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.