Hi ...
carlos... Thank you very much... You solved my problem.
Your blog is very gd.
http://tomfrauen.blogspot.com/2005/01/file-stream-versus-database.html
Can anyone tell me what takes more Hotsync time?
Palm file stream OR Palm PDBs
Regards,
Ganesh Pisal
www.skyscape.com
Ganesh Pisal wrote:
Can anyone tell me what takes more Hotsync time?
Palm file stream OR Palm PDBs
technically palm file stream is palm PDB. difference is only in one flag in
header and special api which works differently
so it depends. hotsync of many little records is much slower
Hi,
I am working on Palm file streaming.
I converted text file of size 15 mb into Palm file stream using par utility.
File streaming APIs are working fine. ... :)
Now, I am looking for advantages and disadvantages of using Palm file stream
over Palm databases (PDB).
How file streaming
Ganesh Pisal wrote:
Hi,
I am working on Palm file streaming.
I converted text file of size 15 mb into Palm file stream using par utility.
File streaming APIs are working fine. ... :)
Now, I am looking for advantages and disadvantages of using Palm file stream
over Palm databases (PDB).
How
hi
i'm using the PalmOnePhoto for capturing the screen and store it in a jpeg file
in my application ..
i'm able to create jpeg file using the following code, but the
PalmPhotoDisplayImage function not displaying this image but i tried to open
the same file with pnoJpeg Libray, there it working
Thank you for replay fast
let me try this
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/
Sumesh wrote:
hi
i'm using the PalmOnePhoto for capturing the screen and store it in a jpeg file
in my application ..
i'm able to create jpeg file using the following code, but the
PalmPhotoDisplayImage function not displaying this image but i tried to open
the same file with pnoJpeg Libray,
You can use ExgDBRead (And Write) to convert between an in-memory
database (accessed via Dm* calls) and a stream of bytes in pdb/prc
format (File Stream or data read directly from socket)
Bharathi Kumaraswamy wrote:
Hello All,
I am downloading a pdb file from http server using file stream
Hello All,
I am downloading a pdb file from http server using file stream. And i got all
the data in that file stream. I need to convert this file stream to a pdb file.
How to do that? Pls help.
Thanks,
Bharathi
--
For information on using the ACCESS Developer Forums, or to unsubscribe
Help Please :)
I have a jpeg image (created using the filestream
interface). I know the image is good because if I add
it to the PalmPhoto lib, it is viewable as expected.
You can see the image name when you go to Home-App
Menu-Info. Now I am trying to send the file over the
network, using
wrote :
I have data collected in a file stream which I would like to
transfer to the desktop during hot synch. I would also like to
reformat it into a CSV text file at the same time if possible. I
understand that this requires a custom conduit. Before I begin
reinventing the wheel, I was wondering
Hello,
I'd like to know if it's possible create a Database file or a File Stream
bigger than 64Kb and how can I do that?
In caso of File Stream, is it possible to sync it via conduit?
Thanks
Rafael
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http
[EMAIL PROTECTED] wrote:
Hello,
I'd like to know if it's possible create a Database file or a File Stream
bigger than 64Kb and how can I do that?
In caso of File Stream, is it possible to sync it via conduit?
Thanks
Rafael
Databases can be biggerthan 64K, just each record has the 64K limit
like to know if it's possible create a Database file or a File
Stream bigger than 64Kb and how can I do that?
In caso of File Stream, is it possible to sync it via conduit?
Thanks
Rafael
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http
actually, you can create a record larger than 64k via MemChunkNew.
-mguo
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/
On Tue, 18 Jan 2005 03:29:36 -, Tom Frauenhofer [EMAIL PROTECTED] wrote:
I decided to publish my results in a white paper as well as an entry in my
blog (the Blogger publishing tools seem to have a problem with HTML tables,
BTW).
This is very interesting information, thanks for
Several updates:
1) Ralf Deitrich has provided me with numbers for the Tungsten T5. I've
updated the white paper. Also I've updated the program to be a tiny bit
friendlier. The Tungsten T5 numbers are interesting, especially for DB writes.
2) I've also put the PRC for the program up on the
Hi Tom,
Just a few things I noticed in your paper.
In the text you talk about 10 000 writes
quote
Perform 1 writes followed by 1 reads of a 1K record
/quote
but in the list you talk about 1 000 writes
quote
Perform 1000 writes
/quote
It is probably a typo.
Also, the numbers in the table
Yes, the 1000 is a typo (I originally did 1000 iterations on the loop but
increased it to 1 as 1000 gave me less than useful transaction performance
values). I will correct the blog/white paper when I add results for more
devices.
Thanks!
Tom Frauenhofer, [EMAIL PROTECTED]
Palm OS
For a program I'm working on I had need to save some context data temporarily.
I decided that this was a good opportunity to benchmark the performance between
the File Streaming API and the Data Manager, more for my curiosity than
anything else. I decided to publish my results in a white
The correct URL for the white paper is:
http://www.beret.com/developer/FileVersusDB.pdf
(Somehow it got garbled by the web-based posting mechanism)
Tom Frauenhofer, [EMAIL PROTECTED]
Palm OS Certified Developer
http://www.beret.com
My Blog: http://tomfrauen.blogspot.com
--
For
Hello for all...
I nees to know as I make to convert one database and a PRC to char Array, or
a File Stream that can be manipulated by the FileOpen function.
Thanks,
Peterson Alves
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com
How to know the maximum size of a file stream in the memory card?
MemCardInfo can give us the free bytes, but a file stream has
overhead when the file is stored into database records. How to
estimate the used bytes of a file stream
How to know the maximum size of a file stream in the memory card?
MemCardInfo can give us the free bytes, but a file stream has overhead when
the file is stored into database records. How to estimate the used bytes of
a file stream
Can a file stream be renamed? I see no suitable API for that.
--
Luc Le Blanc
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
At 08:41 PM 1/13/2004, Luc Le Blanc wrote:
Can a file stream be renamed? I see no suitable API for that.
DmFindDatabase followed by DmSetDatabaseInfo will rename a stream. You can
also get the DB reference using FileControl with the fileOpGetOpenDbRef
operation.
--
Ben Combee [EMAIL PROTECTED
: Reading a file stream via conduit...
At 09:30 AM 7/2/2003, Arrow wrote:
i'm using CW + POL to write a streaming file in a Palm app,
using the POL CFile class (which calls FileOpen,FileWrite,etc)
...the Palm app just reads packets from a serial connection
and just needs to save
-palm-
[EMAIL PROTECTED] On Behalf Of Randall Pulsifer
Sent: Wednesday, December 17, 2003 8:28 PM
To: Palm Developer Forum
Subject: RE: Reading a file stream via conduit...
I've been looking for this info in the conduit forums, but stumbled
across
it here. It sounds like
i'm using CW + POL to write a streaming file in a Palm app,
using the POL CFile class (which calls FileOpen,FileWrite,etc)
...the Palm app just reads packets from a serial connection
and just needs to save the data as one big block...henced
why i used streaming file...
...for my conduit, using
At 09:30 AM 7/2/2003, Arrow wrote:
i'm using CW + POL to write a streaming file in a Palm app,
using the POL CFile class (which calls FileOpen,FileWrite,etc)
...the Palm app just reads packets from a serial connection
and just needs to save the data as one big block...henced
why i used streaming
...as always...thanks Ben!
Ben Combee [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
At 09:30 AM 7/2/2003, Arrow wrote:
i'm using CW + POL to write a streaming file in a Palm app,
using the POL CFile class (which calls FileOpen,FileWrite,etc)
...the Palm app just reads packets
, July 02, 2003 7:31 AM
To: Palm Developer Forum
Subject: Reading a file stream via conduit...
i'm using CW + POL to write a streaming file in a Palm app,
using the POL CFile class (which calls FileOpen,FileWrite,etc)
...the Palm app just reads packets from a serial connection
and just needs
Ben Combee [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
At 09:30 AM 7/2/2003, Arrow wrote:
i read the drawback of using streaming file is that i cannot
backup the pdb to PC, is this correct ?
File streams are not backed up by the backup conduit, but you can manually
back them
Hello,
Is it possible to have the list of all the database on a Palm ?
like VFSEnumerate does for file on the SD card.
Does such a function exist also for file stream ?
like dir *.*
Thanks
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http
Hi,
Rodolphe Bréjaude wrote:
Hello,
Is it possible to have the list of all the database on a Palm ?
like VFSEnumerate does for file on the SD card.
Yes.
Have a look at DmGetNextDatabaseByTypeCreator.
Henk
--
-
[EMAIL
thanks, and for the files stream??
- Original Message -
From: Henk Jonas [EMAIL PROTECTED]
Newsgroups: palm-dev-forum
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Thursday, January 30, 2003 12:04 PM
Subject: Re: enumerate the all DB or file stream
Hi,
Rodolphe Bréjaude wrote
Hello,
I would like to save informations for my app on my palm.
I would like to use FileOpen, FileRead and FileWrite to do that, but it
looks like
the datas are not persistant when I quit my application.
When I restart my app, and do an FileOpen and FileRead, I don't read the
datas
I write in
I would like to save informations for my app on my palm.
I would like to use FileOpen, FileRead and FileWrite to do that,
but it
looks like
the datas are not persistant when I quit my application.
When I restart my app, and do an FileOpen and FileRead, I don't
read the
datas
I write
You can sync a file stream PDB file from the PC to your device,
but HotSync will not backup a file stream DB back to the PC.
Are you sure about that - regardless of type and backup bit?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http
1 The forth parameter of DmDatabaseInfo() is attrbutes
which represents file stream implementation when the
value is dmHdrAttrStream. In what condition it occurs
is my question? could you give me an example?
2 Under Cw8, How can I get file stream of *.txt?
Thanks
At 19:16 2002-10-22 -0700, you wrote:
1 The forth parameter of DmDatabaseInfo() is attrbutes
which represents file stream implementation when the
value is dmHdrAttrStream. In what condition it occurs
A database is only a file stream if it was created using the FileOpen
API. You cannot use
--- Jay Francis [EMAIL PROTECTED] wrote:
I have a database on the palm that I want to put on the
user's desktop in a comma delimited format. It is a
one way transmission only. At first I thought the file
stream functions would be a way to accomplish this but
now I'm not so sure
I am getting one of the unallocated chunk messages when I am trying to use
DmSetDatabaseInfo. here is some pseudo-code to demonstrate what I am trying
to do (rename on a FileStream):
FileHand hFile = FileOpen( ... fileModeReadWrite );
if ( ! err )
{
err = FileControl( fileOpGetOpenDbRef,
... );
err = DmCloseDatabse( refDatabase );
err = FileClose( hFile );
}
When I try this, I get an error (read from an unallocated chunk of
memory) if I try to close the database, then close the file stream.
But it appears to work if I call FileClose() and skip
DmCloseDatabase
The following code is the file stream created during the launching
application. For the 1st launching, a current date will be written to a
file. For the following launching, the current date will be compared with
the previous date through the file created. Now my problem is that, the
date1.day
: The existing date is not similar to the previous date of the file
stream
The following code is the file stream created during the launching
application. For the 1st launching, a current date will be written to a
file. For the following launching, the current date will be compared with
the previous date
Hi, Is the file stream still exist if i i deleted the application(which the
file stream created inside an application)???
i noticed that the file stream is still exist if i deleted the application.
Does anybody have the idea?? Thanks for your comment.
--
For information on using the Palm
Hi, Is the file stream still exist if i i deleted the application(which
the
file stream created inside an application)???
i noticed that the file stream is still exist if i deleted the
application.
Does anybody have the idea?? Thanks for your comment.
have you used a different creator id
Yes, Thanks Philip. I did use a different creator ID. Thanks for your
guidance!
Philip Sheard [EMAIL PROTECTED] wrote in message
news:79856@palm-dev-forum...
Hi, Is the file stream still exist if i i deleted the application(which
the
file stream created inside an application)???
i
If I use DmWrite, will the OS complains about there is some messy data
added in
to the resource database of a PRC? What resource TYPE is good for
storing
random binary data? I read the pilrc manual. There is a object
defination
called DATA, but it doesn't have a type associated with it. I
Hi.
I have got an idea to include an arbitrary file stream in a PRC file. I need
someone to tell me if it is practical or not, or maybe some other ways to do
the same.
The situation:
I have two prc on the palm. One is the main program (MainPRC.prc). The second
one is called EnvPRC.prc
How do I rename a file stream? Open/read/write it to another one? I am
looking for better solution than that.
Have you tried DmSetDatabaseInfo?
This will probably work, but it relies on the fact that file streams are
implemented as databases, something that could change in the future
Max Bian [EMAIL PROTECTED] wrote in message
news:69042@palm-dev-forum...
Hi.
I have got an idea to include an arbitrary file stream in a PRC file.
I need
someone to tell me if it is practical or not, or maybe some other ways
to do
the same.
You can do this, but you will need to use
So, what's the Palm official/recommanded way of doing the renaming of file
stream then? I don't see any file stream api that does this.
Max
--- Danny Epstein [EMAIL PROTECTED] wrote:
How do I rename a file stream? Open/read/write it to another one? I am
looking for better solution than
How do I rename a file stream? Open/read/write it to another one? I am
looking for better solution than that.
Have you tried DmSetDatabaseInfo?
I wrote:
This will probably work, but it relies on the fact that file streams are
implemented as databases, something that could change
Max wrote:
I have got an idea to include an arbitrary file stream in a PRC file...
Ben wrote:
You can do this, but you will need to use the ExgDbWrite and ExgDbRead
routines to read from a buffer you populate from your file stream.
You're starting with a file that contains foreign data
From the API reference, it seems that ExgDBRead expects a valid database in its
internal database format and writes to someplace in storage ram that I have no
control of. ie. I cannot write it to the new resource record I allocated. How
can I get it to accept an arbitrary file stream and convert
How do I rename a file stream? Open/read/write it to another one? I am
looking for better solution than that.
Have you tried DmSetDatabaseInfo?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
Is it possible to open and read an exiting PRC or PDB as a stream, using
the
function FileOpen ?
Not unless you've explicitly created it as a FileStream PDB. Which is
easy to do using the Par program on Windows.
-- Ken
Ken Krugler
TransPac Software, Inc.
http://www.transpac.com
+1
Hi All,
Is it possible to open and read an exiting PRC or PDB as a stream, using the
function FileOpen ?
Pls help.
Thanks
DilanR
_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
For information on using
On Wed, 21 Nov 2001, Ben Combee wrote:
Is it possible to open and read an exiting PRC or PDB as a stream,
using the function FileOpen ?
No.
actually :) ... *g*
if you want to read an existing .pdb or .prc file, then, its not
possible to open it with FileOpen without converting it to
Is it possible to open and read an exiting PRC or PDB as a stream, using
the
function FileOpen ?
As Ben said, the short answer is no. However, you can convert a Palm
database into a flat stream of data, which could then be stored in a file,
beamed, etc, using ExgDBWrite. You pass ExgDBWrite
i believe a .prc or .pdb file in palm ram is NOT FRAGMENTED. :)
(at least, each resource chunk isn't). you can get a reference to
the start of your .pdb and read it from there using a pointer.
Oh my goodness, this would be so incredibly unlikely to work in practice
that it isn't even worth
i believe a .prc or .pdb file in palm ram is NOT FRAGMENTED. :)
(at least, each resource chunk isn't). you can get a reference to
^^ (the important bit)
the start of your .pdb and read it from there using a pointer.
Oh my goodness, this would be
On Mon, Jan 22, 2001 at 09:52:49AM -0800, Jeremy Evans wrote:
I have a file stream db that I would like to beam in it's raw format
to a non palm device.
Any pointers on the best way to use this?
It would be run on Palm OS 3.1 or higher.
If the far end supports IrOBEX, you can use
I have a file stream db that I would like to beam in it's raw format
to a non palm device.
Any pointers on the best way to use this?
It would be run on Palm OS 3.1 or higher.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech
I think I got it:
Open Ir comunications via IR library
Use FileRead to create a buffer the size of IrMaxTxSize
Copy this buffer to a IrPacket structure
Send the packet via IrDataReq
Now the fun part... getting this to work!
Does this sound right or is there a better way?
Thanks,
Jeremy Evans
"Jeremy Evans" [EMAIL PROTECTED] wrote in message
news:36649@palm-dev-forum...
I have a file stream db that I would like to beam in it's raw format
to a non palm device.
The usual question: What protocol does the device understand?
- If it's IrLAP, IrLMP, or TinyTP, then use the
The usual question: What protocol does the device understand?
- If it's IrLAP, IrLMP, or TinyTP, then use the IR library.
- If it's IrOBEX, then use the Exchange Manager.
- If it's IrCOMM, then use the New Serial Manager.
- You can also do "raw" IR using the New Serial Manager. I don't know
You know this but others may not, so I just thought I'd add that the the
Old
serial manager will happily do "raw" SIR on PalmOS 3.0 and up...
Actually, I didn't. I haven't used "raw" or IrCOMM at all. Thanks for the
correction.
--
Danny Epstein
OS Engineer, Palm Inc.
--
For information on
The usual question: What protocol does the device understand?
- If it's IrLAP, IrLMP, or TinyTP, then use the IR library.
- If it's IrOBEX, then use the Exchange Manager.
- If it's IrCOMM, then use the New Serial Manager.
- You can also do "raw" IR using the New Serial Manager. I don't know
On Tue, Jan 16, 2001 at 04:54:11PM -0800, Jeremy Evans wrote:
I have a 90k+ file of raw binary content created on the PC, I need to
save this as a "file stream" DB.
...
and then patch them together in a regular .PDB
Or just create a small program that will save the stream o
On Tue, Jan 16, 2001 at 04:54:11PM -0800, Jeremy Evans wrote:
I have a 90k+ file of raw binary content created on the PC, I need to
save this as a "file stream" DB.
...
and then patch them together in a regular .PDB
Or just create a small program that will save the stream o
On Tue, Jan 16, 2001 at 04:54:11PM -0800, Jeremy Evans wrote:
I have a 90k+ file of raw binary content created on the PC, I need to
save this as a "file stream" DB.
...
and then patch them together in a regular .PDB
Or just create a small program that will save the stream o
On Tue, Jan 16, 2001 at 04:54:11PM -0800, Jeremy Evans wrote:
I have a 90k+ file of raw binary content created on the PC, I need to
save this as a "file stream" DB.
...
and then patch them together in a regular .PDB
Or just create a small program that will save the stream o
On Tue, Jan 16, 2001 at 04:54:11PM -0800, Jeremy Evans wrote:
I have a 90k+ file of raw binary content created on the PC, I need to
save this as a "file stream" DB.
...
and then patch them together in a regular .PDB
Or just create a small program that will save the stream o
I have a 90k+ file of raw binary content created on the PC, I need to
save this as a "file stream" DB.
Should I break up my binary file into :
4092 byte chunks with DBLK as a header
-or-
4088 byte chunks with DBLK1000 as a header?
and then patch them together in a regular .PD
"Jeremy Evans" [EMAIL PROTECTED] wrote in message
news:36023@palm-dev-forum...
I have a 90k+ file of raw binary content created on the PC, I need to
save this as a "file stream" DB.
How about using the HostControl API to read the file on your PC from within
an emulated Pal
78 matches
Mail list logo