Hello! How in VKSdk andnroid to execute requests to account methods?
final TextView requestText = (TextView) findViewById(R.id.state); final VKRequest request = VKApi.account().getProfileInfo(VKParameters.from(VKApiConst.FIELDS,"first_name,last_name")); request.executeWithListener(new VKRequest.VKRequestListener() { @Override public void onComplete(VKResponse response) { super.onComplete(response); VKList list = (VKList) response.parsedModel; if(list!=null) { for (int i = 0; i < list.size(); i++) { requestText.append("\n" + list.get(i).toString()); } } } @Override public void onError(VKError error) { super.onError(error); requestText.setText(error.toString()); } }); On line final VKRequest request = VKApi.account().getProfileInfo(VKParameters.from(VKApiConst.FIELDS,"first_name,last_name")); IDE swears and highlights red account() . It is understandable in vk-android-sdk there is no class for accessing the account methods.