hello … I am new to backendless … I am trying to upload a file that contain a bitmap
when I open the gallery and get the photo and convert it to bitmap … I want to upload it to backendless server …
using that code below :
Backendless.Files.Android.upload(bitmap, Bitmap.CompressFormat.PNG, 100, "userphoto.png", "UserPhoto", new AsyncCallback<BackendlessFile>() {
@Override
public void handleResponse(BackendlessFile userphoto) {
after I uploaded the file how I can get it and convert it to a bitmap ?
I set a Property to users and it is the URL of the file … I want to get the file from the URL … how can I do that? and after I get it I want to convert it to bitmap
and thanks
Hello!
As an example I can offer you to use code generation for file-service. BrowseActivity.java implements getting image by its url.
Also, you can take a look at our blog: https://backendless.com/category/file-service/
best regards,
Alex