code restrict the user doing the task within the app based on device or ip
<p>I make an android login and register application, I want to try to prevent user unstop register which means they can only register once per hour( just an example), so how to set the time restriction in it? I know someone could create different account to do it, so may be it's even better to restrict the phone device. I had experience on the web that you could do it using cookie or ip, but I don't know how to achieve that in android since I am new to it, could anyone give me some idea or code even better, any help will be greatly appreciated!</p>
