A sample app to show how to receive packets via PCAPdroid. Check out the PCAPdroid API for more details.
NOTE: if you are using a debug build of PCAPdroid, ensure to add .debug
to the PCAPDROID_PACKAGE
constraint, otherwise the PCAPdroid app won't be found.
Relevant sources: