parse-community / Parse-SDK-Android

The Android SDK for Parse Platform
https://parseplatform.org/
Other
1.88k stars 735 forks source link

i/o failure @getDataInBackground #1094

Closed kmguinto closed 3 years ago

kmguinto commented 3 years ago

Hello i can't seem to get this to work for my phone/tablet. But it works on Android Studio Emulator.

It gives me "i/o failure" error from .getMessage().

final ParseQuery plistQuery1 = ParseQuery.getQuery("HPProducts").orderByDescending("Price"); plistQuery1.getFirstInBackground(new GetCallback() { @Override public void done(ParseObject object, ParseException e) { if (e == null) { ParseFile parseFile = object.getParseFile("Image"); if (parseFile.isDataAvailable()) Toast.makeText(MainActivity.this, "Available", Toast.LENGTH_LONG).show(); else Toast.makeText(MainActivity.this, "Not Available", Toast.LENGTH_LONG).show(); } else Toast.makeText(MainActivity.this, "Error at Query", Toast.LENGTH_LONG).show(); } });

kmguinto commented 3 years ago

redundant Issue to https://github.com/parse-community/parse-server/issues/4290