The source code of the BootCompletedReceiver class of the famous IM app
2014-05-09 23:58
344 查看
package cn.com.xetion.receiver; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import cn.com.xetion.App; import cn.com.xetion.LogF; import cn.com.xetion.util.AndroidUtil; public class BootCompletedReceiver extends BroadcastReceiver { private final String fTag = "BootCompletedReceiver"; private App mApp; public void onReceive(Context paramContext, Intent paramIntent) { this.mApp = ((App)paramContext.getApplicationContext()); LogF.d("BootCompletedReceiver", "onReceive.intent = " + AndroidUtil.toString(paramIntent)); if ("android.intent.action.BOOT_COMPLETED".equals(paramIntent.getAction())) this.mApp.sendAction(paramIntent); } }
相关文章推荐
- The source code of the Receiver class of the famous IM app
- The source code of the SmsReceiver class of the famous IM app
- The source code of the Account class of the famous IM app
- The Source Code of ActionScript 3 Cookie class
- FFmpeg Understanding(2. Where to download the source code of FFMPEG?)
- idea类变成红圈中间一个J(Java class located out of the source root. )解决办法
- The Ultimate List of Open Source Static Code Analysis Security Tools
- The configurations 4 the default_system of the famous IM app
- [笔记] How to get the versionCode and versionName of your app
- The Logbook of Qt Source Code Reading(1)
- C#也能写病毒,源代码分析 the analysis of C# virus source code
- How to get the source code of the chromium of the specified revision
- C#也能写病毒,源代码分析 the analysis of C# virus source code
- How to get the source code of the chromium of the specified revision
- why separate the source code of a codec into two p
- View the format of IEEE 754 floating point numbers source code
- How to code the forward declaration of class or struct using template?
- 著名的安装制作软件InnoSetup的源码及示例源码-The installation of a well-known software s source code and sample InnoSetup source
- why separate the source code of a codec into two p
- iOS:Class Foo is implemented in both MyApp and OtherApp. One of the two will be used. Which one is u