浪费别人的时间等于是谋财害命,浪费自己的时间等于是慢性自杀。 —— 列宁

摘要: 在实际开发中LayoutInflater这个类还是非常有用的,它的作用类似于findViewById()。不同点是LayoutInflater是用来找res/layout/下的xml布局文件,并且实例化;而findViewById()是找xml布局文件下的具体widget控件(如Button、Tex 阅读全文
posted @ 2016-07-04 17:47 一谦的视界 阅读(380) 评论(0) 推荐(0) 编辑
摘要: Toast在手机屏幕上向用户显示一条信息,一段时间后信息会自动消失。 1.默认用法 [html] view plain copy print?Toast.makeText(getApplicationContext(), "默认Toast样式",Toast.LENGTH_SHORT).show(); 阅读全文
posted @ 2016-07-04 17:43 一谦的视界 阅读(1985) 评论(0) 推荐(0) 编辑
摘要: APKtool 用途:获取mainifest.xml res等资源文件 下载:http://ibotpeaches.github.io/Apktool/install/ 使用:apktool d test.apk dex2jar 用途:获取项目源码的jar包 下载:https://github.co 阅读全文
posted @ 2016-07-04 14:00 一谦的视界 阅读(452) 评论(0) 推荐(0) 编辑
摘要: nohup 用途:LINUX命令用法,不挂断地运行命令。 语法:nohup Command [ Arg ... ] [ & ] 描述:nohup 命令运行由 Command 参数和任何相关的 Arg 参数指定的命令,忽略所有挂断(SIGHUP)信号。在注销后使用 nohup 命令运行后台中的程序。要 阅读全文
posted @ 2016-07-04 10:03 一谦的视界 阅读(536) 评论(0) 推荐(0) 编辑