my dog learned polymorphism*
The moose likes Java Micro Edition and the fly likes dialling a phone number based on gprs message from server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "dialling a phone number based on gprs message from server" Watch "dialling a phone number based on gprs message from server" New topic
Author

dialling a phone number based on gprs message from server

Scott Roberts
Greenhorn

Joined: Aug 05, 2009
Posts: 11
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
 
GeeCON Prague 2014
 
subject: dialling a phone number based on gprs message from server