Sorry, the system doesn't know anything about whether the market installed the app; it doesn't know anything about the market at all.
On Fri, Mar 20, 2009 at 10:42 AM, strazzere <[email protected]> wrote: > > Is there a way to programmatically without root check and see how a > program was installed? > > > The only solution I've been able to find is using root - and tapping > into a database that the Vending application uses; > > CREATE TABLE assets10(_id INTEGER PRIMARY KEY AUTOINCREMENT, > content_uri TEXT, s > tate TEXT, download_pending_time INTEGER, download_start_time INTEGER, > install_t > ime INTEGER, uninstall_time INTEGER, size INTEGER, type TEXT, > package_name TEXT, > is_forward_locked TEXT, signature TEXT, refund_timeout INTEGER, > version_code IN > TEGER, server_string_id TEXT UNIQUE); > > Most specifically I can check to this database using my package name > and/or signature and see if it's ever been installed by the market. > Then if it has you could check to see if it's been uninstalled. > > As for background, I'm just messing around with ways to distinguish > real users from pirated versions. I've noticed from an application > I've posted that I only have approximately 100 downloads and 50% > active, yet my server which is used by the application shows > approximately 200ish unique users within the past few days. > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

