dialling a phone number based on gprs message from server
posted 6 years ago
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.