'''Sends data to alert server from mobile phone'''
import sys
sys.path.append("/nand/dropbox/Chris/Shared Programs/Chris's Programs/Python/Done/")
import client, android
droid = android.Android()

sender=client.Client(host=droid.dialogGetInput('Host', 'What is the host?:').result, port=int(droid.dialogGetInput('Port', 'What is the port?:').result)) #If there's an error, am doing it my way
while True:
    sender.send("Alert: "+droid.dialogGetInput('Send', 'What do you want to send?:').result)
