The app I am working on has just one activity with 5 tabs in a ViewPager. I want to call a dialog on two devices. Only when this dialog is open the app should be allowed to accept Android Beam messages.
I don't want the user to use Android Beam without the dialog open. Is there a way to block Android Beam?
I only found solutions to block Android Beam in activities. But I only have one activity.