S
S
shnicel2016-03-27 17:31:26
Android
shnicel, 2016-03-27 17:31:26

How to process response in from vk api android?

Please tell me, I'm trying to deal with vk api in android, I create a request like this VKRequest request = new VKRequest("audio.get", VKParameters.from(VKApiConst.COUNT, "1"))
How to process and see everything that is in the answer?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Zagaevsky, 2016-03-27
@zagayevskiy

You created it, now you need to call it, for example like this

request.executeWithListener(new VKRequestListener() { 
        public void onComplete(VKResponse response) {
            //тут работаем с ответом
        }
...//ещё методы
});

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question