• Post Reply Bookmark Topic Watch Topic
  • New Topic

How do I run my scripts from an application  RSS feed

 
MI Mohammed
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Pls am presntly working on a project, that require a client to connect
to an ISP using CDMA phone. I have 3 scripts, How do i make my application
to run the scripts, say when connect button is clicked.
Waiting for reply pls.




SCJP SCJA SCWCD SCBCD pro......
 
Joe Ess
Bartender
Posts: 9439
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your question is pretty vague. What are these "scripts". Java programs? Shell scripts? Where are you executing them? On the phone? On the server? In J2SE, you can execute external programs with Runtime.exec(), just be aware of the pitfalls here. I'm not sure if J2ME has a different facility.
[ January 06, 2006: Message edited by: Joe Ess ]
 
MI Mohammed
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Joe,
Thanks for your observations. Actually, It's just a simple form (GUI),
a user enters name and password. This is then used to log on to the ISP.
But the scripts am talking about are linux shell scripts, the modem config
file should be copied to the a specific location within the client system.
the second is appenede to the DNS config file, while the last handles the connection and diconnection using buttons.
Thanks once more.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!