Android 性能优化总结 经验

protected void onHandleIntent(Intent intent) { String action = intent.getAction(); if ("com.test.DO_JOB_1"

wzlx2000 2016-10-24   8041   0

带你学开源项目:LeakCanary-如何检测 Activity 是否泄漏 经验

这里面涉及到两个新的对象: AndroidHeapDumper 和 AndroidWatchExecutor ,前者用来 dump 堆内存状态的,后者则是用来 watch 一个引用的监听器。具体原理后面再看。总之,这里已经生成好了一个

JocelynO45 2017-05-16   17120   0
P50

  Android学习笔记 文档

可以在程序中设置断点),支持模拟器上的截屏,支持线程和堆栈信息和其他的一些特性。 Logcat,Dump一份系统消息的日志。这些消息包括模拟器抛出错误时的堆栈跟踪。 Android Log, 打印日志

liuwt 2010-09-19   763   0
P299

  Android 开发技巧汇总 文档

vity节点下有这样一个intent-filter,其action为android.intent.action.MAIN, Category指定为 android.intent.category.LAUNCHER

粪豆的蜗牛 2012-11-04   572   0
P393

  Android 开发技巧合集 文档

4、Activity 的跳转(含Bundle传值) 17 2.1.5.Actvity 堆栈 18 2.1.6、Intent对象调用Activity实例 19 2.1.7、Activity透明 21 2.1.8、一次性关闭所有的Activity

ebuilder 2012-01-04   1105   0
P393

  Android 开发技巧合集 文档

4、Activity 的跳转(含Bundle传值) 17 2.1.5.Actvity 堆栈 18 2.1.6、Intent对象调用Activity实例 19 2.1.7、Activity透明 21 2.1.8、一次性关闭所有的Activity

粪豆的蜗牛 2012-11-04   477   0
P12

  Android自动化测试初探:捕获Activity上的Element 文档

Automation的事情呢?不幸的是,Android的权限控制分的非常清楚,不同程序之间的数据访问只能通过Intent,content provider类似的功能实现。也就是说你开发的运行在Android中的自动化程序想要捕获当前运行的AUT

pk1234 2011-12-28   490   0

Android应用Loaders全面详解及源码浅析 经验

Loader getLoader(int id); public abstract void dump(String prefix, FileDescriptor fd, PrintWriter writer

jopen 2016-01-19   14344   0

Android Framework之PMS篇 经验

defcontainer.DefaultContainerService") Intent service = new Intent().setComponent(DEFAULT_CONTAINER_COMPONENT);

84478543 2017-03-09   17423   0

Android打开各种类型的文件方法总结 经验

很简单,通过调用系统的intent,我们可以打开各种文件,不熟悉的朋友可以了解下action、datatype、uri的相关知识。 通用方法如下: public static Intent openFile(String

jopen 2014-09-25   84536   0

android 调用系统各种应用 经验

Intent跳转到系统应用中的拨号界面、联系人界面、短信界面及其他 现在开发中的功能需要直接跳转到拨号、联系人、短信界面等等,查找了很多资料,自己整理了一下。 首先,我们先看拨号界面,代码如下:

jopen 2013-11-13   88537   0

android 常用调用系统功能 经验

从google搜索内容 Intent intent = new Intent(); intent.setAction(Intent.ACTION_WEB_SEARCH); intent.putExtra(SearchManager

jopen 2013-08-09   46244   0
P10

  Android 常用的系统调用 文档

从google搜索内容 Intent intent = new Intent(); intent.setAction(Intent.ACTION_WEB_SEARCH); intent.putExtra(SearchManager

jiangjiang 2012-10-02   549   0

android 文件浏览器实现 代码段

android.content.Context; import android.content.Intent; import android.graphics.Color; import android

cd33 2015-03-28   5427   0
Android  
P8

  Android开发 各种小知识大全 文档

为程序创建桌面快捷方式 */ private void addShortcut(){ Intent shortcut = new Intent("com.android.launcher.action.INSTALL_SHORTCUT");

lssk2009 2014-06-11   488   0

Android 调用系统Email发送带多附件的邮件 经验

使用的Intent。当然,Email也不例外。 在Android中,调用Email有三种类型的IntentIntent.ACTION_SENDTO  无附件的发送 Intent.ACTION_SEND

jopen 2012-09-07   367574   0
P5

  Android 相关知识 文档

Intent用法 : Intent应该算是Android中特有的东西。你可以在Intent中指定程序要执行的动作(比如:view,edit,dial),以及程序执行到该动作时所需要的资料。都指定好后

ThomasRay 2012-07-01   381   0
P8

  Android 系统服务大全 文档

"android.intent.action.ADD_SHORTCUT" String ALL_APPS_ACTION 动作:列举所有可用的应用。 输入:无。 "android.intent.action

xw0079989 2012-05-16   3359   0

Android快捷图标的创建与移除 代码段

icon = Intent.ShortcutIconResource.fromContext( getApplicationContext(), R.drawable.logo); Intent intent

jopen 2015-06-15   934   0
Android  
P3

  android调用系统服务 文档

String android.intent.action.VIEW 用于显示用户的数据。比较通用,会根据用户的数据类型打开相应的Activity。比如 tel:13400010001打开拨号程序,http://www

mc54 2013-11-23   3827   0
1 2 3 4 5 6 7 8 9 10