Creating a Bookmark using OMA Client Provisioning

Posted by on Mar 20, 2009 in Support Blog

Topic Keywords: ,

A recent posting on the NowSMS discussion board raised an interesting question.
How do you use OMA Client Provisioning to add a bookmark to a mobile phone?

The NowSMS web interface has a simple function for doing this using the old Nokia/Ericsson OTA format (WAP OTA), however the web interface for OMA Client Provisioning only allows a browser home page URL to be defined.

While the NowSMS web interface does not have a field for adding bookmarks, it is quite easy to manually edit the XML document to define a bookmark.

Here’s a simple XML document that only defines a bookmark, without modifying or adding any other configuration settings:

<wap-provisioningdoc>
<characteristic type=”APPLICATION”>
<parm name=”APPID” value=”w2″/>
<characteristic type=”RESOURCE”>
<parm name=”NAME” value=”NowSMS”/>
<parm name=”URI” value=”http://www.nowsms.com”/>
</characteristic>
</characteristic>
</wap-provisioningdoc>

The bold part of the document is the specific part that defines the bookmark.  This section can be repeated to add additional bookmarks.

It is important that this bold section appear inside of a CHARACTERISTIC APPLICATION section with an APPID value of W2.  (This is the application id of the mobile phone browser application.)

If you want to send a complete configuration message, including a browser home page, plus additional bookmarks, see the related discussion at http://www.nowsms.com/discus/messages/1/24907.html.

The XML document can be sent as an OTA message using the “Send XML Settings” page of the NowSMS web interface.  Additional examples of submitting OTA messages programmatically can be found at the following links:
http://www.nowsms.com/doc/submitting-sms-messages/sending-oma-provisioning-content-ota-messages
http://www.nowsms.com/tag/ota

For comments and further discussion, please click here to visit the NowSMS Technical Forums (Discussion Board)...