Android Open Source - To-Do-List-for-Glass To Do Task

From Project

Back to project page To-Do-List-for-Glass.


The source code is released under:

MIT License

If you think the Android project To-Do-List-for-Glass 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.expositomarc.basicglassapp;
//w ww. ja  v  a2  s .c  o  m

// Simple task to do 
public class ToDoTask {
  // At this moment our task will only have one string
  private String mTask = "";
  // Constructor with initial String
  public ToDoTask (String stringTask) {
    mTask = stringTask;
  // Get task as String
  public String getTask() {
    return mTask;
  // Set task as string
  public void setTask(String task) {
    mTask = task;


Java Source Code List