<receiver android:name=".YOURRECEIVER">
<intent-filter>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
</intent-filter>
</receiver>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
More Related Contents:
- Start and Close single Activity from BroadcastReceiver
- Android, Detect when other apps are launched
- Android – SMS Broadcast receiver
- Determine addAction click for Android notifications
- Sending intent to BroadcastReceiver from adb
- Broadcast Receiver Register in Manifest vs. Activity
- Why isn’t my app on the list of apps to open txt file?
- Broadcast receiver not working in ICS if the app is not started atleast once
- Android: BroadcastReceiver intent to Detect Camera Photo Taken?
- java.lang.SecurityException: Permission Denial: not allowed to send broadcast android.intent.action.MEDIA_MOUNTED on KitKat only
- Using a broadcast intent/broadcast receiver to send messages from a service to an activity
- android intent for sdcard ready
- Android ACTION_DATE_CHANGED broadcast
- Passing Data from Broadcast Receiver to another Activity
- android – How to get view from context?
- Launch custom android application from android browser
- Trying to start a service on boot on Android
- How to filter specific apps for ACTION_SEND intent (and set a different text for each app)
- Sending data back to the Main Activity in Android
- Trying to attach a file from SD Card to email
- What is an Android PendingIntent?
- Detecting whether a headset is plugged into an Android device or not.
- How to handle the click event in Listview in android?
- How to open a PDF via Intent from SD card
- Should I use android: process =”:remote” in my receiver?
- How to use Broadcast Receiver in different Applications in Android?
- Android Device phone call ability
- How to repeat notification daily on specific time in android through background service
- how to install CA certificate programmatically on Android without user interaction
- Android: startActivityForResult & setResult for a view class and an activity class