Normally if your program locates in the folder "/PALM/Launcher/", the Palm OS will automaticly make a copy of it to the memory card(we can say, ram), then you can directly load the program of course.
But if not so, please move it to "/PALM/Launcher/", otherwise you must import this file to ram first(use function VFSImportDatabaseFromFile).


Best Regards,
---------------------------------
Huiqiang Zhang
Mail: [EMAIL PROTECTED]
---------------------------------
Firma Hoffrichter GmbH
Mettenheimer Strasse 12/14
19061 Schwerin
www.hoffrichter.de

----- Original Message ----- From: "Thiago Kenji Souto" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[email protected]>
Sent: Wednesday, January 26, 2005 12:54 PM
Subject: Re: How to find an application in the MMC



You're absolutely right!  The memory card is the ram, not mmc... I
forgot about that and was using the wrong function...
Which function should I use then? I mean, how to run an appclication
that is in the mmc from another application?


On Tue, 25 Jan 2005 16:20:27 -0500, Brandon Roberson <[EMAIL PROTECTED]> wrote:
DmFindDatabase doesn't interact in any way with the virtual file
system extension used for SD/MMC card slots.

There's only one internal memory card inside a PalmOS handheld. Card
0. The API provides for the possibility of more cards someday, but its
never been necessary. This card number parameter has nothing to do
with external expansion cards - its for internal banks of RAM.

You'll need to use the VFS api functions to location your files, and
it works much like any other filesystem you may have used (Windows,
Unix, etc...)

On Tue, 25 Jan 2005 17:43:13 -0300, Thiago Kenji Souto <[EMAIL PROTECTED]> wrote:
> I don't thik so, because I've seen applications that find its own db
> in the mmc without having to ask the user.
>
> I'm using DmFindDatabase to find database ID, saying cardNO = 1, but
> it always return 0 for me, even when I know that I stored the
> application in the mmc.
> What am I doing wrong?
>
> if (DmFindDatabase (1,"my_app"))
> ErrDisplay ("Never show this line");
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe, > please see http://www.palmos.com/dev/support/forums/
>


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



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





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

Reply via email to