Search code examples
javaquickbloxquickblox-android

Getting public file url from customobject


I have a custom object class with a File type field, after I query the class, I do not get a public url to the file in the field. How can I get the full public url of a File field type from CustomObject class to be loaded in a ListView? I have an image loading library already by means of Picasso.


Solution

  • Try this one

    https://api.quickblox.com/data/<Class_name>/<record_id>/file?field_name=<field_name>&token=<qb_session_token>
    

    more info here http://quickblox.com/developers/Custom_Objects#Download_file