最新回答 / 2281444815
url = URL + "?key=" + API_KEY + "&info=" + URLEncoder.encode(msg,"UTF-8");此句中, "?key="和 "&info=",不可加空格,我习惯写成"?key = "和 "&info = ",会报错,找了一万年,好吧,才找到了
2016-01-05
最新回答 / 慕勒1082463
if (convertView == null) { //通过itemType设置不同的布局 if (getItemViewType(position) == 0) { convertView = mInflater.inflate(R.layout.item_from_msg, parent, false); viewHolder = new ViewHolder(); viewHolder.mDate = (TextView) convert...
2015-12-30
已采纳回答 / fairyzoro
http://central.maven.org/maven2/com/google/code/gson/gson/2.5/gson-2.5.jar maven仓库的链接给你,来源可靠
2015-12-22
已采纳回答 / 胖鸟
导包通常"Command" + ";" 打开项目设置,点击左边的app,进入右边的dependencies点击左下方 + 三种类型导入包,网络包,jar, libraries
2015-10-31