Hi,
sorry for the short reply:
Use a state machine that handles the protocol. Then, fire an alarm
frequently and run the state machine.
All the best
Tam Hanna
Subject: Running Communication Process in the background
From: "Mukesh Singh" <[EMAIL PROTECTED]>
Date: Sat, 28 Jun 2008 14:30:02 -0700
X-Message-Number: 1
Hi All,
First of all let me explain what is my application requirement:
1. Networking based application which send request to a particular server
and receive the response.
2. The server is also capable to send push mechanism to inform us that there
is something new with the server and we (client) need to sync with it, for
that we have to register our application for the incoming SMS.
Now, I wanted to achieve following:
1. When my application is not running and I got a new SMS from the server to
sync, I wanted to launch our application silently (without any UI) to access
all my request creation and networking related functions and data structure,
so that I can easily create the request, send it over networking channel and
get the response from the server, store it to my data structures and than
close my application.
2. After completion of this task, I wanted show an attention to the user
that you have received something new.
3. And at last kill the process without user intervention.
I tried several things like launch codes and launch flags with the
SysAppLaunch function but couldn't get much success with that.
Can any body give some fare idea, how to achieve this thing. One more thing
I wanted to inform that I have looked into some application and they are
actually working very silently in the background without affecting the other
application and when you launch those application you can easily watch an
update from the last launch. So running application in the background is
possible that is for sure.
Waiting for a positive reply.
Thanks
Mukesh Singh
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/