|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectandroid.content.BroadcastReceiver
com.netmera.mobile.NetmeraBroadcastReceiver
public class NetmeraBroadcastReceiver
This is used to receive Push messages and deliver them to
NetmeraIntentService. This BroadcastReceiver should be defined between the
<application></application>
tags in the
AndroidManifest.xml file.
<receiver android:name="com.netmera.mobile.NetmeraBroadcastReceiver" android:permission="com.google.android.c2dm.permission.SEND">
<intent-filter>
<!-- Receives the actual messages. -->
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<!-- Receives the registration id. -->
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="com.google.android.gcm.demo.app" />
</intent-filter>
</receiver>
Nested Class Summary |
---|
Nested classes/interfaces inherited from class android.content.BroadcastReceiver |
---|
android.content.BroadcastReceiver.PendingResult |
Constructor Summary | |
---|---|
NetmeraBroadcastReceiver()
|
Method Summary | |
---|---|
void |
onReceive(android.content.Context context,
android.content.Intent intent)
This is used to receive Push messages and deliver them to NetmeraIntentService . |
Methods inherited from class android.content.BroadcastReceiver |
---|
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NetmeraBroadcastReceiver()
Method Detail |
---|
public void onReceive(android.content.Context context, android.content.Intent intent)
NetmeraIntentService
.
onReceive
in class android.content.BroadcastReceiver
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |