2

私のアプリケーションでは、独自のプロセスで実行する必要がある BroadcastReceiver を使用する必要があります。

<receiver
        android:name="com.greenroad.mobile.asimov.tiles.AsimoveTileRequestUpdateReceiver"
        android:process="com.zonarsystems.Sample2020App.tile" >
        <intent-filter>
            <action android:name="com.zonarsystems.twenty20.tile.intent.action.TILE_REQUEST_UPDATE" />
        </intent-filter>
    </receiver>

データを処理するために、このレシーバーにデータを送信するアプリケーション。この受信機を使用してアプリケーションを呼び出すため

    Intent intent = new Intent("com.zonarsystems.twenty20.tile.intent.action.TILE_REQUEST_UPDATE");
    intent.putExtras(indicationsBundle);
    sendBroadcast(intent);

しかし、私は何も得ません

@Override
public void onReceive(Context context, Intent intent) { ... }

どうすれば解決できますか?ありがとう、エイル。

4

0 に答える 0