| Home · All Classes · Annotated · Functions |
Provides the Qtopia Push service. More...
#include <PushService>
Inherits QCopObject.
Provides the Qtopia Push service.
The Push service enables applications to receive WAP Push and Over-The-Air (OTA) messages via SMS.
It is recommended that applications use the WapPushDatagramService class to process WAP Push messages because it can parse the header to match the MIME content type, relieving the application of the need to do so.
Push services are named Push/T where T is the MIME type. For example, messages of type application/vnd.wap.connectivity-wbxml are handled by a service called Push/application/vnd.wap.connectivity-wbxml.
An application provides a WAP Push service by placing a file in $QPEDIR/Push/T with the same name as the application binary, and the following content:
[Extensions]
[Standard]
Version = 100
SMS application messages, which are identified by port number, should be handled by the smsapp service.
See also WapPushDatagramService and smsappService.
Process a WAP Push message that arrived via SMS. The application will need to parse the applicationData() to extract the WAP Push header and match against the expected MIME content types.
This slot corresponds to the QCop service message smsApplicationDatagram(QSMSMessage).
See also WapPushDatagramService.
| Copyright © 2006 Trolltech | Trademarks | Qtopia 4.1.7 |