{ "id": "90635", "key": "TIMOB-8819", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "15115", "description": "2013 Sprint 10 BB", "name": "2013 Sprint 10 BB", "archived": true, "released": true, "releaseDate": "2013-05-20" }, { "id": "15108", "description": "2013 Sprint 10", "name": "2013 Sprint 10", "archived": true, "released": true, "releaseDate": "2013-05-20" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-05-17T22:06:50.000+0000", "created": "2012-04-20T09:54:32.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "blackberry", "notable", "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2013-10-25T08:05:05.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "Implement the EmailDialog which allows users to compose and send emails.\r\n\r\nFor BlackBerry we will use the invocation API to open the email application\r\non the device with pre-populated fields. This works similarly to Android and MobileWeb.\r\n\r\nh3. Acceptance Test\r\n{code}\r\nvar win = Titanium.UI.createWindow({});\r\n\r\nvar btn = Ti.UI.createButton({\r\n title: 'open'\r\n});\r\n\r\nwin.add(btn);\r\n\r\n// Opens email composer with pre-filled fields.\r\nbtn.addEventListener('click', function(){\r\n var email = Ti.UI.createEmailDialog({\r\n toRecipients: ['email@domain.com', 'email@domain.com'],\r\n ccRecipients: ['email@domain.com'],\r\n bccRecipients: ['email@domain.com'],\r\n messageBody: 'This is the message body',\r\n subject: 'this is a title',\r\n html: true\r\n });\r\n email.open();\r\n});\r\n\r\nwin.open();\r\n{code}\r\n\r\n**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.", "attachment": [], "flagged": false, "summary": "BlackBerry: Implement Titanium.UI.EmailDialog", "creator": { "name": "fboisvert", "key": "fboisvert", "displayName": "Francois Boisvert", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "195916", "author": { "name": "tpetrenko", "key": "tpetrenko", "displayName": "Tatyana Petrenko", "active": true, "timeZone": "America/New_York" }, "body": "sz: coming later, there will only be an ability to launch an email app new-email with pre-populated input…", "updateAuthor": { "name": "tpetrenko", "key": "tpetrenko", "displayName": "Tatyana Petrenko", "active": true, "timeZone": "America/New_York" }, "created": "2012-05-24T07:35:29.000+0000", "updated": "2012-07-10T08:40:42.000+0000" }, { "id": "218686", "author": { "name": "tpetrenko", "key": "tpetrenko", "displayName": "Tatyana Petrenko", "active": true, "timeZone": "America/New_York" }, "body": "Not supported by Cascades directly. The only thing that can be done is launching an e-mail app and populating fields. This control should either be removed from Beta scope or implemented in a custom way.", "updateAuthor": { "name": "tpetrenko", "key": "tpetrenko", "displayName": "Tatyana Petrenko", "active": true, "timeZone": "America/New_York" }, "created": "2012-09-12T12:51:53.000+0000", "updated": "2012-09-12T12:51:53.000+0000" }, { "id": "248630", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Delaying this feature until we can workout issues with the Invocation for sending email.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-22T17:45:40.000+0000", "updated": "2013-04-22T17:45:40.000+0000" }, { "id": "251872", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull request with sample code and details on functionality:\n\nhttps://github.com/appcelerator/titanium_mobile_blackberry/pull/37", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-05-14T19:06:54.000+0000", "updated": "2013-05-14T19:06:54.000+0000" }, { "id": "276746", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fix with:\r\n\r\n\r\nAppcelerator Studio: 3.2.0.201310230601\r\nSDK:3.2.0.v20131024120843\r\nalloy: 1.2.2\r\nacs: 1.0.7\r\nnpm: 1.3.2\r\ntitanium: 3.2.0\r\ntitanium-code-processor: 1.0.3\r\nDevice:Blackberry Z10(v 10.0)\r\nOS: OSX 10.9\r\n\r\nEmail Dialog working fine.\r\nChecked for email receive also.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-25T08:04:42.000+0000", "updated": "2013-10-25T08:04:42.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }