Help VkApiAudio in the form of json

I have so:

 if (attachment.getType().equals(VKAttachments.TYPE_AUDIO)){ final VKApiAudio audio = (VKApiAudio) attachment; Log.d("TAG", "audio title: " + audio.url); 

But everything comes, except for audio.url . Maybe you can parse it all as a thread in the form of json ????

Something like:

 JSONArray att = (JSONArray) item.getJSONArray("attachments"); JSONObject xx = (JSONObject) att.get(0); img = xx.getJSONObject("audio").getString("url"); Log.d("MSCurrentPost", "JSON: " + img); 
  • It seems that in December the music was removed from the IPA and it’s impossible to get it anymore - YuriiSPb
  • And how can you now? - sviter-pro
  • one
    Quote: You can contact us at api@vk.com if your product is: 1. It is one of a kind, has unique functionality; 2. It is a full-fledged client with a wide audience - that is, it supports work with all the main VKontakte services, including the news feed and messages; 3. Assumes the use of exclusively free content. ............ vk.com/dev/audio_api - Alexey Shimansky
  • Is it possible to parse it all under json? I just don’t rummage at all .... - sviter-pro

0