George Theodorakis
George Theodorakis

Reputation: 112

Detect other apps with access to NFC module in android

Is there a way to detect programmatically other applications that are installed in an android device and have access to device's NFC module?

Upvotes: 0

Views: 343

Answers (1)

Kristijan Drača
Kristijan Drača

Reputation: 614

You can list all installed packages (PackageInfo) on the device, and from there you can look up for

<uses-permission android:name="android.permission.NFC" />

by using PackageInfo.requestedPermissionsFlags

Upvotes: 1

Related Questions