上一页 1 2 3 4 5 6 7 8 9 10 ··· 43 下一页
摘要: 在使用json_encode之前把字符用函数urlencode()处理一下,然后再json_encode,输出结果的时候在用函数urldecode()转回来 阅读全文
posted @ 2016-05-27 11:00 zqxLonely 阅读(190) 评论(0) 推荐(0)
摘要: 如果楼主用phpmyadmin的话,把库,表,字段的整理统一设置为utf8_unicode_ci。 然后取数据时务必SET NANES UTF8; 不是UTF-8!!切记!我以前就范过这个错误,也是显示问号。 显示数据的网页那里设置为 然后。。。就没有然后了。。亲身经历把问号变为正常中文。 作者:AnewG 链接:http://www.zhihu.com/question/2037605... 阅读全文
posted @ 2016-05-27 10:43 zqxLonely 阅读(132) 评论(0) 推荐(0)
摘要: http://www.2cto.com/kf/201604/499617.html 阅读全文
posted @ 2016-05-24 17:36 zqxLonely 阅读(120) 评论(0) 推荐(0)
摘要: package com.pingyijinren.test; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import java.util.Timer; import java.util.TimerTask; public class ... 阅读全文
posted @ 2016-05-21 14:15 zqxLonely 阅读(2097) 评论(0) 推荐(0)
摘要: package com.pingyijinren.test; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.util.AttributeSet; import ... 阅读全文
posted @ 2016-05-21 11:52 zqxLonely 阅读(681) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2016-05-21 10:47 zqxLonely 阅读(330) 评论(0) 推荐(0)
摘要: android:gravity: 这个是针对控件里的元素来说的,用来控制元素在该控件里的显示位置。例如,在一个Button按钮控件中设置如下两个属性, android:gravity="left"和android:text="提交",这时Button上的文字“提交”将会位于Button的左部。 android:layout_gravity: 这个是针对控件本身而言,用来控制该控件在包含该控件的... 阅读全文
posted @ 2016-05-20 20:40 zqxLonely 阅读(134) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2016-05-20 16:01 zqxLonely 阅读(128) 评论(0) 推荐(0)
摘要: package com.pingyijinren.test; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView; pub... 阅读全文
posted @ 2016-05-20 15:23 zqxLonely 阅读(259) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2016-05-20 14:24 zqxLonely 阅读(179) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 43 下一页