Carlo, You are wise to consider that. I've had varied results with it. Some phones don't show a result at all, even from free apps, at the correct SDK level. The market app also has a different package name on different phones. It would be a partial solution at best.
On Mar 5, 1:38 pm, Carlo <[email protected]> wrote: > Is the string returning by this function consistent when bought from > the legitimate google android market ? > > On Mar 6, 1:23 am, justinh <[email protected]> wrote: > > > I have been seeing a remarkable increase in my apps being pirated. Not > > only are they 2 versions old, the name doesn't show up in Checkout, > > but getInstallerPackageName returns null where applicable. These > > people actually either have the wickedness, or the no brains, to send > > me a voluntary device report with this information. 75% of these > > reports sent yesterday were from pirated versions. > > > So I'm tempted to simply check for getInstallerPackageName() to return > > a valid package name and if not then disallow the use of the app. > > Isn't it safe to assume that the ONLY method of install should be from > > the market? And that that method should always be available to someone > > who has purchased my app - from the Market? > > > My concerns are that, since I'm resorting to this I'll start seeing > > legitimate purchase complaints somehow, and all of a sudden I get a > > flood of credit card charebacks. > > > Sorry, kind of frustrated right now. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

