Listing Broadcast-Receivers in Android with specific intents/permissions !!

Recently, for my MockSMS project (which creates local user-made fake SMS messages) I needed to list up all the SMS apps installed in user-device. I didn't know anything about how it can be done. I was totally unaware of it. Even, after some tries, I was just going to give up adding the feature to … Continue reading Listing Broadcast-Receivers in Android with specific intents/permissions !!

How to make Broadcast Receiver run when my app is in background?

Google has deprecated registering Broadcast Receiver into manifest like this below from API Level 26+ ( Except Some ) <receiver android:name=".MyBroadcastReceiver" android:exported="true"> <intent-filter> <action android:name="android.net.wifi.STATE_CHANGE" /> </intent-filter> </receiver> But, If one wants to receive particular device state changes like Internet Connectivity Changes (Which isn't allowed) while the app is in background and if it's important for any feature of his application, … Continue reading How to make Broadcast Receiver run when my app is in background?