Close the task list

  1. Import the required classes and interfaces.
    import javax.microedition.pim.PIMException;
    import javax.microedition.pim.ToDoList;
    
  2. Invoke ToDoList.close().
  3. Create code that manages exceptions.
    try 
    { 
       todoList.close(); 
    } 
    catch (PIMException e) 
    { 
       // Handle exception
    }
Previous topic: Delete a task

Was this information helpful? Send us your comments.