摘要: 开放平台网址 http://www.xfyun.cn/ 发三张图 ,自己看得懂,就好了 阅读全文
posted @ 2015-12-22 19:29 Pace千雨 阅读(429) 评论(0) 推荐(0) 编辑
摘要: 1 http://blog.csdn.net/xiaanming/article/details/10163203 2 我会把一个可以运行的Demo云盘:http://pan.baidu.com/s/1c1ivasK 3 参照里面的例子,把例子中的包移入代码中就OK了 阅读全文
posted @ 2015-12-22 18:27 Pace千雨 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 转载自: http://blog.163.com/ppy2790@126/blog/static/103242241201382210910473/ 开发自定义控件的步骤: 1、了解View的工作原理 2、 编写继承自View的子类 3、 为自定义View类增加属性 4、 绘制控件 5、 响应用户消息 6 、自定义回调函数 一、View结构原理 Android系统的视图结构的设计也采... 阅读全文
posted @ 2015-12-22 18:18 Pace千雨 阅读(410) 评论(0) 推荐(0) 编辑
摘要: 一、在xml文件里可以直接设置: android:background="#ffffff" 其他颜色可以看这里;http://blog.csdn.net/yanzi1225627/article/details/8581270 二、在java文件里设置: LinearLayout myLayout = () findViewById(R.id.linearLayout1); myLay... 阅读全文
posted @ 2015-12-22 18:15 Pace千雨 阅读(696) 评论(0) 推荐(0) 编辑
摘要: import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.Method; import android.os.Bundle; import android.app.Activity; /** * Demo描述: * Android中Java... 阅读全文
posted @ 2015-12-22 18:13 Pace千雨 阅读(381) 评论(0) 推荐(0) 编辑
摘要: 用于缓存一个临时的变量 比如 SharedPreferencesUtil.put(getApplicationContext(), "userImage", user.content.image); 类 import java.lang.reflect.InvocationTargetException; import java.lang.reflect.M... 阅读全文
posted @ 2015-12-22 17:50 Pace千雨 阅读(605) 评论(0) 推荐(1) 编辑
摘要: 安装 http://blog.csdn.net/wangwei_cq/article/details/9453345 包内的一些基本的参数 http://www.cnblogs.com/manuosex/p/3583775.html 我的使用情况 13.文件上传接口(FORM表单方式提交) 功能:上传文件到服务器,之后返回该文件的URL,最后的jpg表示类型,如果是txt则返回的url类型为txt... 阅读全文
posted @ 2015-12-22 17:46 Pace千雨 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 基本以后都不用了,所以自己就不总结了http://www.cnblogs.com/kissazi2/p/3886563.htmlhttp://www.cnblogs.com/kissazi2/p/3901369.htmlhttp://www.mincoder.com/article/3800.sht... 阅读全文
posted @ 2015-12-22 17:39 Pace千雨 阅读(116) 评论(0) 推荐(0) 编辑
摘要: user_info_head_activity.xml --> ... 阅读全文
posted @ 2015-12-22 17:31 Pace千雨 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 用于解析服务器端返回的Json数据! 使用情况,例如: FileImage fileImage = JsonUtil.parseJsonToBean(response, FileImage.class); 类 import java.lang.reflect.Type; import java.util.HashMap; import java.util.List;... 阅读全文
posted @ 2015-12-22 17:24 Pace千雨 阅读(1459) 评论(0) 推荐(0) 编辑
摘要: 在开发的过程中,通常会用到EditText,如何让虚拟键盘来适应输入框中内容的类型, 通常我们都会在xml文件中加入 android:inputType=""。 android:inputType="none" android:inputType="text" android:inputType="textCapCharacters"//前3个输入普通字符 android:inputTyp... 阅读全文
posted @ 2015-12-22 17:19 Pace千雨 阅读(149) 评论(0) 推荐(0) 编辑
摘要: public class LogUtil { public static final int VERBOSE = 1; public static final int DEBUG = 2; public static final int INFO = 3; public static final int WARN = 4; public static final int ERROR = 5; p... 阅读全文
posted @ 2015-12-22 15:46 Pace千雨 阅读(374) 评论(0) 推荐(0) 编辑
摘要: progressbar.xml 全部代码 public class ThirdLoginLoadingDialog extends Dialog { private TextView tv; public ThirdLoginLoadi... 阅读全文
posted @ 2015-12-22 14:24 Pace千雨 阅读(421) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-12-22 13:46 Pace千雨 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 代码混淆的规则1.如果使用了Gson之类的工具要使JavaBean类即实体类不被混淆。 2.如果使用了自定义控件那么要保证它们不参与混淆。 3.如果使用了枚举要保证枚举不被混淆。-keepclassmembers enum * { -> 枚举类不能去混淆 public static **[] values(); public... 阅读全文
posted @ 2015-12-22 11:57 Pace千雨 阅读(437) 评论(0) 推荐(1) 编辑