随笔 - 395  文章 - 3  评论 - 49  阅读 - 85万

随笔分类 -  android

1 2 3 下一页
android构建过程
摘要:参考: http://blog.csdn.net/shangmingchao/article/details/47375111 首先,需要了解一下构建APK的七大工具: ①aapt 全称是Android Asset Packaging Tool,Android资源打包工具。可以将资源文件编译成二进制 阅读全文
posted @ 2017-05-16 14:09 wf110 阅读(299) 评论(0) 推荐(0) 编辑
dagger2 重点笔记
摘要:官方架构例子,里面有个dagger2的结合的例子 https://github.com/googlesamples/android-architecture https://google.github.io/dagger Dagger2 通过注解来生成代码,定义不同的角色,主要的注解有:@Injec 阅读全文
posted @ 2017-05-15 21:05 wf110 阅读(212) 评论(0) 推荐(0) 编辑
技术好文记载
摘要:ListView优化机制及滑动时数据时出现的数据错乱重复问题 http://blog.csdn.net/huanongjingchao/article/details/42918869 阅读全文
posted @ 2017-02-15 21:43 wf110 阅读(122) 评论(0) 推荐(0) 编辑
Gradle脚本基础全攻略
摘要:http://blog.csdn.net/yanbober/article/details/49314255 阅读全文
posted @ 2017-01-05 17:37 wf110 阅读(183) 评论(0) 推荐(0) 编辑
Android Studio 高级配置
摘要:http://liukun.engineer/2016/04/10/Android-Studio-advanced-configuration/ 阅读全文
posted @ 2017-01-05 16:20 wf110 阅读(157) 评论(0) 推荐(0) 编辑
Android Studio 小技巧/快捷键 合集
摘要:参考: http://jaeger.itscoder.com/android/2016/02/14/android-studio-tips.html 1. 书签(Bookmarks) 描述:这是一个很有用的功能,让你可以在某处做个标记(书签),方便后面再跳转到此处。 调用:Menu → Naviga 阅读全文
posted @ 2017-01-05 16:11 wf110 阅读(269) 评论(0) 推荐(0) 编辑
aar引用 no executable code found问题
摘要:主工程中 当你引用 第三方aar trade_module 的时候 如果 aar的 gradle中 release{ minifyEnabled true 的话 会无法调试的 你要写成false才可以调试 阅读全文
posted @ 2016-06-15 15:12 wf110 阅读(796) 评论(0) 推荐(0) 编辑
java.lang.NoClassDefFoundError 解决方案
摘要:http://stackoverflow.com/questions/9870995/android-java-lang-noclassdeffounderror 像网络了上说的一般这种问题是 运行时才会出现的, 而ClassNotFind是编译的时候出现的很容易发现。 一般是打包的时候 没有把响应 阅读全文
posted @ 2016-06-14 17:23 wf110 阅读(8386) 评论(0) 推荐(0) 编辑
Android WebView的Js对象注入漏洞解决方案
摘要:http://blog.csdn.net/leehong2005/article/details/11808557/ webview调用以下文件,就可以打印sdcard 文件名 阅读全文
posted @ 2016-05-19 13:22 wf110 阅读(1387) 评论(0) 推荐(0) 编辑
Could not find com.android.tools.build:gradle:1.3.0.
摘要:* What went wrong: A problem occurred configuring project ':TZYJ_Android'.> Could not resolve all dependencies for configuration ':TZYJ_Android:classp 阅读全文
posted @ 2016-04-07 18:33 wf110 阅读(1456) 评论(0) 推荐(0) 编辑
gradle大体内容
摘要:不分包 混淆,分包 另外的 1 buildscript { 2 repositories { 3 jcenter() 4 mavenCentral() 5 } 6 dependencies { 7 classpath 'com.android.tools.build:gradle:1.3.0' 8 阅读全文
posted @ 2015-11-05 15:33 wf110 阅读(845) 评论(1) 推荐(0) 编辑
android studio This client is too old to work with the working copy at
摘要:http://www.cnblogs.com/maijin/archive/2013/01/09/2852330.htmlhttp://stackoverflow.com/questions/28339626/android-studio-svn-1-8-this-client-is-too-old... 阅读全文
posted @ 2015-11-03 08:56 wf110 阅读(413) 评论(0) 推荐(0) 编辑
sharedPreference
摘要:http://blog.csdn.net/yong199105140/article/details/8425247SharedPreferences分类:Android2012-12-24 15:252138人阅读评论(0)收藏举报 SharedPreferences主要用于存放软件的配置参数等信... 阅读全文
posted @ 2015-09-24 16:51 wf110 阅读(392) 评论(0) 推荐(0) 编辑
AsynTask用法
摘要:http://blog.csdn.net/liuhe688/article/details/6532519在Android中实现异步任务机制有两种方式,Handler和AsyncTask。Handler模式需要为每一个任务创建一个新的线程,任务完成后通过Handler实例向UI线程发送消息,完成界面... 阅读全文
posted @ 2015-09-01 09:39 wf110 阅读(305) 评论(0) 推荐(0) 编辑
检测安卓手机联网方式
摘要:通信渠道•WLAN(wi-fi)•手机APN(接入点)•基站•Wap方式(地域性、增值业务——IP是10.0.0.172 端口是80 ) 当连上网时可以设置这种 具体看代码•Net方式实现方式:•使用HttpClient•使用HttpURLConnection•使用Socket通信(豌豆荚(USB、... 阅读全文
posted @ 2015-08-22 17:54 wf110 阅读(747) 评论(0) 推荐(0) 编辑
context menu与submenu区别
摘要:http://blog.csdn.net/liuxiit/article/details/6819235总结调用顺序: 点击“Menu" 键时,调用 onCreateOptionsMenu---->onPrepareOptionsMenu.之后,再点击‘Menu" 键时,onCreateOption... 阅读全文
posted @ 2015-08-21 16:45 wf110 阅读(184) 评论(0) 推荐(0) 编辑
ndk的一些概念
摘要:什么场景应用ndk1.代码的包含,apk的java层代码容易被反编译,c/c++被反编译难度非常大2.NDK中调用 第三方C/C++库,因为大部分的开源库都是c/c++编写,比如opencv,opengl3.便于移植,用c/c++写的库可以方便在其他的嵌入式平台上再次利用交叉编译 一个平台上生成另一... 阅读全文
posted @ 2015-08-14 17:42 wf110 阅读(192) 评论(0) 推荐(0) 编辑
Android NDK 构建 以及一些错误
摘要:首先下载NDK 然后在最外层的 local.properties文件夹中 写上 ndk的路径 1.新建工程myapp 2.在MainActivity中写好 1 public static native String stringFromJNI(); 2.生成对应的class文件 右键工程 Make 阅读全文
posted @ 2015-08-14 12:35 wf110 阅读(611) 评论(0) 推荐(0) 编辑
ndk android studio万年坑
摘要:先说javah万年坑javah语法:Usage: javah [options] where [options] include: -o Output file (only one of -d or -o may be used) -d Output directo... 阅读全文
posted @ 2015-08-13 22:09 wf110 阅读(625) 评论(0) 推荐(0) 编辑
android webview type=file文件上传,安卓端代码
摘要:http://stackoverflow.com/questions/5907369/file-upload-in-webviewhttp://blog.csdn.net/longlingli/article/details/16946047注意:不能再onResume中写加载webview的语句,... 阅读全文
posted @ 2015-08-04 10:42 wf110 阅读(1218) 评论(0) 推荐(0) 编辑

1 2 3 下一页
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示