- 博客(7)
- 收藏
- 关注
原创 listview 精确判断顶部,底部(不适用listview长度自定义)
listView.setOnScrollListener(new AbsListView.OnScrollListener() { @Override public void onScrollStateChanged(AbsListView view, int scrollState) { } @Override public void onScroll(AbsL
2015-10-30 13:50:14
383
原创 android studio gradle 样例e
buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:1.3.+' } tasks.withType(JavaCompile) { options.encoding = "UTF-8
2015-10-26 16:00:14
391
转载 android 反编译
资源文件apktool 中 apktool.bat d -f test.apk test代码dex2jar.bat 中 dex2jar.bat classes.dex使用jd-gui.exe打开
2015-10-26 15:25:38
263
转载 手动发送广播
adb shell am broadcast[-a ][-d ][-t ] [-c [-c ] ...] [-e|--es ...] [--ez ...] [-e|--ei ...] [-n ][-f ] []
2015-10-26 15:23:24
372
转载 android 像素转换
import android.content.Context; import android.util.TypedValue; /** * 常用单位转换的辅助类 */ public class DensityUtils { private DensityUtils() { /* cannot be i
2015-09-28 12:31:30
435
转载 数组与集合的转换
//将数组转换为Listprivate static void ArrayToList(String[] str){System.out.println(Arrays.asList(str) + " 长度:" + str.length);}//获得集合数据private static List getListData(){List list = new ArrayLis
2015-09-28 11:49:52
315
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅