aldweb

Fermer I. aldweb

Fermer II. Gratuitiels PC

Fermer III. Gratuitiels Palm

Fermer IV. Partagiciels Palm

Fermer V. iziBasic Palm

Fermer VI. Connaissance Palm

Fermer VII. Ordinateur Poche

Fermer VIII. miniPortail

Spécial !



Version mobile
de l'aldweb Site

m.aldweb.com


Ni Français, ni Anglais ?

Essayez donc l'un de ces drapeaux :
[de] [es] [it] [pt]
Recherche




Météo / Spam / www

Météo Lyon


aldweb contre le SPAM


Newsletter
Pour avoir des nouvelles de ce site, inscrivez-vous à notre Newsletter.
S'abonner
Se désabonner
298 Abonnés
Sites web de la famille

Webmaster - Infos
News Amis
Visites

   visiteurs

   visiteurs en ligne

Sondage
Comment trouve-tu le nouvel habillage de l'aldweb Site ?
 
Superbe !
Joli
Moyen
Moche...
Résultats
forum.gifForum - iziBasic - Sujet n°1280

Forum - Forum
iziBasic - iziBasic


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

actif  Sujet n° 1280  Setting the Alarm

le 07/11/2005 @ 20:51
par Tom

Anonyme



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
}
...
}

Ecrire à Tom   Poster une réponse  Haut

[]   


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

Anonyme

visiteur
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
Ecrire à Khertan   Poster une réponse  Haut

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

Anonyme

visiteur
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.
Ecrire à Tom   Poster une réponse  Haut

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

Anonyme

visiteur
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
Ecrire à aldweb   Poster une réponse  Haut

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

Anonyme

visiteur
Hi, i ll try to make it ... but this time i m very busy ...
Ecrire à Khertan   Poster une réponse  Haut
actif sujet actif   clos sujet clos   Important! Important!   Nouveau Nouveau message   -   Rectifier Rectifier message   Clôturer Clôturer sujet   Remonter Remonter
[]
Catégories de discussion  Forum 



 
^ Haut ^