I do not want to publish my application on the Android Market, but I would create a license key from my site based on the MAC address of the user device. It should also include the expiration date. As soon as the user enters the code in the Android device, it must be recognized. I read that this can be done using custom public encryption. In this case, I have to implement:
- A function in my application that takes a MAC address and shows a string to the user.
- A function on my website that owns the private key and encrypts the string at point 1. and adds an expiration date
- A function in my application that decrypts a string at point 2. using a puppet key and checks the license key.
I read a lot of discussions about stackoverflow and other sites, but nothing is applicable ... or it is not clear how to apply in my scenario: (
Can you provide me a way to solve this problem? is there something that is native to android i can't (hopefully)?
Thank you very much! Marco
source share