Save a task

  1. Import the required classes and interfaces.
    import javax.microedition.pim.ToDo;
    import javax.microedition.pim.ToDoList;
    
  2. Before you commit your changes, invoke isModified() to determine whether any task fields have changed since the task was last saved.
  3. Invoke commit().
    if(task.isModified()) 
    {
       task.commit();
    }
Previous topic: Change task information

Was this information helpful? Send us your comments.