Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

dialling a phone number based on gprs message from server

 
Scott Roberts
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I am relatively new to J2ME,
can a J2ME app be running in the background, and
on receiving a gprs command/message from a remote web server it should autodial a predefined number without user intervention.

I have figured out that the autodialling can be done with platformRequest however I have not tried it yet.
Regarding the message from the server, I really dont know how will that work, since, if I use HTTP which is client request based, I may I have to ask the server regularly.
However I want the reverse that is the server should initiate or tell the client to do the particular task.

is there any portocol that J2ME supports that can achieve this?

To Summarize I have the following issues to be sorted:
a. Run a J2ME task in the background.
b. Wake it up upon an incoming GPRS command.
c. Dial a particular phone number.
d. task goes to sleep again waiting for another command.

Thanks,
Aeon
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!