Hi, thank you for sending this mail! One note that applies also for the previous "intent to implement" mails, in "Target Release:" please use the Crosswalk release number, e.g. in this case Crosswalk-3 (if that's what you meant). The M milestones are something we use internally and don't mean much to the community.
Thanks! Francesco From: Crosswalk-dev [mailto:[email protected]] On Behalf Of Gao, Shawn Sent: Monday, November 11, 2013 9:20 AM To: [email protected] Subject: [Crosswalk-dev] Intent to Implement System App Messaging API Intent to Implement System App Messaging API Summary: This implementation is going to add Messaging API(http://www.w3.org/2012/sysapps/messaging/). Let Javascript developers have ability to send/receive sms/mms and manage messages on Crosswalk. Managing features include find by filter, read and delete messages. Affected component: /xwalk/runtime Related feature: https://crosswalk-project.org/jira/browse/XWALK-53 Target Release: M4 Implementation details: There are 3 parts of implementation. SmsManager, MmsManager, MessagingManager. Each of the 3 is divided into 2 side, Java side and Javascript side. 1. SmsManager. 1) Send. Javascript side, when send api is called, create and push promise object to waiting list. If get send ok/failure message from Java side, found promise object by id and call resolve function. Java side, register intent for send ok/failure event and delivery ok/failure event. When gets send request from Javascript, call Android send sms api. Then receive the ok/failure event, and send these back to Javascript side. 2) Receive. Javascript side, register receive event handler. Java side, register receive event handler by Android Api. When sms comes, send message to Javascript side and call receive event handler. 2. MmsManager. Similar with SmsManager. 3. MessagingManager. Javascript side is similar to SmsManager 1) Find. Search sms/mms by ContentResolver. 2) Read. Read one sms/mms by ContentResolver. 3) Delete. Delete sms/mms by ContentResolver. --------------------------------------------------------------------- Intel Finland Oy Registered Address: PL 281, 00181 Helsinki Business Identity Code: 0357606 - 4 Domiciled in Helsinki This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
_______________________________________________ Crosswalk-dev mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev
