org.androidpn.client
Class NotificationService
java.lang.Object
Service
org.androidpn.client.NotificationService
public class NotificationService
- extends Service
Service that continues to run in background and respond to the push
notification events from the server. This should be registered as service
in AndroidManifest.xml.
- Author:
- Sehwan Noh (devnoh@gmail.com)
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVICE_NAME
public static final java.lang.String SERVICE_NAME
- See Also:
- Constant Field Values
NotificationService
public NotificationService()
onCreate
public void onCreate()
onStart
public void onStart(Intent intent,
int startId)
onDestroy
public void onDestroy()
onBind
public IBinder onBind(Intent intent)
onRebind
public void onRebind(Intent intent)
onUnbind
public boolean onUnbind(Intent intent)
getIntent
public static Intent getIntent()
getExecutorService
public java.util.concurrent.ExecutorService getExecutorService()
getTaskSubmitter
public NotificationService.TaskSubmitter getTaskSubmitter()
getTaskTracker
public NotificationService.TaskTracker getTaskTracker()
getXmppManager
public XmppManager getXmppManager()
getSharedPreferences
public SharedPreferences getSharedPreferences()
getDeviceId
public java.lang.String getDeviceId()
connect
public void connect()
disconnect
public void disconnect()