Create a new blank task

  1. Import the required classes and interfaces.
    import net.rim.blackberry.api.invoke.Invoke;
    import net.rim.blackberry.api.invoke.TaskArguments;
    
  2. Invoke Invoke.invokeApplication() using the APP_TYPE_TASKS field, and a new TaskArguments object created using the ARG_NEW field.
    Invoke.invokeApplication(Invoke.APP_TYPE_TASKS, 
       new TaskArguments( TaskArguments.ARG_NEW));
Previous topic: View or change a task

Was this information helpful? Send us your comments.