Thu 07 20 Dec
Posted in Perl, WAP by artofmobile
The perl library in this article — “Perl Module to encapsulate OMA DRM format for a media type” only supports the following permissions:
As some readers asked me to include additional permission, and I’ve included the following permissions:
You can download the package at Net-OmaDrm-0.10.tar.gz.
Posted in Perl, WAP | Comments Off
Sat 07 10 Nov
Posted in General, Perl, SMS by artofmobile
External Machine Interface (EMI), an extension to Universal Computer Protocol (UCP) is a SMSC VAS protocol created by CMG. As one of the major SMSC vendor, EMI and SMPP are two of the widely used SMSC VAS protocol. Even after the merger of Logica and CMG, both protocols are still widely used.
One of the free library that I’ve using is from Marco Romano. It is a Perl library which can be used to generate EMI/UCP message easily. Please take a look at:
http://search.cpan.org/~nemux/Net-UCP-0.29/
Posted in General, Perl, SMS | Comments Off
Mon 07 3 Sep
Posted in Perl, WAP by artofmobile
Last Month in one of articles, I covered a topic on how to get the screen size of a mobile device, someone is wondering about how to check the Open Mobile Alliance (OMA) Digital Rights Management (DRM) support.
To check Forward-Lock, you need to ensure that the following content-type is accepted by the device:
- application/vnd.oma.drm.message
To check Combined Delivery, you need to ensure that the following content-type is accepted by the device:
- application/vnd.oma.drm.message
- application/vnd.oma.drm.rights+xml
To check Separate Delivery, you need to ensure that the following content-type is accepted by the device:
- application/vnd.oma.drm.rights+xml
- application/vnd.oma.drm.rights+wbxml
- application/vnd.oma.drm.content
One more thing is that the device may support (for example) Combined Delivery DRM, but you may not be able to use that in MMS. Thus, further check on “MmsCcppAccept” tag of the User Agent Profile (UAProf) to ensure that it is supported.
Some may wonder why I don’t just check the “DrmClass” tag instead. Well, you can, however, during my investigation, I found out that some mobile phone manufacturers do not include this in the UAProf. Thus, it is much safer to check the DRM’s content-types instead.
I have further modified the previous Mobile::UserAgentProfile library and include this checking into that. I have also make changes to the method calling so that I can hold the profile in memory rather than load the profile from file every time I need to check on the UAProf.
INSTALL
To install, do the following:
perl Makefile.PL
make
make install
Read the rest of this entry »
Posted in Perl, WAP | Comments Off
Wed 07 1 Aug
Posted in Perl, WAP by artofmobile
As mobile devices are created differently, there are a lot of different Screen size available in the market. Due to the small screen size, mobile application developers had always find it hard to optimize the WAP portal for different devices. Keeping a record of the screen size is also difficult as there isn’t a standard way for mobile devices manufacturers to communicate to the mobile application developers.
User Agent Profile (UAProf) specification is the answer to this problem. It is used to capture capability and preference information for mobile devices. This information can be used by content providers to produce content in an appropriate format for the specific device.
In this article, we will discuss the Perl module which use UAProf to get the screen size of the mobile devices. For further information, you can download a copy of UAProf’s specification at:
Specification of UAProf
INSTALL
To install, do the following:
perl Makefile.PL
make
make install
Read the rest of this entry »
Posted in Perl, WAP | Comments Off
Thu 07 5 Jul
Posted in Perl, WAP by artofmobile
Open Mobile Alliance (OMA) is a standards body founded by telecommunication companies which develops open standards for the mobile phone industry. In order to ensure interoperability across all implementations for Digital Rights Management (DRM), the OMA provides DRM specifications so that content providers, operators and mobile phone manufacturers can easily integrate the DRM solution as smoothly as possible.
I have created Net::OmaDrm Perl module so that content providers can format the content-type quickly.
This module support the OMA DRM version 1.0 method of sending content to the handset. A device will declare the support for OMA-DRM by including one of the method which is provided by this module:
- Forward-lock
- Content-Type
- application/vnd.oma.drm.message
- Combined delivery
- Content-Type
- application/vnd.oma.drm.message
- application/vnd.oma.drm.rights+xml
- o-ex:permission
- o-ex:constraint
A detailed document of OMA-DRM can be found at:
http://www.openmobilealliance.org/release_program/drm_v1_0.html
I have tested this module on perl v5.8.5.
INSTALL
To install, do the following:
perl Makefile.PL
make
make install
Read the rest of this entry »
Posted in Perl, WAP | Comments Off