Hi I'm trying to download the image which I have upload in the Custom Object from the dashboard.uid
is the id I'm getting on fetching that custom Object
QBContent.downloadFile(uid, new QBEntityCallbackImpl<InputStream>(){
@Override
public void onSuccess(InputStream inputStream, Bundle params) {
Bitmap bitmap = BitmapFactory.decodeStream(inputStream);
if (bitmap != null) {
bankImage.setImageBitmap(bitmap);
}else {
bankImage.setBackgroundColor(ContextCompat.getColor(getActivity(), R.color.blue));
}
}
@Override
public void onError(List<String> errors) {
for (String error: errors){
Log.d(TAG , "--errors-"+error);
}
}
}, new QBProgressCallback() {
@Override
public void onProgressUpdate(int progress) {
}
});
Getting this error:
Entity you are looking for was not found
Any Help is highly Appreciated.