Android Open Source - androidto-alerts Constants






From Project

Back to project page androidto-alerts.

License

The source code is released under:

# License This license applies to all parts of this project that are not externally maintained libraries. The externally maintained libraries used by this project are: - Android C2DM Library, locat...

If you think the Android project androidto-alerts listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.rahulagarwal.android.androidtoalerts;
/*from  w  w w  .  j  a  va2 s  .  c o m*/
public final class Constants {
  
  //Fill the following according to the correct Account configuration
  public static final String SENDER_ACCOUNT_EMAIL   = "androidtoalertsapp@gmail.com";
  public static final String PUSH_SERVER_PATH     = "INCLUDE_SERVER_URL_HERE";
  
  
  public static final String PREF_NAME         = "androidto-alerts-preferences";
  public static final String LOG_TAG           = "androidto-alerts: ";
  
  public static final String LAST_ALERT_MESSAGE     = "com.rahulagarwal.android.androidtoalerts.LAST_ALERT_MESSAGE";
  
  public static final String UPDATE_UI_ACTION_ERROR     = "com.rahulagarwal.android.androidtoalerts.UPDATE_UI_ERROR";
  public static final String UPDATE_UI_ACTION        = "com.rahulagarwal.android.androidtoalerts.UPDATE_UI";
  
  public static final String REGISTER_PATH     =  PUSH_SERVER_PATH + "alertspusher/register/";
  public static final String UNREGISTER_PATH     = PUSH_SERVER_PATH + "alertspusher/unregister/";
  
  public static final String STATUS_EXTRA = "Status";
    public static final int REGISTERED_STATUS = 1;
    public static final int AUTH_ERROR_STATUS = 2;
    public static final int UNREGISTERED_STATUS = 3;
    public static final int ERROR_STATUS = 4;
}




Java Source Code List

com.google.android.c2dm.C2DMBaseReceiver.java
com.google.android.c2dm.C2DMBroadcastReceiver.java
com.google.android.c2dm.C2DMessaging.java
com.rahulagarwal.android.androidtoalerts.C2DMReceiver.java
com.rahulagarwal.android.androidtoalerts.Constants.java
com.rahulagarwal.android.androidtoalerts.DeviceRegistrar.java
com.rahulagarwal.android.androidtoalerts.MainActivity.java