Tapping an NFC tag which contains an URL. (How) can I override the default action (browser launch)? My previous question established that when a factory reset Android device taps an NFC tag which contain an URL, the operating system launches a browser.

Can I prevent that?

Is that just a default action on the part of the o/s, since no other handler was available?

If I code a BroadcatReceiver to handle the tap, will that automatically prevent the o/s from launching the browser? If not, can I add code to suppress the browser launch?
The browser opens because no other app can handle this action. If you will have 2 browsers the OS will ask you which app do you want to handle this action and when you choose one the OS will remember your preference.

You always can go to settings (the app) and "clear default". So, to your question you can write an app that will handle this action (by write this Broadcast receiver in the  AndroidManifest.xml) and don't do anything with the URL. And then tapping on the NFC tag and choose your app and click always (so it'll not ask again). This way you can force the OS to not do anything when you tapping on an NFC tag with a URL.