I have an app that sounds like it does the same thing as you are doing.  I 
have a anti-v app that updates its virus database over the air.  The user 
can force an update, or set a auto-update timer.  If the timer is on, I set 
it to go off at the correct interval.  I use an Alarm to do this.  One thing 
you will have to do is reset the alarm on a system reset.  Once you get into 
that you will see its not that easy to do.  If you have your user set it to 
update once a month, and there is a system reset, you will then have to 
figure out how much time is left in that month to set the alarm.  if you 
simply set it for a month again, the user will only get a update if there 
was no reset for a full month!  Let me know if you need any help with this 
subject.

-- 


Scott Erickson
Software Development Team, FB-4, Inc.
[EMAIL PROTECTED]
"Andre Augusto" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Hello Everybody!
> I have a program that needs, from time to time, to communicate with 
> internet automatically. The program needs to open a connection and make a 
> query to a RemoteDatabase. What I need to know, is how to program my 
> application to do that? Maybe it's on my AppEventLoop function... I only 
> want to know what can I put here, maybe a time trigger.., because I have 
> already the functions to communicate to internet via Wi-fi...
> 



-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to