« Return to Thread: new here, a few questions

Re: new here, a few questions

by migueletto-2 :: Rate this Message:

Reply to Author | View in Thread

--- In plua@..., "Todd Oberly" <taoberly@...> wrote:
 
> 1) I see that it's possible to access the SD Card with vfs0: ...but is
> it also possible to access the DBCache area of RAM?  If not, might
> this be a planned feature, or is there some technical hurdle?  For
> example, I'd like to write a script that does some
> processing/cataloging of the photos in the "Photos & Videos" directory.

I do not know what DBCache is, but if it is a standard PalmOS database
(PDB) you can open it with io.open(), read or write records, etc.

> 2) I'm not so much interested in writing applications as writing
> GUI-less helper scripts that run "in the background".  I compiled a
> demo from the manual that creates a new .pdb file.  Each time it runs,
> it generates a white screen for a few seconds, and the screen that
> follows isn't necessarily what I was previously viewing.  I know
> something about multitasking (or lack thereof) in Palm OS, but is
> there a way around this specific problem?

Plua programs can not run in the background. They will always open a
blank screen, as you noticed.
 
> 3) By the time you read this, maybe I'll have found it in the manual,
> but how do I launch an existing "appl" file with Plua?  Does it matter
> where the program is located (ie. in the ROM, on the SD card, etc.)?

There is no way to launch PalmOS applications from within Plua.

Regards,
Marcio.

 « Return to Thread: new here, a few questions