Installing and using Mobile Suite : Using webMethods Mobile Designer : Coding a Mobile Application : Registering Applications for Data Sharing (custom URIs and MIME-types) : Defining Data Sharing for an Application
Defining Data Sharing for an Application
In order to register for Data Sharing, the Ant-task registerDataSharing is used. Definitions should be given in the project's targets/_defaults_.xml, and look like this:
<registerDataSharing>
<entry scheme="customurl"/>
<!-- App will handle URIs starting "customurl:" -->
<entry mimeType="application/pdf"/> <!-- App will accept PDFs -->
</registerDataSharing>
If the developer wishes to just handle audio files:
<registerDataSharing>
<entry mimeType="audio/*"/> <!-- App will accept any audio -->
</registerDataSharing>
You can find a list of currently supported MIME-types for files in the section below: Supported MIME-types.
If the developer wishes to just handle custom URIs:
<registerDataSharing>
<entry scheme="myurl"/> <!-- App will handle URIs starting "myurl:" -->
</registerDataSharing>
Copyright © 2007-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback