Create a new blank SMS text message

  1. Import the required classes and interfaces.
    import net.rim.blackberry.api.invoke.Invoke;
    import net.rim.blackberry.api.invoke.MessageArguments;
    
  2. Invoke Invoke.invokeApplication(). Use the following parameters: the APP_TYPE_MESSAGES constant parameter and a new MessageArguments object that uses the ARG_NEW_SMS field.
    Invoke.invokeApplication(Invoke.APP_TYPE_MESSAGES, 
       new MessageArguments( MessageArguments.ARG_NEW_SMS));
    
Previous topic: Message list

Was this information helpful? Send us your comments.