Scenario:
I intend to make a donate version of my ad supported application, via paypal library. The process should be simple but effective: if the user makes the transaction, and the result is Ok, I will generate a serial number for the application and activate it.
Questions
the serial number needs to be generated based on something unique on the device. What should this be, the IMEI number ? Or maybe I should consider the current google account logged on the phone? In this way if the user changes the phone, he can still use the application.
I need to store this serial number in my application. What would be the easiest way to do this ? I wouldn't like to make a sqlite database only for this purpose, as I don't need it for something else. On each activity start I will check if the serial number is correct.
Any response is gladly taken. Thank you for your time.