Мой код:
используется версия api_v35.0.
Код: Выделить всё
sendRequest("SELECT Name From CONTACTS");
private void sendRequest(String soql) throws UnsupportedEncodingException {
RestRequest restRequest = RestRequest.getRequestForQuery(getString(R.string.api_version), soql);
if(restClient!=null) {
restClient.sendAsync(restRequest, new RestClient.AsyncRequestCallback() {
@Override
public void onSuccess(RestRequest request, RestResponse result) {
}
@Override public void onError(Exception exception) { exception.printStackTrace(); }
Спасибо
Подробнее здесь: https://stackoverflow.com/questions/362 ... authfailur
Мобильная версия