I'd like to make a simple notes app, which should work on very basic versions of Android. However, I'd also like to add a feature which, for example, scans data from NFC and adds them to the notes.
The issue here is that NFC requires minimum API Level 10. I don't want to put android:minSdkVersion="10"
over such a small feature.
Is there a way to have the code disable the "use NFC" button/code if they're using a phone below API level 10?