上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 15 下一页
摘要: http://blog.csdn.net/liaoqianchuan00/article/details/24094733 使用LoaderManager 1. 简单的API让你的Activity/Fragment可以和Loaders进行交互。 2. 每个Activity和每个Fragment只有一 阅读全文
posted @ 2016-03-07 18:29 我在途中 阅读(590) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/com360/article/details/14125683 java中,有个概念叫做“类加载器”(ClassLoader),它的作用就是动态的装载Class文件。标准的java sdk中有一个 ClassLoader类,借助这个类可以装载想要的Class 阅读全文
posted @ 2016-03-04 17:54 我在途中 阅读(1909) 评论(0) 推荐(0) 编辑
摘要: 在手机的/data/system/下面 com.android.soundrecorder 10021 0 /data/data/com.android.soundrecorder com.android.sdksetup 10020 0 /data/data/com.android.sdksetu 阅读全文
posted @ 2016-03-04 17:28 我在途中 阅读(1013) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/jscese/article/details/24243171 在我的第一篇博客里面http://blog.csdn.net/jscese/article/details/12184513#comments,有提到AndroidManifest.xml中的a 阅读全文
posted @ 2016-03-04 16:46 我在途中 阅读(3229) 评论(0) 推荐(0) 编辑
摘要: Android中如何修改系统时间(应用程序获得系统权限) 在android的API中有提供 SystemClock.setCurrentTimeMillis()函数来修改系统时间,可惜无论你怎么调用这个函数都是没用的,无论模拟器还是真机,在logcat中总会得到"Unable to open ala 阅读全文
posted @ 2016-03-04 16:22 我在途中 阅读(2628) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/jscese/article/details/12184513#comments 转载 当需要调试的apk 的AndroidManifest.xml中有使用 android:sharedUserId="android.uid.system" ,表示此apk和 阅读全文
posted @ 2016-03-04 16:00 我在途中 阅读(4340) 评论(0) 推荐(0) 编辑
摘要: Intent backMain=new Intent(Intent.ACTION_MAIN); backMain.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK); backMain.addCategory(Intent.CATEGORY_HOME); startA 阅读全文
posted @ 2016-03-04 14:43 我在途中 阅读(135) 评论(0) 推荐(0) 编辑
摘要: http://my.oschina.net/zhibuji/blog/195097 主要解决: 在android中,多个进程对同一个sharedpreference进行修改,总会有一个进程获取到的结果不是实时修改后的结果。 SharedPreference作为android五大存储(网络,数据库,文 阅读全文
posted @ 2016-03-03 19:25 我在途中 阅读(3023) 评论(0) 推荐(0) 编辑
摘要: 1. 定义一个接口InterestingEvent ,回调方法nterestingEvent(String event) 简单接收一个String 参数。 interface InterestingEvent { public void interestingEvent(String event); 阅读全文
posted @ 2016-02-29 11:03 我在途中 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 首先是要获取应用的安装状态,通过广播的形式 以下是和应用程序相关的Broadcast Action ACTION_PACKAGE_ADDED 一个新应用包已经安装在设备上,数据包括包名(最新安装的包程序不能接收到这个广播) ACTION_PACKAGE_REPLACED 一个新版本的应用安装到设备, 阅读全文
posted @ 2016-02-26 11:22 我在途中 阅读(3489) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 15 下一页