Android Open Source - fco-alerts-app Notified Alert






From Project

Back to project page fco-alerts-app.

License

The source code is released under:

MIT License

If you think the Android project fco-alerts-app 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 uk.co.eleusis.android.fcoalerts;
//  w w w  .jav  a 2  s  .  c  om
/**
 * This represents the content we get delivered from the server via
 * Google Cloud Messages. It's a deliberately cut-down version of the
 * full alert, with just the information we need.
 * 
 * @author keithm
 *
 */
public class NotifiedAlert 
{
  private String messageId;
  private String title;
  private String description;
  private String link;

  public NotifiedAlert()
  {
    
  }
  
  public NotifiedAlert(String messageId, String title, String description, String link) 
  {
    this.messageId = messageId;
    this.title = title;
    this.description = description;
    this.link = link;
  }

  
  public String getTitle() 
  {
    return title;
  }
  
  public void setTitle(String title) 
  {
    this.title = title;
  }
  
  public String getDescription() 
  {
    return description;
  }
  
  public void setDescription(String description)
  {
    this.description = description;
  }
  
  public String getLink() 
  {
    return link;
  }
  
  public void setLink(String link) 
  {
    this.link = link;
  }

  public String getMessageId() 
  {
    return messageId;
  }

  public void setMessageId(String messageId) 
  {
    this.messageId = messageId;
  }
}




Java Source Code List

uk.co.eleusis.android.fcoalerts.Constants.java
uk.co.eleusis.android.fcoalerts.CountryPrefs.java
uk.co.eleusis.android.fcoalerts.GCMRegistration.java
uk.co.eleusis.android.fcoalerts.GcmBroadcastReceiver.java
uk.co.eleusis.android.fcoalerts.GcmIntentService.java
uk.co.eleusis.android.fcoalerts.MainActivity.java
uk.co.eleusis.android.fcoalerts.NotificationDeleteReceiver.java
uk.co.eleusis.android.fcoalerts.NotificationForwardReceiver.java
uk.co.eleusis.android.fcoalerts.NotificationStore.java
uk.co.eleusis.android.fcoalerts.NotifiedAlert.java
uk.co.eleusis.android.fcoalerts.Notifier.java
uk.co.eleusis.android.fcoalerts.RegidChangeListener.java
uk.co.eleusis.android.fcoalerts.ServerComms.java
uk.co.eleusis.android.fcoalerts.SettingsDisplay.java