W3C home > Mailing lists > Public > public-sysapps@w3.org > December 2012

[Messaging API based on webinos]

From: Nilsson, Claes1 <Claes1.Nilsson@sonymobile.com>
Date: Mon, 24 Dec 2012 11:45:05 +0100
To: "public-sysapps@w3.org" <public-sysapps@w3.org>
CC: "webinos-wp8-ml@fokus.fraunhofer.de" <webinos-wp8-ml@fokus.fraunhofer.de>, 'Christian Fuhrhop' <christian.fuhrhop@fokus.fraunhofer.de>, 'Vercelli Stefano' <stefano.vercelli@telecomitalia.it>
Message-ID: <6DFA1B20D858A14488A66D6EEDF26AA35D7F8B03F0@seldmbx03.corpusers.net>
Hi,

I have submitted an example of a Messaging API, http://sysapps.github.com/sysapps//proposals/Messaging_webinos/Messaging.HTML<http://sysapps.github.com/sysapps/proposals/Messaging_webinos/Messaging.HTML>, that supports SMS, MMS, E-mail and IM based on the current Webinos Messaging API, which originally was based on the WAC Messaging API.

This API has been implemented for SMS in the Android Webinos platform.

Notes:

*        There has been a discussion, starting here http://lists.w3.org/Archives/Public/public-sysapps/2012Oct/0040.html,  on whether SysApps  only should specify an SMS/MMS API and leave support for the other messaging technologies to JS libraries that use the Raw Socket API. I am not taking a specific position here. The purpose with this submission is to give an example of an API that directly provides high level support for several Messaging technologies. This example can be beneficial in further discussions on the approach on whether E-mail/IM should be supported directly by a standardized API or by JS libraries that leverage the Raw Socket API.


*        There has also been a discussion about filtering. The webinos proposal contains a MessageFilter dictionary that defines specific filtering attributes. However, a general approach to data models and filtering has been proposed, starting at http://lists.w3.org/Archives/Public/public-sysapps/2012Nov/0022.html, and we should probably follow such an approach for Messaging as well.


*        In this proposal traditional callback function references is used in method definitions, which differs from the style in other API proposals submitted to SysApps. They use a return type that is an interface that represents an ongoing operation. There is no specific reason for this difference in the Webinos Messaging API. If the WG decides to base the Messaging API on the Webinos example then style could be adapted to the style of the other SysApps APIs.


*        We have included a cancel() method allowing applications cancel an ongoing sendMessage or findMessage operation. This might be controversial and this kind of method is generally not included in W3C APIs and implementability is probably an issue. One exception is the File reader API, which allows read operations to be aborted. So there are situations where an ongoing asynchronous operation may need have to be aborted. Need to be discussed.

Best regards
  Claes
[cid:image001.gif@01CDD937.7B583760]

Claes Nilsson M.Sc.E.E
Master Engineer, Research
Technology Research - Advanced Application Lab

Sony Mobile Communications
 Phone:  +46 10 80 15178
Mobile: +46 705 56 68 78
Switchboard: +46 10 80 00000
E-Mail: mailto:claes1.nilsson@sonymobile.com<mailto:claes1.nilsson@sonyericsson.com>
Visiting Address; Nya Vattentornet
SE-221 88 LUND,
Sweden
Disclaimer:
The information in this e-mail is confidential and may be legally privileged. It is intended solely for the named recipient(s) and access to this e-mail by anyone else is unauthorized. The views are those of the sender and not necessarily the views of Sony Ericsson and Sony Ericsson accepts no responsibility or liability whatsoever or howsoever arising in connection with this e-mail.Any attachment(s) to this message has been checked for viruses, but please rely on your own virus checker and procedures. If you contact us by e-mail, we will store your name and address to facilitate communications. If you are not the intended recipient, please inform the sender by replying this transmission and delete the e-mail and any copies of it without disclosing it.




image001.gif
(image/gif attachment: image001.gif)

Received on Monday, 24 December 2012 10:45:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 24 December 2012 10:45:36 GMT