Let's assume I have a paid app purchased by a user (I don't use In-app Billing). Is it possible to execute a piece of code on his device to get the date at which this user has purchased my app?
This isn't 100% answer to your question, but you can get the time and date of the first install of the app
http://developer.android.com/reference/android/content/pm/PackageInfo.html#firstInstallTime
long installTime = context.getPackageManager()
.getPackageInfo("com.some.package.name", 0)
.firstInstallTime;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.