• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to control PC from mobile device

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi, i decide to do one project which should control our pc from mobile device like shut down,sendind files,check status like these kind of things i want to impliment.I just want to know how to add listners after i will send message from mobile device in the form of command and what to write in send option.please send me the steps which i will follow..
 
Saloon Keeper
Posts: 27764
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We're not here to do people's homework for them. However we are here to help.

There are all sorts of ways to use mobile devices as controllers. Here's a few:

Using IRDA, for phones with InfraRed ports. You can install a remote-controller app on the phone and an IR listener on the computer (for example, lIRC in Linux). lIRC can control any program you can script.

Using Bluetooth. Much the same.

Using WiFi or Internet over the phone carrier or tcp/ip over bluetooth or tcp/ip over sync cable or... Set up a web server or other network listener on the PC and have it act on incoming network requests.

Using SMS. Set up a listener on the PC for SMS services.

This is just for a start. Yesterday I found a gadget I'd bought several years back that would trigger home automation events in response to telephone touch-tone codes. I used it briefly, but it had one unfortunate side-effect: when the phone rang it would send out codes intended to flash a lamp, but it did so over the channel that controlled my main room lighting. So every time a telemarketer called, the room went dark.
 
navneet rajput
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
sorry for late reply but i got the solution.
now i am able to send message through TCP and after getting that msg in my mail account i can control pc by using some o.s. commands.

Thanks
Navneet
 
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That seems to be a really "Smart" solution. Since, I was thinking that to send a message to the pc/laptop running a server app it should have a public IP/ static ip but you have sent message not directly to the server but to mail from which you retrieve the command in your PC. Hmm though lengthy it sounds great.

Any how, I have just one doubt, Could you elaborate steps little further as how did you retrieve your 'command' mails from the desktop application.

Long long ago I thought of creating an application that will control all the aspects of a PC remotely.

1. Switch on a system. (There was an option called wake-up/power-on on modem/lan) Theoritically it will wake up/power on the system (ATI) when there is a 'ring' So, I will connect my PC modem to landline, and when it receives a ring it will power on.

2. Register a listener application in start-up of windows so that it will start automatically once PC is powered on.

3. Now using some kind of Remote-desktop or terminal server kind of application I should be able to do what ever I wish.


Though, this thought has remained as a thought, I just want to know are there any thing missing in my above assumptions.

And one more thing, If possible could you explain in little detail how did you achieved your goal!!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic