I plan to sell an app in the Android Market and I'm looking into ways to prevent my app from being pirated. How can my app determine if it was legitimately obtained or not?
Since I'll probably only release my app on the standard Android Market (and not Amazon's market or any website, etc) is there some check I can do to determine the origin of the install of the app?
I know anti-piracy tactics can be annoying and sometimes hindersome, but I don't intend to stop my app from working or even let the user know the check took place. I just want to find out so I can report that back to me for statistics (and possible origins so I can stop the distribution).