aldweb

Close I. aldweb

Close II. PC Freeware

Close III. Palm Freeware

Close IV. Palm Shareware

Close V. iziBasic Palm

Close VI. Palm Knowledge

Close VII. Pocket Computer

Close VIII. miniPortail

Special !



Mobile version of
the aldweb Site

m.aldweb.com


Neither French, nor English?

Try one of these flags then:
[de] [es] [it] [pt]
Search




Weather / Spam / www

Lyon Weather


aldweb against spam


Newsletter
To receive news about this website, consider subscribing to our Newsletter.
Subscribe
Unsubscribe
298 Subscribers
Family's web sites

Webmaster - Infos
Friends News
Visits

   visitors

   visitors online

Poll
What do you think of the new design of the aldweb Site?
 
Great !
Beautiful
Average
So ugly...
Results
forum.gifForum - iziBasic - Topic #1280

Forum - Forum
iziBasic - iziBasic


Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257

active  Topic # 1280  Setting the Alarm

07/11/2005 @ 20:51
by Tom

Anonymous



I would like to set an alarm that continues to work after changing applications, and with the power turned off. An author of another program gave me this snippet of API code. Does anybody know how to convert this into iziBasic code?

Use PalmOS API function AlmSetAlarm(...) to set alarm for application.
And check cmd parameter in the PilotMain function:

UInt32 PilotMain(UInt16 cmd, MemPtr cmdPBP, UInt16 launchFlags)
{
if(cmd == sysAppLaunchCmdAlarmTriggered)
{//alrm event
... do your action
}
...
}

Write to Tom   Post an answer  Top

[]   


Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1
--------
08/11/2005 @ 19:17
by Khertan

Anonymous

visitor
You can't do this with only iziBasic, for 2 reason iziBasic can t call direct API from Palm and iziBasic don t respond to a sysAppLaunchCmdAlarmTriggered.

But you can do this with a PP Applet ...

- Create a PP program which respond to sysAppLaunchCmdAlarmTriggered and launch your iziBasic program

- Create a PP Applet that register your PP program from iziBasic ...

sorry for my poor english
Write to Khertan   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 2
--------
09/11/2005 @ 12:21
by Tom

Anonymous

visitor
I was hoping there would be a "work around" to this problem. I guess I will have to learn PP Applet's now... this will not be easy.
Write to Tom   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 3
--------
10/11/2005 @ 20:15
by aldweb

Anonymous

visitor
Maybe Khertan will provide you with his source code because these 2 components, the dummy PRC that will launch the iziBasic main application and the PP applet required to trigger the alarm, can be used again and again with almost no change.
If he cannot provide you with these (as I am the one who gave him the trick but I do not know at what stage he is in his project), then I will write them and give away the source code here.

Cheers,


@+
aldweb
Write to aldweb   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 4
--------
11/11/2005 @ 08:23
by Khertan

Anonymous

visitor
Hi, i ll try to make it ... but this time i m very busy ...
Write to Khertan   Post an answer  Top
active topic active   closed topic closed   Sticky Sticky   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
[]
Forum Topic  Forum 



 
^ Top ^