Android Open Source - text-snippets Snippet






From Project

Back to project page text-snippets.

License

The source code is released under:

GNU General Public License

If you think the Android project text-snippets 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 org.sirimangalo.textsnippets;
/*  ww w  .ja  v a2  s.c  o m*/
public class Snippet {
  private long id;
  private String snippet;
  private String comment;

  public long getId() {
    return id;
  }

  public void setId(long id) {
      this.id = id;
  }

  public String getSnippet() {
      return snippet;
  }
  public String getComment() {
      return comment;
  }

  public void setSnippet(String snippet, String comment) {
    this.snippet = snippet;
    this.comment = comment;
  }

  // Will be used by the ArrayAdapter in the ListView
  @Override
  public String toString() {
    return snippet;
  }
}




Java Source Code List

org.sirimangalo.textsnippets.MySQLiteHelper.java
org.sirimangalo.textsnippets.SnippetAdapter.java
org.sirimangalo.textsnippets.SnippetWidgetProvider.java
org.sirimangalo.textsnippets.SnippetWidgetService.java
org.sirimangalo.textsnippets.Snippet.java
org.sirimangalo.textsnippets.SnippetsActivity.java
org.sirimangalo.textsnippets.SnippetsDataSource.java
org.sirimangalo.textsnippets.TextSnippetsBackupAgent.java