I can think of two ways:

1) Use loopback mode to beam the entire address book database to yourself.
You do this by first enabling loopback mode, then using the Beam Category
command with All selected. This will double the size of your database each
time you do it, so it won't take that many iterations to get up to the
number of records you want. On Palm OS 4.0, I think you can access loopback
mode using the Send Category command on debug ROMs, which means you don't
have to actually enable loopback mode. On older ROMs, you have to turn on
loopback mode first, then use the Beam Category command. I forget the
shortcut, but it's one of those shortcut .. letter things. If you're using a
Mac, you can also use the simulator to do this (running the address book),
since it's always in loopback mode. Once done, I suggest you export the
database somehow so you can reuse it. Details vary depending on whether
you're doing it on the simulator, emulator, or device, but it can be done on
all three.

2) Copy the address book sources into your own project, and tweak them a bit
to generate as many records as you like. You might, for example, add a menu
item that creates the desired records. The actual code is a simple for loop
with code to create a record inside. Pretty easy to do too.
-- 
Peter Epstein

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

Reply via email to