上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 43 下一页
摘要: package com.pingyijinren.test; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import... 阅读全文
posted @ 2016-05-17 11:52 zqxLonely 阅读(248) 评论(0) 推荐(0)
摘要: 在fragment中使用getActivity()即可获取activity的引用 阅读全文
posted @ 2016-05-12 17:13 zqxLonely 阅读(1256) 评论(0) 推荐(0)
摘要: 在android开发中,写了一个关于继承Fragment的类时,如果有重载构造函数时,会提示“Avoid non-default constructors in fragments: use a default constructor plus Fragment#setArguments(Bundl 阅读全文
posted @ 2016-05-12 11:27 zqxLonely 阅读(160) 评论(0) 推荐(0)
摘要: 设置webview可以获取截图: 当要进行多次截图时,先要清除之前的缓存: 保存webview的截图到bitmap: 阅读全文
posted @ 2016-05-11 14:22 zqxLonely 阅读(426) 评论(0) 推荐(0)
摘要: 学习Java的童鞋们都知道,Java的包、类、借口、方法、变量、常量;JavaEE的三层模型等都有一套约定俗成的命名规则。 我学习每种语言都会关注相应的命名规则,一则体现自己比较专业;二来方便后检查,看到名称就知道是属于什么类型、占用多少内存、使用是否正确等;三又可以供其他人参考。 当然,学习Jav 阅读全文
posted @ 2016-05-09 11:42 zqxLonely 阅读(14606) 评论(0) 推荐(1)
摘要: 注意要添加权限: 阅读全文
posted @ 2016-05-07 19:32 zqxLonely 阅读(193) 评论(0) 推荐(0)
摘要: 设置支持js: 设置无图模式: 设置文字大小: 阅读全文
posted @ 2016-05-07 18:24 zqxLonely 阅读(337) 评论(0) 推荐(0)
摘要: alertdialogbuilder=new AlertDialog.Builder(MainActivity.this); View view=getLayoutInflater().inflate(R.layout.layout_alertdialog,null,false); alertdialogbuilder.setVie... 阅读全文
posted @ 2016-05-07 13:27 zqxLonely 阅读(144) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2016-05-07 11:17 zqxLonely 阅读(152) 评论(0) 推荐(0)
摘要: package com.example.administrator.myapplication; import android.content.Context; import android.content.SharedPreferences; /** * Created by Administrator on 2016/5/7 0007. */ public class Browser... 阅读全文
posted @ 2016-05-07 10:29 zqxLonely 阅读(183) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 43 下一页