Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-8819

BlackBerry: Implement Titanium.UI.EmailDialog

    Details

      Description

      Implement the EmailDialog which allows users to compose and send emails.

      For BlackBerry we will use the invocation API to open the email application
      on the device with pre-populated fields. This works similarly to Android and MobileWeb.

      Acceptance Test

      var win = Titanium.UI.createWindow({});
       
      var btn = Ti.UI.createButton({
          title: 'open'
      });
       
      win.add(btn);
       
      // Opens email composer with pre-filled fields.
      btn.addEventListener('click', function(){
          var email = Ti.UI.createEmailDialog({
              toRecipients: ['email@domain.com', 'email@domain.com'],
              ccRecipients: ['email@domain.com'],
              bccRecipients: ['email@domain.com'],
              messageBody: 'This is the message body',
              subject: 'this is a title',
              html: true
          });
          email.open();
      });
       
      win.open();
      

      *Note* This must be tested on device and the device needs to have at least one email account setup. If on simulator, it will not open the email dialog.

        Attachments

          Activity

            People

            • Assignee:
              penrique Pedro Enrique (Inactive)
              Reporter:
              joshroesslein Josh Roesslein
              Reviewer:
              Josh Roesslein
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration