Android get json elements -
i implementing moethod json cel l content through google spreadsheet
the below part of content
[{"scheme":"http://schemas.google.com/spreadsheets/2006","term":"http://schemas.google.com/spreadsheets/2006#list"}],"title":{"type":"text","$t":"traditional"}, "content":{"type":"text","$t":"ridicule: http://hkgalden.com/face/hkg/369.gif, adore: http://hkgalden.com/face/hkg/adore.gif, agree: http://hkgalden .com/face/hkg/agree.gif, angel: http://hkgalden.com/face/hkg/a ngel.gif, angry: http://hkgalden.com/face/hkg/angry .gif, ass: http://hkgalden.com/face/hkg/ass.gif, banghead: http://hkgalden.com/face/hkg/ banghead.gif, biggrin: http://hkgalden.com/face/hkg/biggrin.gif
when comes using following methods extract link follows
from
biggrin: http://hkgalden.com/face/hkg/biggrin.gif
to
http://hkgalden.com/face/hkg/biggrin.gif
using
link = data[0].split(": ")[1];
it cannot values , hence insert data record using ormlite , found empty data link should follow afterwords?
is using substring lastofindex can ?
Comments
Post a Comment