Win a copy of Secure Financial Transactions with Ansible, Terraform, and OpenSCAP this week in the Cloud/Virtualization forum!
  • 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
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

How do I run my scripts from an application

 
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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......
 
Bartender
Posts: 9625
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
An elephant? An actual elephant. Into the apartment. How is the floor still here. Hold this tiny ad:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic