Search code examples
androidnetwork-programmingwifidefaultbehavior

Changing default behaviour of wifi icon - Android


I have an app idea and have a simple question, can I change the behaviour of wifi item on quick settings menu on Android? I want it to redirect to my app. Is this possible?


Solution

  • Not generally.

    You can examine Logcat and see what happens when the user taps that tile. If the tile starts an activity (probably yes) and the Intent that is used is implicit (action but no ComponentName or package), then you could create an activity with a matching <intent-filter>. The user would be able to choose to launch your activity instead of the standard one.

    However, bear in mind that there is no requirement that the Intent that the tile uses would be the same across Android versions and device manufacturers.