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?
