Back to project page Android-VKontakte-SDK.
The source code is released under:
MIT License
If you think the Android project Android-VKontakte-SDK listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.perm.kate.api; // w w w.j ava2s . c om import java.io.Serializable; import org.json.JSONException; import org.json.JSONObject; public class Graffiti implements Serializable { private static final long serialVersionUID = 1L; public long id; public long owner_id; public String src; //200*100 http://cs10730.vkontakte.ru/u110317842/s_5a43e302.png public String src_big;//586*293 http://cs10730.vkontakte.ru/u110317842/l_f8bc298f.png public static Graffiti parse(JSONObject o) throws NumberFormatException, JSONException{ Graffiti graffiti = new Graffiti(); graffiti.id = o.optLong("id"); graffiti.owner_id = o.optLong("owner_id"); graffiti.src = o.optString("photo_200"); graffiti.src_big = o.optString("photo_586"); return graffiti; } }