How can I make my app listen to each new Internet Connection, when it’s made by an App? What should I do?
I’ve tried to use BroadcastReciver for android.net.conn.CONNECTIVITY_CHANGE, but it doesn’t give me any notifications.
<receiver android:name=".ConnectivityReceiver" >
<intent-filter>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
</intent-filter>
</receiver>
I still don’t think normal applications can hold the permissions necessary to do what you want. If you hope to have any success you implementation must be deeper than an ordinary application.