ページの先頭行へ戻る
Interstage Mobile Application Server V1.1.0 アプリケーション開発ガイド
FUJITSU Software

A.1 im-appdef.xml

形式/定義項目

IMAPSアプリのパラメーターファイルに指定できるタグを以下に示します。各タグは、大文字・小文字の区別がありますので、入力する際に注意してください。

表内の各項目の記号の意味は以下のとおりです。

必須

○:省略不可、×:省略可

複数

○(指定数):指定可、×:指定不可

設定値

○:あり、-:なし


タグ名

必須

複数

設定値

imaps-application

×

name

×

description

×

version

×

apiset

×

platforms

×

×

platform

×(注1)

icon

×

×

toolbar-setting

×

×

back

×

×

forward

×

×

display-orientation

×

×

runnable-condition

×

×

valid-state

×(注2)

×

allowed-ssids

×(注3)

×

ssid

×(注4)

force-uninstall

×

×

注1)platformタグを指定した場合は必須です。

注2)runnable-conditionタグを指定した場合は、必須です。

注3)valid-stateタグにwifiを指定した場合は、必須です。


記述

以下にIMAPSアプリのパラメーターファイル(im-appdef.xml)の記述例を示します。


XML記述例

<?xml version="1.0" encoding="UTF-8"?>
<!--
# Copyright(C) 2013 FUJITSU LIMITED
# Interstage Mobile Application Server Application Definition file
-->

<imaps-application>
    <name>IMAPSアプリ1</name>
    <description>IMAPSアプリ1の説明</description>
    <version>1.0</version>
    <apiset>2.0</apiset>
    <platforms>
        <platform>android</platform>
        <platform>ios</platform>
    </platforms>
    <icon>imaps.png</icon>
    <toolbar-setting>
        <forward>visible</forward>
        <back>visible</back>
    </toolbar-setting>
    <display-orientation>portrait</display-orientation>
    <runnable-condition>
        <valid-state>wifi</valid-state>
        <allowed-ssids>
            <ssid>hogehoge1</ssid>
            <ssid>hogehoge2</ssid>
        </allowed-ssids>
        <force-uninstall>application-and-userdata</force-uninstall>
    </runnable-condition>
</imaps-application>