Harold Forrest
Harold Forrest

Reputation: 3

How would one scan another app (like an antivirus app does)?

I am wondering how antivirus apps - Lookout Mobile Security, for example - are able to scan other apps to determine if they are malicious. Specifically, what API calls or permissions are used to do this? Thanks.

Upvotes: 0

Views: 244

Answers (1)

Barry Fruitman
Barry Fruitman

Reputation: 12666

Check out the class android.content.pm.PackageManager.

Class Overview

Class for retrieving various kinds of information related to the application packages that are currently installed on the device. You can find this class through getPackageManager().

Barry

Upvotes: 1

Related Questions