public static Request newUploadPhotoRequest ( Session session , Bitmap image , Callback callback ) { Bundle parameters = new Bundle ( 1 ) ; parameters . putParcelable ( PICTURE_PARAM , image ) ; return new Request ( session , MY_PHOTOS , parameters , HttpMethod . POST , callback ) ; }
Creates a new Request configured to upload a photo to the user s default photo album .