using market api, you could check if the app has been purchased
http://code.google.com/p/android-market-api/

Just keep in mind that they are not official api...

On Jun 22, 1:11 pm, CedarF <[email protected]> wrote:
> This would be a secure way to know if the apk is a pirated copy or not
>
> The only way I found is based on the fact that when turning Copy
> Protection "On" when publishing apk, android installs it in the /data/
> app-private directory
>
> So to check it,  I use the package manager api and check if "app-
> private" appears in the application info source directory....
>
> But since Froyo allows to move apps to sd and if you authorize it,
> this is no more possible, since the path (/mnt/....) does not contains
> this pattern any more
>
> Is there a better way to check it?

Reply via email to