i have email id as a search key and i want to delete that row where that email exist but i cant remove that row
here first is my user
Backendless.Data.of(BackendlessUser.class).remove(first, new
AsyncCallback<Long>() {
@Override
public void handleResponse(Long response) {
Log.e(“email”, “deleted”);
}
@Override
public void handleFault(BackendlessFault fault) {
Log.e("fault", "" + fault.getMessage());
}
});
help me
Hi, Rahul!
The reason you’ve got an error “Unable to find method in class. method name remove” could be an outdated SDK. Please try use the latest SDK (https://backendless.com/downloads/) and tell us how it worked out.
thanks mark sample code https://backendless.com/feature-80-deleting-users-with-api-or-console/
providing by this article is removing user successfully when i have two users then it removed one user successfully but when only one user its not removing that user…its showing me error “unable to find method in class. method name remove”
anatolli thanks for new sdk but in that there is no sample code for removing user
sorry for distrubing you
thanks
Hello, Rahul!
Try to copy backendless.jar from the downloaded archive to your project and check it again.
best regards,
Alex
Please get the SDK from the download page and use the sample code from the article. You cal also delete users using Backendless console.