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°1331

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° 1331  Can you build a Program Launcher using iziBasic ?

le 18/12/2005 @ 20:25
par Will_3

Anonyme



How can you use iziBasic to...
- launch another program...
- and then when it is done...
- return to the iziBasic program?

This is more or less what a Palm "Launcher" does and I understand there are some 3rd party launchers out there.

So, how would one go about building a "Launcher" using iziBasic?

What iziBasic statements would launch the other Application?

How would you assure that program control returned to your iziBasic program launcher when the other Application was done?

thanks for any comments.
  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 19/12/2005 @ 00:55
par Ktimaster

Anonyme

visiteur
Take a look at this page... It was written using about 95% iziBasic and 5% Pascal... It is a launcher that has an extreamly Crisp and Modern look. The author khertan is an active user of iziBasic and this forum. However this is NOT an opensource Peoject... Much like vziBasic (Which was also written with iziBasic).
http://aldweb.com/thread.php?lng=en&pg=7445&fid=5&cat=80
Ecrire à Ktimaster   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 19/12/2005 @ 02:15
par Will_3

Anonyme

visiteur
Ktimaster,

Thanks for the reference but I really need to learn how do this...

I'm not trying to create a general purpose launcher... this is for a special application.

So, if you or anyone else has any code snippits to share that would get me started down the right path that would be great.

thanks.
  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 19/12/2005 @ 04:06
par Ktimaster

Anonyme

visiteur
Are you wanting to make a launcher to run a list of Specific Programs? If thats so... I think I can assist you with that
Ecrire à Ktimaster   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 19/12/2005 @ 04:22
par Will_3

Anonyme

visiteur
Well, the Palm will be running our program... and occasionally it will want to run or call another application(s)

So we need to know how to call up another application... sorta like a launcher does... and when it ends return program control to our application... until we need to re-call the same program or another program.

Do you have some code sinppits that may give us an education and a quick start?

thanks.
  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° 5
--------
le 19/12/2005 @ 13:16
par aldweb

Anonyme

visiteur
Hello Will,

To launch a 3rd party program from within your iziBasic application, you may want to use the RUN statement.

To come back from the 3rd party program to your application is up to this 3rd party program to launch your application using some similar statement to iziBasic's RUN statement.
Or, you may trick the system and ask it to launch your application whenever it just came back from some or any 3rd party application (like launchers do), but this will require more "low level" (meaning, accessing Palm OS APIs) coding, using PP for instance.

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° 6
--------
le 19/12/2005 @ 13:37
par Will_3

Anonyme

visiteur
Aldweb,

That sounds like what we need to do...

1 - Didn't I read that iziBasic and PP work together to some degree?

2 - To access the Palm OS APIs with PP must I get the PP compiler or will iziBasic do limited PP compiling?

thanks for the help.

  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° 7
--------
le 19/12/2005 @ 14:33
par aldweb

Anonyme

visiteur
1 - Yes. iziBasic can launch some PP code modules (so called "PP applets", see the user manual...), sending some information (string format) to the PP module and retrieving some information (as string too) when the PP module exits and execution is returned to the iziBasic program.

2 - You must get the PP compiler (freeware), here: http://www.ppcompiler.org/

There are examples of how to deal with the "PP applets" in the iziBasic ZIP package.

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° 8
--------
le 19/12/2005 @ 17:54
par Ktimaster

Anonyme

visiteur
And when I am done with my High-Level Scripting language that will allow low-level programming... You will use it with the same CALLPP$­­( command that you use for PP
Ecrire à Ktimaster   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° 9
--------
le 21/12/2005 @ 18:38
par aldweb

Anonyme

visiteur
Ktimaster,

I can hardly wait to give a try to your very promising tool...

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° 10
--------
le 21/12/2005 @ 20:15
par Khertan

Anonyme

visiteur
Hi ...

There are two way to do what you want ...

- The first one is to launch application (in pp) with a SysAppLaunch, Your application is not closed and the launched application run in front ... so when the launched application ends ... your application are in front.

- The second is to register your application as the default launcher... but in this case ... the default palm launcher will not be avaible to the user and if it crash ... it s crash ...

to do this under pp :
PrefSetPreference(prefLauncherAppCreator, 'Your');

Replace Your by your application launcher creator ...
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 ^