Reputation: 45
I want to determine whether my Android application is being opened directly by the user on the device or through remote access tools such as PhoneLink, AnyDesk, or TeamViewer. However, the solution must not require root access.
Detecting PhoneLink in particular is crucial, as it allows seamless remote control of the device without explicitly notifying the user, unlike traditional screen-sharing apps. Identifying such remote access scenarios is essential for applying security measures and preventing potential misuse.
Is there a reliable way to detect these conditions using Android’s native APIs without root privileges? Has anyone worked on a similar implementation or has suggestions on how to approach this?
Upvotes: 0
Views: 42
Reputation: 108
You could check the packagename of the calling activity, but a full solution exists only with a cooperating calling activity, using one of the following alternatives:
Upvotes: 1