Save a task
- Import the required classes and interfaces.
import javax.microedition.pim.ToDo;
import javax.microedition.pim.ToDoList;
- Before you commit your changes, invoke isModified()
to determine whether any task fields have changed since the task was last saved.
- Invoke commit().
if(task.isModified())
{
task.commit();
}
Was this information helpful? Send us your comments.