开发者

read the incoming data from web service

开发者 https://www.devze.com 2023-04-07 18:02 出处:网络
I have a doubt to be clarified. how can i read the incoming data from web service. What i want is i get data like this

I have a doubt to be clarified. how can i read the incoming data from web service.

What i want is i get data like this

[ " hi how r u :) " ]. so i need to fetch this message before it is displayed in list vi开发者_运维技巧ew.

sample code: http://pastebin.com/q3mbuSpU

So I need to replace the corresponding " :) " with smiley image in local folder before datais displayed in listview from web service. I am working the same topic for more than 1 week. Please guide in in solving this.

Thanks in advance.


i suggest one idea not sure its working or not.. but you have try...

1) Split your response string when space comes and store in string array.

2) check every character of your string array one by one ... if character ascii value is between a to z and A to Z then its data.. and not then its smiley data.....

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号