Hi i have develop an android application in which i want to prevent user to create multiple account on our ftp server from one android device for which i create configuraton file and store boolean value which is by defult one but when user create account its value change to true. but there is an issue when user uninstall the apk file our configuration file also delete and user can create account again and boolean value lost.
My queston is that in android there is any registry like concept (same in windows) that we store value in android registry and when it try install it 2nd time it not allow it. or any another way which it more simple. any help in this regard is greatly apprecialted thanks in advance
How about using the device ID when the FTP account is created and storing the information on your server. That way if they try to create it again you can do a lookup, find that an account exists and return that back to the device. This way you know there is no chance of duplicates.