Re: Problem: Adding Calendar items with Alarms

2006-09-01 Thread P. Douglas Reeder, aka Skapti
Ambrose Krapacs wrote: Our application works with the Calendar database directly adding, updating, and deleting items. One possible approach is to add the items using the Exchange Manager, and possibly the PDI library as well. The vCalendar standard allows you to set alarms; the following

Re: Databases Disappearing after Reset

2006-08-31 Thread P. Douglas Reeder, aka Skapti
Jeff Ishaq wrote: I saw the same problem. After going back and forth with Palm DTS for about two weeks, we solved it by placing a DmSyncDatabase() call after *any* record operation. This didn't seem to impact the performance too much. Both read and write operations? -- Doug Reeder ROAR

Yeild to other processes. Was: Function to stop Palm for 3 seconds?

2006-08-08 Thread P. Douglas Reeder, aka Skapti
Here's a question for the experts: Is there a way to yield the processor to other processes (such as sound streams), without otherwise slowing down one's own code, other than EvtGetEvent? Would SysTaskDelay(0) do that? -- Doug Reeder ROAR Lab, OSU Dept. of Psychology -- For information

Re: palm68k to garnet

2006-06-16 Thread P. Douglas Reeder, aka Skapti
Peter Chin wrote: PIM database structures have changed. There is a compatibility layer which is supposed to permit older apps to function in the new environments but this has been buggy. Performance degradation is an issue as well. It's best to access the new databases directly rather than go

Re: Dynamically Displaying Help Icon

2006-04-13 Thread P. Douglas Reeder, aka Skapti
Jim Duffy wrote: I want the icon to show if a field in my DB has a string within it. One the user taps it, I want to take them to a custom dialog to show the record contents instead of popping up the standard Tips dialog. Since the i icon normally brings up help, rather than details, you may

Re: FrmCustomAlert failure after SysAppLaunch

2006-03-24 Thread P. Douglas Reeder, aka Skapti
John Sutton wrote: Jeff I'm not sure if I'm dreaming this, but I think I once had a problem with empty strings. FWIW try putting something inside the two empty strings just to rule out my paranoia. ie. FrmCustomAlert( MessageAlert, whatever, should be empty, should also be empty ); FWIW,

Re: wave

2006-03-24 Thread P. Douglas Reeder, aka Skapti
cp wrote: I wanna store a few wav files from pc and play it in my palm device. What is the best way to do ? Put the WAV files in resources and use SndPlayResource. This, of course, requires OS 5. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please

Re: wave

2006-03-24 Thread P. Douglas Reeder, aka Skapti
Jagat wrote: I have prc resource file. How can I make a wav resource file added to .rcp file ? You don't add it using the .rcp file; you add it using the post-linker. Under prc-tools, just copy the .wav file to a file with a name like WAVE0001.bin, which build-prc will incorporate as a

Re: Maximum VFS path length?

2006-03-23 Thread P. Douglas Reeder, aka Skapti
Luc Le Blanc wrote: Greg Wilson wrote: It appears to be 1024 bytes. -Greg Wilson Developer Documentation PalmSource, Inc. And is there a constant that supports that? Or do I plug this magic number in my code??? According to the Programmer's Companion

Re: sndstreamcreateextended

2006-03-16 Thread P. Douglas Reeder, aka Skapti
Palmman wrote: sndstreamcreateextended is always returning 4096 no matter what value I give Err ( *SndStreamVariableBufferCallback ) ( void *userDataP, SndStreamRef stream, void *bufferP, UInt32 *bufferSizeP // memcpy *bufferSizeP = 1024; // Here I assign, but alwayes I get

Re: Sound programming

2006-03-14 Thread P. Douglas Reeder, aka Skapti
Peter wrote: 1, Does sound manager deal with multiple resources or streams played at the same time (does mixing on its own)? Yes. A simple example of this is the PalmSource streaming sound example -- just hit the play button several times before the first sound finishes playing. --