コンテンツにスキップ

ウィジェット機能を使用する

実装方法

下記のコードを AndroidManifest.xml の application タグ配下に追加してください。

<!-- ウィジェット機能を使用する場合は追加してください。 -->
<receiver 
    android:name="jp.iridge.popinfo.sdk.PopinfoWidget"
    android:exported="false">
    <intent-filter>
        <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
    </intent-filter>

    <meta-data
        android:name="android.appwidget.provider"
        android:resource="@xml/popinfo_widget" />
</receiver>