android studio BroadcastReceiver基础

最简单形式:

manifest:

<receiver
    android:name=".MyReceiver"
    android:enabled="true"
    android:exported="false">receive

你可能感兴趣的:(android studio BroadcastReceiver基础)