LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-14-2009, 10:26 AM   #1
mrgreaper
Member
 
Registered: May 2006
Posts: 167

Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Java | Ubuntu 8.04 | java.awt.HeadlessException akuma_linux Linux - Newbie 3 01-06-2009 10:27 AM
Ubuntu 7.10 64bit - how to set java path to/redirect java to libjvm.so ? Thane Ubuntu 1 03-25-2008 05:52 PM
Java with Shell Scripts lazkyr Programming 1 07-30-2004 04:30 PM
How to use Java in a Shell Script arnneisp Programming 1 07-13-2004 02:18 AM
Java programming in a shell lolmc Programming 2 12-13-2001 08:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration