2015年6月
文章平均质量分 74
zcj920615
这个作者很懒,什么都没留下…
展开
-
日期格式转换
package com.softfz.utils; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; /** * 日期格式转换 * * @author Administrator转载 2015-06-17 14:54:38 · 358 阅读 · 0 评论 -
软键盘的收缩与展开
//收键盘,比较有用的 private void hideInputMethodManager(View v) { InputMethodManager imm = (InputMethodManager) this.getSystemService(Context.INPUT_METHOD_SERVICE); imm.hideSoftInputFromWindow(v.getW转载 2015-06-17 15:53:35 · 353 阅读 · 0 评论 -
android xml 资源文件中几个格式(@ ? @* @+)的含义
一.@代表引用资源 1.引用自定义资源。格式:@[package:]type/name android:text="@string/hello" 2.引用系统资源。格式:@android:type/name android:textColor="@android:color/opaque_red" 注意:其实@android:type/name是转载 2015-06-17 15:03:40 · 406 阅读 · 0 评论 -
app如何混淆,打包,签名?
正是因为反编译这么简单,如果不加保护,我们的劳动成果就会被轻易盗取。 市面上比较常用的反编译工具有:dex2jar,jd-gui,apktool,IDA等等。 这里我简单的说一下dex2jar这个常用反编译工具的使用。 在下载到了dex2jar和jd-gui这两个工具之后。 1.将要反编译的APK后缀名改为.rar或 .zip,并解压 --------------转载 2015-06-17 15:00:43 · 769 阅读 · 0 评论