随笔分类 -  myjob总结

摘要:1,注册百度开发者账号 2,申请key ,注意开发版SH和发布版的SH 获取开发版SHA1: 输入命令:keytool -list -v -keystore debug.keystore,回车输入密钥库口令:android(系统默认)回车。 .获取发布版SHA1: 创建自己的签名文件 在Androi 阅读全文
posted @ 2017-10-31 11:20 manmanlu 阅读(440) 评论(0) 推荐(0)
摘要:1,Android代码设置Shape,corners,Gradient (http://blog.csdn.net/houshunwei/article/details/17392409) //取得CheckBox对象 CheckBox checkBox = (CheckBox) findViewB 阅读全文
posted @ 2017-09-30 16:22 manmanlu 阅读(370) 评论(0) 推荐(0)
摘要:/** * 获取属性名数组 * */ public static List<String> getFiledName(Object o){ Field[] fields=o.getClass().getDeclaredFields();// String[] fieldNames=new Strin 阅读全文
posted @ 2017-09-26 11:08 manmanlu 阅读(2219) 评论(0) 推荐(0)
摘要:1,Theme.AppCompat.Light.DarkActionBar 报错 添加v7包 参考其他:http://blog.csdn.net/sanjiaozhen/article/details/49976429 http://blog.csdn.net/loveyaozu/article/d 阅读全文
posted @ 2017-07-03 10:16 manmanlu 阅读(170) 评论(0) 推荐(0)
摘要:1查询并返回list 别名映射->实体类:resultClass <select id=" selectAll" resultClass="AppLog"> select ID as id, TYPE as type, DESCR as descr from APP_LOG where ID = # 阅读全文
posted @ 2017-05-17 10:10 manmanlu 阅读(306) 评论(0) 推荐(0)
摘要:1,需要包下载地址: http://archive.apache.org/dist/struts/binaries/ 2.报错:org/apache/commons/lang3/StringUtils 导入commons-lang3-3.1.jar 。再启动 阅读全文
posted @ 2017-01-17 10:59 manmanlu 阅读(139) 评论(0) 推荐(0)
摘要:1,两种方法解决tomcat的 Failed to initialize end point associated with ProtocolHandler ["http-apr-8080"] 两种方法解决tomcat的 Failed to initialize end point associat 阅读全文
posted @ 2017-01-06 10:47 manmanlu 阅读(166) 评论(0) 推荐(0)
摘要:1、设置sdk路径 -vm D:/Program Files/Java/jdk1.6.0_45/bin/javaw.exe 再重新启动eclipse,可解决该问题; 4、ddms files not found hprof-conv.exe 第一步: 开始->运行->cmd 中敲入“cd 放置adb 阅读全文
posted @ 2016-10-27 16:13 manmanlu 阅读(278) 评论(0) 推荐(0)
摘要:有时在打开模拟器的时候会出现The connection to adb is down, and a severe error has occured.这个问题,这个问题的解决办法有两个: 方法一:找到adb.exe存放的地方(一般出现这个错误的时候,现在会提示adb.exe的路径),双击adb.e 阅读全文
posted @ 2016-03-23 10:36 manmanlu 阅读(260) 评论(0) 推荐(0)
摘要:版本控制需要SVN server和SVN客户端; 1,SVN server 可以安装visualSVN server;比较方便好用; 安装好visualSVN server后,打开软件,新建项目,再建user或者group;再点击项目把用户添加到项目中; 也可以安装subversion SVN ;需 阅读全文
posted @ 2016-03-21 16:15 manmanlu 阅读(278) 评论(0) 推荐(0)
摘要:广播类package com.examp.azuoyoutong.listner;import java.util.regex.Matcher;import java.util.regex.Pattern;import android.content.BroadcastReceiver;import... 阅读全文
posted @ 2015-11-25 16:22 manmanlu 阅读(466) 评论(0) 推荐(0)
摘要:Since some ADT-Version you have to set which libraries / projects should be exported too.Project-Propiertes -> Java Build Path -> Order and Export -> ... 阅读全文
posted @ 2015-11-20 14:30 manmanlu 阅读(181) 评论(0) 推荐(0)
摘要:1,初始化fragment时候:@Override public void onAttach(Activity activity) { /** 注册广播 */ initBroadcast(); super.onAttach(activity); } BroadcastReceiver broa... 阅读全文
posted @ 2015-04-08 17:22 manmanlu 阅读(914) 评论(0) 推荐(0)
摘要:1,activitypublic void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_erweima... 阅读全文
posted @ 2015-04-07 14:06 manmanlu 阅读(281) 评论(0) 推荐(0)
摘要:1.配置 activity的主题:android:theme="@style/AppThemeBB"2.通过Menu.xml文件布局添加菜单itemmenu/menu.xmlmain.xml actionbar_center_title.xml 3.在activity中获得资源... 阅读全文
posted @ 2015-04-07 10:24 manmanlu 阅读(1442) 评论(0) 推荐(0)