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.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to