java midlet to ubuntu shell possible?
ok i have a programm running on my ubuntu pc called motion it is executed by typing motion into the terminal, what i would like to have is a java app (my phone supports java midlets if that helps) that when loaded logs into my server pc executes the command motion (preferably on the desktop that is running)(also it would be good if the server pc made a noise to confirm it was activated) and another java app that when run ends the motion program (ctrl+c on the terminal window)
this would mean i could turn on motion upon leaving the flat and turn it off before entry
is what im asking even remotly possible ?
i have read that theres something called telenet that allows text input into the terminal from a remote pc (though everytime i have tried to get my head around it i go crosseyed) so im guessing maybe a java telenet client with a predefined script could do it but no idea howto go about that
|