i created broadcastreceiver called myreceiver listen volume change event. works fine when app running. but, when close app, stops listening broadcasts.
here's registered broadcast receiver in manifest file.
<receiver android:name=".myreceiver" android:enabled="true" android:exported="true"> <intent-filter> <action android:name="android.media.volume_changed_action" /> </intent-filter> </receiver>
Comments
Post a Comment