- 博客(62)
- 资源 (4)
- 收藏
- 关注
转载 Understanding Android dumpsys output for activity task record
dumpsys is a useful command that dumps interesting system state to the log.It provides various useful system states like battery statistic, wifi informations, CPU info, meminfo for all processes, ac
2015-05-21 17:40:01 916
转载 Android简单自定义圆形和水平ProgressBar
转自——http://blog.csdn.net/mad1989/article/details/38042875ProgressBar简介继承于View类,直接子类有AbsSeekBar和ContentLoadingProgressBar,其中AbsSeekBar的子类有SeekBar和RatingBar,可见这二者也是基于ProgressBar实现的。
2015-04-14 11:57:09 1113
转载 【译】Android Studio使用技巧系列之快捷键01
转自:http://chenqichao.me/2015/03/18/113-Android-Studio-Tips-01/#more#0-tsina-1-34161-397232819ff9a47a7b7e80a40613cfe1本篇大部分内容翻译自《Android Studio Tips & Tricks: Moving Around》,所有原始出处均标明,感谢原作者辛苦码
2015-03-19 12:03:03 1993
转载 详解Andorid下SQLite存储方式
转自:http://www.sqlite.com.cn/MySqlite/4/565.Html作者:Himi 李华明 来源:www.sqlite.com.cn 时间:2011-8-16 【 字体:大 中 小 】 〖 双击滚屏 〗 先介绍几个基本概念知识:什么是SQLite:SQLite是一
2015-03-12 19:02:41 434
原创 Intent的隐式方式启动Activity
Intent在Android中intent是消息的载体,使用它来让组件(component)执行操作。其主要用途有三:1.启动一个Activity2.启动一个Service3.派送broadcastIntent有两种类型:显式的Intent(Explicit intents) 隐式的Intent(Implicit intents)在这里我要说明的是
2015-03-05 16:22:19 4404
转载 Execution process of java program
com from:http://docs.oracle.com/javase/specs/jls/se7/html/jls-12.htmlChapter 12. ExecutionTable of Contents12.1. Java Virtual Machine Startup12.1.1. Load the Class Test12.1.2. Link T
2015-02-26 16:35:21 1180
转载 Java 反射机制
发现一片不错的Java 反射机制讲解的文章,是04年程序员杂志10期侯捷先生的文章转一下。网盘地址如下:http://pan.baidu.com/s/1eyzQQ
2015-02-26 12:03:09 371
翻译 如何检查数据连接
在AndroidManifest.xml文件中增加如下代码: android:name=".YOURRECEIVER"> android:name="android.net.conn.CONNECTIVITY_CHANGE" /> android:name="android.permission.ACCESS_NETWORK_STATE" />然后再写
2015-01-30 11:38:10 477
转载 Android Enalbe /Disable DataConnection
Use this class as it is and call it methods when ever you want to Enalbe /Disable DataConnectionimport java.lang.reflect.InvocationTargetException;import java.lang.reflect.Method;import java.lan
2015-01-20 18:41:00 827
转载 Static Blocks in Java
come from:http://www.jusfortechies.com/java/core-java/static-blocks.phpIn java you see "static variables", "static methods", "static classes" and "static blocks". Static variables, static method
2015-01-06 11:56:35 658
转载 使用Fiddler对手机应用进行抓包测试
转自——http://blogread.cn/it/article/6907?f=wb#original手机应用的抓包测试相对于PC上要麻烦一些。以下内容来自公司QA的指导,感谢~需要的软件:抓包工具FiddlerWIFI共享工具:猎豹免费WIFI (使用360WIFI等均可,只要保证在同一局域网下就都可以,连接同一个路由器也可以)现在开始真实的抓包:
2014-11-21 15:49:38 734
原创 onInterceptTouchEvent 和 onTouchEvent
public boolean onInterceptTouchEvent (MotionEvent ev)
2014-11-17 21:03:50 501
转载 基础总结篇之二:Activity的四种launchMode
原文:http://blog.csdn.net/liuhe688/article/details/6754323
2014-11-11 22:05:42 557
转载 ViewConfiguration.getScaledTouchSlop () 用法
转自——http://www.jcodecraeer.com/a/anzhuokaifa/androidkaifa/2013/0225/907.html摘要 getScaledTouchSlop是一个距离,表示滑动的时候,手的移动要大于这个距离才开始移动控件。 /** * 包含了方法和标准的常量用来设置UI的超时、大小和距离 */ public class ViewConfigur
2014-11-11 16:23:23 9690
转载 Android Animations动画使用详解
转自——http://blog.csdn.net/ithomer/article/details/7523328一、动画类型Android的animation由四种类型组成:alpha、scale、translate、rotateXML配置文件中alpha渐变透明度动画效果scale渐变尺寸伸缩
2014-11-05 10:35:24 545
转载 解决HierarchyViewer不能连接真机的问题
今天想通过HierarchyViewer分析一下Android应用的布局,但是发现无法连接上真机,错误如下:12345[hierarchyviewer]Unable to get view server version from device 00856cd5d0
2014-11-03 15:44:03 26802 4
转载 Why this line xmlns:android=“http://schemas.android.com/apk/res/android” must be the first in the la
40down voteaccepteIn XML, xmlns declares a Namespace. In fact, when you do: android:id>Instead of calling android:id, the xml will use http://schemas.android.com/apk/res/android:i
2014-10-30 15:02:49 977
翻译 android开发过程中避免内存泄露
OriginalIn summary, to avoid context-related memory leaks, remember the following:Do not keep long-lived references to a context-activity (a reference to an activity should have the same lif
2014-10-28 11:50:46 498
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人