上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: </form> </form> </form> </form> Volley框架的使用 时间 2015-01-05 17:03:00 博客园精华区 原文 http://www.cnblogs.com/cpacm/p/4193011.html 主题 Bitmap 安卓开发 所谓Volley,它是201 阅读全文
posted @ 2016-05-03 14:08 gentspy 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 分类: android 开发基础(86) Toast用于向用户显示一些帮助/提示。下面我做了5中效果,来说明Toast的强大,定义一个属于你自己的Toast。1.默认效果 代码Toast.makeText(getApplicationContext(), "默认Toast样式", Toast.LEN 阅读全文
posted @ 2016-05-03 12:15 gentspy 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 第二种方式修改,选择eclipse菜单中【file】》》【properties】, 这种方式是可以设置eclipse的默认编程语言的 对java类定义编程语言格式,选中java类,使用快捷键【ALT+Enter】 第二种方式修改,选择eclipse菜单中【file】》》【properties】, 这 阅读全文
posted @ 2016-04-29 12:23 gentspy 阅读(140) 评论(0) 推荐(0) 编辑
摘要: SystemClock.elapsedRealtime() Returns milliseconds since boot,including time spent in sleep. 阅读全文
posted @ 2016-04-29 10:37 gentspy 阅读(2294) 评论(0) 推荐(0) 编辑
摘要: public class HttpUtil { public static void sendHttpRequest(final String address, final HttpCallbackListener listener) { new Thread(new Runnable() { @O 阅读全文
posted @ 2016-04-29 09:26 gentspy 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 仔细读官方的API: Returns true if the string is null or 0-length. 因为你从EditText返回的是一个变量。如果这个变量本身为null值,那么你掉它的equals方法是要报错的。但是如果你调用TextUtils.isEmpty() 把这个变量作为参 阅读全文
posted @ 2016-04-28 21:02 gentspy 阅读(1551) 评论(0) 推荐(0) 编辑
摘要: 【Android】ContentValues的用法 ContentValues 和HashTable类似都是一种存储的机制 但是两者最大的区别就在于,contenvalues只能存储基本类型的数据,像string,int之类的,不能存储对象这种东西,而HashTable却可以存储对象。 在忘数据库中 阅读全文
posted @ 2016-04-28 16:10 gentspy 阅读(211) 评论(0) 推荐(0) 编辑
摘要: public class CoolWeatherOpenHelper extends SQLiteOpenHelper { /** * Province表建表语句 */ public static final String CREATE_PROVINCE="create table Province 阅读全文
posted @ 2016-04-28 15:16 gentspy 阅读(141) 评论(0) 推荐(0) 编辑
摘要: Android Studio 相关 1,search Everywhere double Shift 2,Go to File Ctrl+Shirft+N 3.Recent Files Ctrl+E 4.Navigation Bar Alt+Home 5.Drop files here from E 阅读全文
posted @ 2016-04-27 17:46 gentspy 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 有时候我们一个项目会依赖于另一个项目的类库和资源,如下图项目pds-prrs依赖于pds-fw和pds-srv中的类和包 想要在pds-prrs中引入其他两个项目的方法为: 右键pds-prrs->build path->configure build path->project选项卡->.点击ad 阅读全文
posted @ 2016-04-26 16:59 gentspy 阅读(151) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 10 下一页