Have Android app send a random number to server
<p>I need to send a random number from Android to a PHP script on my server every 5 seconds.  This is for a heart-rhythm simulator for learning purposes.  The data from the PHP file is then written to a database.  I have spent many hours searching for examples, but they have been hard to understand.  I need a simple example of how to do this.  Thanks a lot.</p>
