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.....
精彩评论