Re: Navigator button on Tungsten T2
Thanks a lot, it worked!! - Original Message - From: "Jim McGowen" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Saturday, January 10, 2004 12:11 AM Subject: Re: Navigator button on Tungsten T2 > you can use the NaveKeyPressed macro defined in PalmNavigator.h. > > if ( NavKeyPressed( eventP, Left ) ) > if ( NavKeyPressed( eventP, Right ) ) > > "Marianne" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Hi > > > > I am using a Tungsten T2 device, I just wanted to know which event is > fired > > when you press the right and left of the navigation button. > > I had assumed that these would send KeyDown Event and I used to handle > > "chrRightArrow" for right press, "chrLeftArrow" for left press, > > "chrDownArrow" for down press and "chrUpArrow" for up press. From these > the > > code for Up and Down press works fine but the code for Right and Left does > > not get excuted. > > Can anyone help me. > > > > Thanks in Advance > > > > Marianne > > > > > > > > -- > 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/
Navigator button on Tungsten T2
Hi I am using a Tungsten T2 device, I just wanted to know which event is fired when you press the right and left of the navigation button. I had assumed that these would send KeyDown Event and I used to handle "chrRightArrow" for right press, "chrLeftArrow" for left press, "chrDownArrow" for down press and "chrUpArrow" for up press. From these the code for Up and Down press works fine but the code for Right and Left does not get excuted. Can anyone help me. Thanks in Advance Marianne -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Bus Error -Connect to Debugger
Hello All , When do you get this error : "Bus Error - Connect to Debugger" ?? The system resets after this . Please help asap, Thanks in advance , Marianne. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Re:Re:Linker problem (to Ben Combee)
Where will I find the .MAP file . - Original Message - From: "Matthew Henry" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, December 04, 2003 9:38 PM Subject: Re: Re:Re:Linker problem (to Ben Combee) > "Pablo Martin Vera" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > >Ben I try splitting in severals segments and didn´t work I´ve also tried > changing the code model to small and large but when I do that I´ve got links > errors from POL. > > > Two tips: > 1. Always use smart. Ben may disagree, but if you use small you'll end up > spending half your day trying to get your program to compile every time you > make a simple change. It's not worth it. > 2. Get to know and love the .MAP file that Codewarrior generates. That's > how to tell what's going in what segment and what needs to go somewhere > else. > > > > -- > 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/
Re: Error : serLineErrorSWOverrun
Hi, thanks for the reply, Yes I am removing the data from the buffer after i read it. If I want to use software flow control even the device has to support it , right?? Marianne - Original Message - From: "Dave Lippincott" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Tuesday, December 02, 2003 7:45 PM Subject: Re: Error : serLineErrorSWOverrun > Try increasing the buffer size. Over-run errors typically mean more data > was received into the serial buffer than you took out. Are you removing the > data from the buffer after you read it or just leaving it there? > Can you use a flow control protocol? Either software or hardware flow > control would also help eliminate this issue. > > - Original Message - > From: "Marianne" <[EMAIL PROTECTED]> > To: "Palm Developer Forum" <[EMAIL PROTECTED]> > Sent: Tuesday, December 02, 2003 4:17 AM > Subject: Error : serLineErrorSWOverrun > > > > > > Hello All, > > > > We have written an application that reads from the serial port at the rate > > of 1 tick. But when it receives too much data it gives > > "serLineErrorSWOverrun" Line Error. Why is this so, does anyone have any > > idea. > > > > Thanks in advance > > > > Marianne > > > > > > -- > > 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/
Error : serLineErrorSWOverrun
Hello All, We have written an application that reads from the serial port at the rate of 1 tick. But when it receives too much data it gives "serLineErrorSWOverrun" Line Error. Why is this so, does anyone have any idea. Thanks in advance Marianne -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Resource file
Hello all, I have received a resource file ( the one which we normally open with size 0KB) and its header file. But they forgot to include the resource.frk folder. They have gone on leave. Is there any way to recover the actual resource file ? Please help asap . Thanks in advance , Mariane -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
a simple question
Hello all, Just a simple question.. Can I change the name of the application runtime in the sense that can i keep a variable in the registry giving the app name and change the app name on the palm device without recompiling the code and downloading it again?? Regards and Tjhanks in advance Marianne -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Bitmap
Hi We are using Code Warrior 8.0 with palm OS sdk 5.0. The code warrior 8.0 version has the compression check box with the following options: None, Scan Line, RLE( OS 3.5 or later ), PackBits( Palm OS 4.0 or later ) and Best( Palm OS 4.0 or later ) The client creates the bitmap images, they have set RLE option while creating them. After creating these images the compressed images did not show up in the bitmap editor Thanks regards Marianne - Original Message - From: "Sushil" <[EMAIL PROTECTED]> To: "Marianne" <[EMAIL PROTECTED]>; "Palm" <[EMAIL PROTECTED]>; "Palm Developer Forum" <[EMAIL PROTECTED]> Cc: "Mahesh Mole" <[EMAIL PROTECTED]> Sent: Tuesday, November 25, 2003 12:29 PM Subject: RE: Bitmap > Marianne, > > Well, let me get some more details from you. Are you using Codewarrior 9.0 & > Tools or using 7.0 & its tools? > > See, CW9.0's constructor allows you to check the compress option when u are > creating a bitmap resource and in that case you must just take an > uncompressed bitmap and copy-paste over there. And then set the compress > option. You can select the algorithm also. > > In case of 7.0 i.e. for devices before Palm OS 4.0 i guess compression is > not supported. Plz let me know what environment are you working with 9.0 or > 7.0 > > Sushil > > > > > -Original Message- > From: Marianne [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 25, 2003 12:09 PM > To: Sushil; Palm; Palm Developer Forum > Cc: Mahesh Mole > Subject: Re: Bitmap > > > > Hello Sushil , > Our bitmaps have been given to us compressed using RLE algorithm , but when > we paste it in the Constructor's bitmap editor from MS Paint , it becomes > blank . Now our client is asking us what else could be done . > > Original bitmap size > Compressed size > 160 resolution : 35 kb > 7 kb > 320 resolution :137 kb > 17 kb > > the 35 kb original image shows up ok . But the compressed image looks blank > . the 137 original image won't go with the prc due to the size limit of 64 > kb . And the 17 kb compressed image agains is blank in the editor . But both > the compressed images look proper in MS Paint . Can you help us in this asap > . > Thanks & regards , > Marianne > > > - Original Message - > From: "Sushil" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Cc: "Mahesh Mole" <[EMAIL PROTECTED]> > Sent: Monday, November 17, 2003 5:35 PM > Subject: Bitmap > > > > Hi > > > > I guess you shall have to check the compress check box while you are > > creating the bitmap resources (only in case of Codewarrior 9.0 tools set), > > else you shall have to store the image in a pdb and in a compressed format > > and then load them from over there > > > > Use RLE algorithm to get it done > > > > > > Regards, > > Sushil > > Endeavour Software Technologies (P) Ltd. > > Bangalore - 560076 > > Mob: 91-94481-63171 > > URL: www.techendeavour.com > > > > > > "Ability may get you to the top, but it takes character to keep you > there." > > > > > > Hello All > > > > > > > > I have written an application that has Form Bitmap resource: > > > > I have .bmps for both 160x160 as well as 320x320 > > > > I have added thses 2 bmps for all the provided depths > > > > ie(1-bit,2-bit,4-bit,8-bitand 16-bit ) > > > > While compiling the whole application it gives me the following error > > > > > > > > "PalmRez Warning: Output resource size is greater than ~64K size limit > : > > > > 'Tbmp 1406' > > > > > > > > PalmRez Warning: Output resource size is greater than ~64K size limit: > > > 'Tbmp > > > > 1306' > > > > > > > > PalmRez Warning: Output resource size is greater than ~64K size limit: > > > 'Tbmp > > > > 1506' > > > > > > > > PalmRez Warning: Output resource size is greater than ~64K size limit: > > > 'Tbmp > > > > 1005' > > > > " > > > > > > > > Can anyone help me on this > > > > > > > > > > > > Marianne > > > > > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Bitmap
Hello Sushil , Our bitmaps have been given to us compressed using RLE algorithm , but when we paste it in the Constructor's bitmap editor from MS Paint , it becomes blank . Now our client is asking us what else could be done . Original bitmap size Compressed size 160 resolution : 35 kb 7 kb 320 resolution :137 kb 17 kb the 35 kb original image shows up ok . But the compressed image looks blank . the 137 original image won't go with the prc due to the size limit of 64 kb . And the 17 kb compressed image agains is blank in the editor . But both the compressed images look proper in MS Paint . Can you help us in this asap . Thanks & regards , Marianne - Original Message - From: "Sushil" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Mahesh Mole" <[EMAIL PROTECTED]> Sent: Monday, November 17, 2003 5:35 PM Subject: Bitmap > Hi > > I guess you shall have to check the compress check box while you are > creating the bitmap resources (only in case of Codewarrior 9.0 tools set), > else you shall have to store the image in a pdb and in a compressed format > and then load them from over there > > Use RLE algorithm to get it done > > > Regards, > Sushil > Endeavour Software Technologies (P) Ltd. > Bangalore - 560076 > Mob: 91-94481-63171 > URL: www.techendeavour.com > > > "Ability may get you to the top, but it takes character to keep you there." > > > Hello All > > > > > > I have written an application that has Form Bitmap resource: > > > I have .bmps for both 160x160 as well as 320x320 > > > I have added thses 2 bmps for all the provided depths > > > ie(1-bit,2-bit,4-bit,8-bitand 16-bit ) > > > While compiling the whole application it gives me the following error > > > > > > "PalmRez Warning: Output resource size is greater than ~64K size limit : > > > 'Tbmp 1406' > > > > > > PalmRez Warning: Output resource size is greater than ~64K size limit: > > 'Tbmp > > > 1306' > > > > > > PalmRez Warning: Output resource size is greater than ~64K size limit: > > 'Tbmp > > > 1506' > > > > > > PalmRez Warning: Output resource size is greater than ~64K size limit: > > 'Tbmp > > > 1005' > > > " > > > > > > Can anyone help me on this > > > > > > > > > Marianne > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Compressing the bitmap
Hi miches, I tried Packed-bits as well as Best-Fit.. It still gave that error.. The bitmap image I am using is of 134kb.. Can this file be compressed used PiLRC..Is it easy to use PilRC cause I have no experience using PiLRC.. Regards Marianne - Original Message - From: "miches" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Saturday, November 15, 2003 6:31 PM Subject: Re: Compressing the bitmap > hi marianne, > > bitmaps resources have a 64k boundary limit, coz they are stored as database records too. you can try the other compression methods available such as the Packed-Bits, Best-Fit and others for constructor. > > Also, in my experience, i have achieved huge compression ratio using PiLRC. You can check out this utility for creating your resources. > > Hope this helps, thanks. > > -miches > > Palm Developer Forum <[EMAIL PROTECTED]> wrote: > > Hello, > > > > There has been a discussion on compressing and uncompressing a bitmap > > resource.. I am using the constructor v1.8 > > > > I have set the compression in property to RLE.. > > > > But during compilation it gives warning saying > > " PalmRez Warning: Output resource size is greater than ~64K size limit: > > 'Tbmp 1306' " > > > > Am I missing out something > > > > Regards > > > > Marianne > > > > > > > > > > > > -- > > 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/
Compressing the bitmap
Hello, There has been a discussion on compressing and uncompressing a bitmap resource.. I am using the constructor v1.8 I have set the compression in property to RLE.. But during compilation it gives warning saying " PalmRez Warning: Output resource size is greater than ~64K size limit: 'Tbmp 1306' " Am I missing out something Regards Marianne -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Need for Bitmap images
Hi Ken, Thanks a lot Marianne - Original Message - From: "Ken" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Friday, November 14, 2003 6:58 PM Subject: Re: Need for Bitmap images > Bitmaps can not be larger than 64K So larger ones need to be splitup. > Ken > > "Marianne" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > > Hello All > > > > I have written an application that has Form Bitmap resource: > > I have .bmps for both 160x160 as well as 320x320 > > I have added thses 2 bmps for all the provided depths > > ie(1-bit,2-bit,4-bit,8-bitand 16-bit ) > > While compiling the whole application it gives me the following error > > > > "PalmRez Warning: Output resource size is greater than ~64K size limit: > > 'Tbmp 1406' > > > > PalmRez Warning: Output resource size is greater than ~64K size limit: > 'Tbmp > > 1306' > > > > PalmRez Warning: Output resource size is greater than ~64K size limit: > 'Tbmp > > 1506' > > > > PalmRez Warning: Output resource size is greater than ~64K size limit: > 'Tbmp > > 1005' > > " > > > > Can anyone help me on this > > > > > > Marianne > > > > > > > > -- > 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/
Need for Bitmap images
Hello All I have written an application that has Form Bitmap resource: I have .bmps for both 160x160 as well as 320x320 I have added thses 2 bmps for all the provided depths ie(1-bit,2-bit,4-bit,8-bitand 16-bit ) While compiling the whole application it gives me the following error "PalmRez Warning: Output resource size is greater than ~64K size limit: 'Tbmp 1406' PalmRez Warning: Output resource size is greater than ~64K size limit: 'Tbmp 1306' PalmRez Warning: Output resource size is greater than ~64K size limit: 'Tbmp 1506' PalmRez Warning: Output resource size is greater than ~64K size limit: 'Tbmp 1005' " Can anyone help me on this Marianne -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: SysAppLaunch
Hello All, My problem has beem solved Thanks a lot Marianne - Original Message - From: "Marianne" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, November 13, 2003 7:28 PM Subject: Re: SysAppLaunch > > Hi > > My Code is as follows: > >error = DmGetNextDatabaseByTypeCreator(true,&SearchType,'appl', > MY_CREATOR,false,&cardNo,&dbID); > if(!error) > //SysUIAppSwitch (0,dbID,sysAppLaunchCmdNormalLaunch,NULL); >SysAppLaunch( cardNo, dbID, 0, sysAppLaunchCmdNormalLaunch, NULL, > &resultP ); > else > ErrAlert(error); > /* > > where MY_CREATOR contains the creadtor id > > Marianne > > - Original Message - > From: "Marianne" <[EMAIL PROTECTED]> > To: "Palm Developer Forum" <[EMAIL PROTECTED]> > Sent: Thursday, November 13, 2003 7:09 PM > Subject: Re: SysAppLaunch > > > > > > Hi > > Thanks for the help... > > It worked fine, but the moment I used SysAppLaunch insted of > SysUIAppSwitch > > Palm crashes saying Bus Error, and I have to reset it.. > > > > Can you help me with this.. > > > > Marianne > > > > > > - Original Message - > > From: "Duc Dang" <[EMAIL PROTECTED]> > > To: "Palm Developer Forum" <[EMAIL PROTECTED]> > > Sent: Thursday, November 13, 2003 4:24 PM > > Subject: Re: SysAppLaunch > > > > > > > Hi, > > > you can use that : > > > case OptionsContact: > > > localID = DmFindDatabase (0, ConAppDbName); > > > if (localID) SysUIAppSwitch(cardNo, localID, > > sysAppLaunchCmd_CallContactApp, NULL); > > > handled = true; > > > break; > > > with > > > UInt16 cardNo=0; > > > LocalID localID; > > > > > > And : > > > #define ConAppDbName ("ConAppDB") > > > with > > > ConAppDB is database name of application that you set on Settings > > > > > > Hope helping you. > > > Duc > > > *** REPLY SEPARATOR *** > > > > > > On 11/13/2003 at 3:59 PM Marianne wrote: > > > > > > >Hello All, > > > > > > > >I want to launch another application from my application and when done > > with > > > >that application return back. I have used SysAppLaunch for this, but > from > > > >where will I get the CardNo and DBId for the same, I know the > appCreator > > > >ID.. > > > > > > > >I tried using DmGetNextDatabaseByTypeCreator but it did not help me.. > > > > > > > >Can anyone help me out.. > > > > > > > >Thanks in Advance > > > > > > > >Marianne > > > > > > > > > > > >-- > > > >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/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: SysAppLaunch
Hi My Code is as follows: error = DmGetNextDatabaseByTypeCreator(true,&SearchType,'appl', MY_CREATOR,false,&cardNo,&dbID); if(!error) //SysUIAppSwitch (0,dbID,sysAppLaunchCmdNormalLaunch,NULL); SysAppLaunch( cardNo, dbID, 0, sysAppLaunchCmdNormalLaunch, NULL, &resultP ); else ErrAlert(error); /* where MY_CREATOR contains the creadtor id Marianne - Original Message - From: "Marianne" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, November 13, 2003 7:09 PM Subject: Re: SysAppLaunch > > Hi > Thanks for the help... > It worked fine, but the moment I used SysAppLaunch insted of SysUIAppSwitch > Palm crashes saying Bus Error, and I have to reset it.. > > Can you help me with this.. > > Marianne > > > - Original Message - > From: "Duc Dang" <[EMAIL PROTECTED]> > To: "Palm Developer Forum" <[EMAIL PROTECTED]> > Sent: Thursday, November 13, 2003 4:24 PM > Subject: Re: SysAppLaunch > > > > Hi, > > you can use that : > > case OptionsContact: > > localID = DmFindDatabase (0, ConAppDbName); > > if (localID) SysUIAppSwitch(cardNo, localID, > sysAppLaunchCmd_CallContactApp, NULL); > > handled = true; > > break; > > with > > UInt16 cardNo=0; > > LocalID localID; > > > > And : > > #define ConAppDbName ("ConAppDB") > > with > > ConAppDB is database name of application that you set on Settings > > > > Hope helping you. > > Duc > > *** REPLY SEPARATOR *** > > > > On 11/13/2003 at 3:59 PM Marianne wrote: > > > > >Hello All, > > > > > >I want to launch another application from my application and when done > with > > >that application return back. I have used SysAppLaunch for this, but from > > >where will I get the CardNo and DBId for the same, I know the appCreator > > >ID.. > > > > > >I tried using DmGetNextDatabaseByTypeCreator but it did not help me.. > > > > > >Can anyone help me out.. > > > > > >Thanks in Advance > > > > > >Marianne > > > > > > > > >-- > > >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/
Re: SysAppLaunch
Hi Thanks for the help... It worked fine, but the moment I used SysAppLaunch insted of SysUIAppSwitch Palm crashes saying Bus Error, and I have to reset it.. Can you help me with this.. Marianne - Original Message - From: "Duc Dang" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, November 13, 2003 4:24 PM Subject: Re: SysAppLaunch > Hi, > you can use that : > case OptionsContact: > localID = DmFindDatabase (0, ConAppDbName); > if (localID) SysUIAppSwitch(cardNo, localID, sysAppLaunchCmd_CallContactApp, NULL); > handled = true; > break; > with > UInt16 cardNo=0; > LocalID localID; > > And : > #define ConAppDbName ("ConAppDB") > with > ConAppDB is database name of application that you set on Settings > > Hope helping you. > Duc > *** REPLY SEPARATOR *** > > On 11/13/2003 at 3:59 PM Marianne wrote: > > >Hello All, > > > >I want to launch another application from my application and when done with > >that application return back. I have used SysAppLaunch for this, but from > >where will I get the CardNo and DBId for the same, I know the appCreator > >ID.. > > > >I tried using DmGetNextDatabaseByTypeCreator but it did not help me.. > > > >Can anyone help me out.. > > > >Thanks in Advance > > > >Marianne > > > > > >-- > >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/
SysAppLaunch
Hello All, I want to launch another application from my application and when done with that application return back. I have used SysAppLaunch for this, but from where will I get the CardNo and DBId for the same, I know the appCreator ID.. I tried using DmGetNextDatabaseByTypeCreator but it did not help me.. Can anyone help me out.. Thanks in Advance Marianne -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Palm OS 5 query
Hello all, We have written a driver for Palm os 4.1 which works fine on that os version . We had used a serial callback & a trap for EvtGetEvent . When we ported the driver to palm os 5.0 , we replaced these by a notification handler for sysNotifyEventDequeuedEvent . But now , on os 5.0 , it crashes very often and mostly with this error -> MemoryMgr.c , Line:3675, Invalid chunk ptr RESET What all precautions should be taken for any application written on palm os 5.0 ? Please advise , Thanks in advance , Marianne -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Memory Manager Error
Hi Anders, We haven;t used any of those functions .We have used MemMove.. Is this causing the problem Marianne - Original Message - From: "Anders Rahm-Nilzon" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Tuesday, November 11, 2003 1:55 PM Subject: Re: Memory Manager Error > It sounds like you get a pointer that has a NULL-address. Do you use any > memory allocation function eg. MemPtrNew, MemHandleNew or MemGluePtrNew ? > > "Marianne" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > > > > Hello, > > > > I have written an application and when i run it i get the following error: > > > > In which conditions do we get this error in Palm OS 5.0 : > > MemoryMgr.c , Line:3675, > > Invalid chunk ptr > > > > After this the PDA RESETs .Can anyone help me out... > > > > Thanks in advance > > > > Marianne > > > > > > > > -- > 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/
Re: Memory Manager Error
Hi, We tried using ErrAlert in the Notification handler, but Palm device hangs and I have to reset it.. Which is more useful to debug such types of bug is it Simulator or Emulator. In case of Emulator from where will I get debug ROM for Palm OS 5.0.. I could find debug ROM s till Palm OS 4.1 Some info on what i am doing .. We have written a serial keyboard driver,We check the serial data through polling with the help of notification.. When we try to for eg open a new memo pad using short cut key for new memo then new memo comes up but after some time it is followed by this error... " MemoryMgr.c , Line:3675, Invalid chunk ptr RESET " Marianne - Original Message - From: "Chris Apers" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Monday, November 10, 2003 8:00 PM Subject: Re: Memory Manager Error > Did you try to debug your app ? this is the easier way to find out > why/where this occured. > > > > > > > We don't explicitly create any chunk.. We just get the error, we have no > > idea how this error comes > > So we wanted to know what generates the error.Please guide us... > > > > Marianne > > > > > > > > -- > 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/
Re: Memory Manager Error
We don't explicitly create any chunk.. We just get the error, we have no idea how this error comes So we wanted to know what generates the error.Please guide us... Marianne - Original Message - From: "Anders Rahm-Nilzon" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Monday, November 10, 2003 7:12 PM Subject: Re: Memory Manager Error > How do you create the chunk? > > "Marianne" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > > > > Hello, > > > > I have written an application and when i run it i get the following error: > > > > In which conditions do we get this error in Palm OS 5.0 : > > MemoryMgr.c , Line:3675, > > Invalid chunk ptr > > > > After this the PDA RESETs .Can anyone help me out... > > > > Thanks in advance > > > > Marianne > > > > > > > > -- > 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/
Memory Manager Error
Hello, I have written an application and when i run it i get the following error: In which conditions do we get this error in Palm OS 5.0 : MemoryMgr.c , Line:3675, Invalid chunk ptr After this the PDA RESETs .Can anyone help me out... Thanks in advance Marianne -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Invalid Chunk ptr , hotsync
Hi, Ok, we want the priority for our notifiaction handler as the highest only, so we have kept it as 0. We tried changing it to 2 but the HotSync problem still exists. We are not using any database in our application we are only using feature sets and serial port, which we keep open in the background mode. Thanks Regards Marianne - Original Message - From: "Mike McCollister" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Friday, November 07, 2003 8:26 PM Subject: Re: Invalid Chunk ptr , hotsync > Marianne, > > You don't want to set the priority to something like 2, keep it at 0. However, > if you read the docs, the priority should be set to something like 0x20, > 0x40 > > Just curious, are you using any resources from your app? If so, you need to > open the database, use the resource, then close it. This has to do with > HotSync is a native OS 5 application. This will happen with all native > applications. > > Mike > > --- Marianne <[EMAIL PROTECTED]> wrote: > > Hello Mike , > > > > Yes , we have used the priority 0 , but that's because we want our polling > > job to be done at the highest priority . Now I've changed the priority to 2 > > . But the hotsync still doesnot work . What priority should I set now ? Or > > could anything else be wrong ? > > > > Thanks & regards , > > Marianne . > > > > > > - Original Message - > > From: "Mike McCollister" <[EMAIL PROTECTED]> > > To: "Palm Developer Forum" <[EMAIL PROTECTED]> > > Sent: Friday, November 07, 2003 7:46 PM > > Subject: Re: Invalid Chunk ptr , hotsync > > > > > > > Marianne, > > > > > > What is your priority on your event? I have found that if I try to use a > > > priority other than 0 (or sysNotifyNormalPriority) that I have problems > > with > > > HotSync. > > > > > > Mike > > > > > > --- Marianne <[EMAIL PROTECTED]> wrote: > > > > Hello All , > > > > 1) I have written an application for palm OS 4.1 which uses feature set > > & > > > > the serial manager heavily . It works quite ok on palm os 4.1 . but when > > > > ported to palm 5.0 , it crashes after giving this message : " > > MemoryMgr.c , > > > > Line:3685, Invalid chunk ptr You may need to restart the handheld > > by > > > > performing a soft reset. Please press the RESET button RESET " > > > > > > > > Are there any changes to be made in case of global variables , feature > > set , > > > > etc ? Please advise . > > > > > > > > 2) I have used " sysNotifyEventDequeuedEvent " to poll the serial > > device . > > > > But when i start the application , after that hotsync does not work > > unless i > > > > soft reset the palm device . Even the " sysNotifySyncStartEvent " & " > > > > sysNotifySyncFinishEvent " to unregister my polling function do not > > work . > > > > The hotsync hangs even then . Why don't these notifications work in > > Palm os > > > > 5.0 ? > > > > > > > > Thanks & Regards , > > > > Marianne > > > > > > > > > > > > -- > > > > For information on using the Palm Developer Forums, or to unsubscribe, > > please > > > > see http://www.palmos.com/dev/support/forums/ > > > > > > > > > __ > > > Do you Yahoo!? > > > Protect your identity with Yahoo! Mail AddressGuard > > > http://antispam.yahoo.com/whatsnewfree > > > > > > -- > > > 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/ > > > __ > Do you Yahoo!? > Protect your identity with Yahoo! Mail AddressGuard > http://antispam.yahoo.com/whatsnewfree > > -- > 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/
Re: Invalid Chunk ptr , hotsync
Hello Mike , Yes , we have used the priority 0 , but that's because we want our polling job to be done at the highest priority . Now I've changed the priority to 2 . But the hotsync still doesnot work . What priority should I set now ? Or could anything else be wrong ? Thanks & regards , Marianne . - Original Message - From: "Mike McCollister" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Friday, November 07, 2003 7:46 PM Subject: Re: Invalid Chunk ptr , hotsync > Marianne, > > What is your priority on your event? I have found that if I try to use a > priority other than 0 (or sysNotifyNormalPriority) that I have problems with > HotSync. > > Mike > > --- Marianne <[EMAIL PROTECTED]> wrote: > > Hello All , > > 1) I have written an application for palm OS 4.1 which uses feature set & > > the serial manager heavily . It works quite ok on palm os 4.1 . but when > > ported to palm 5.0 , it crashes after giving this message : " MemoryMgr.c , > > Line:3685, Invalid chunk ptr You may need to restart the handheld by > > performing a soft reset. Please press the RESET button RESET " > > > > Are there any changes to be made in case of global variables , feature set , > > etc ? Please advise . > > > > 2) I have used " sysNotifyEventDequeuedEvent " to poll the serial device . > > But when i start the application , after that hotsync does not work unless i > > soft reset the palm device . Even the " sysNotifySyncStartEvent " & " > > sysNotifySyncFinishEvent " to unregister my polling function do not work . > > The hotsync hangs even then . Why don't these notifications work in Palm os > > 5.0 ? > > > > Thanks & Regards , > > Marianne > > > > > > -- > > For information on using the Palm Developer Forums, or to unsubscribe, please > > see http://www.palmos.com/dev/support/forums/ > > > __ > Do you Yahoo!? > Protect your identity with Yahoo! Mail AddressGuard > http://antispam.yahoo.com/whatsnewfree > > -- > 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/
Invalid Chunk ptr , hotsync
Hello All , 1) I have written an application for palm OS 4.1 which uses feature set & the serial manager heavily . It works quite ok on palm os 4.1 . but when ported to palm 5.0 , it crashes after giving this message : " MemoryMgr.c , Line:3685, Invalid chunk ptr You may need to restart the handheld by performing a soft reset. Please press the RESET button RESET " Are there any changes to be made in case of global variables , feature set , etc ? Please advise . 2) I have used " sysNotifyEventDequeuedEvent " to poll the serial device . But when i start the application , after that hotsync does not work unless i soft reset the palm device . Even the " sysNotifySyncStartEvent " & " sysNotifySyncFinishEvent " to unregister my polling function do not work . The hotsync hangs even then . Why don't these notifications work in Palm os 5.0 ? Thanks & Regards , Marianne -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Event Queue Full
Hello, We have written our own Keyboard Driver for our propritery keyboard.We have the following problems: 1. If we randomly type keys, we get Event Queue Full Fatal Error. This is observed when typing fast.. 2. On samsung i500 phone , we can change the association of some hard keys and the applications that r invoked when pressing these hard keys..From where can we get these associations.. 3. We want to invoke the same effect which we get when we press Shift+right,left arrow keys on PC.( selecting a text ) on samsung device. 4. Can we trap the fatal exceptions given by Palm.. 5. Can we show a tool tip if the application name is big and does not appear completely in the launcher. Please do reply as soon as possible Thanks in advance Marianne -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: overlays in Palm OS 5.0
Hello all , We have a Sony ClieTG50 with English version . We want to do testing of our application on the Japanese version of it . Can we get the Japanese ROM image for this , if yes can we save the original ROM & burn this ROM into our device . How much safe is this to go ahead ? OR can we get the simulator / emulator and Palm OS 5.0 ROM image for the testing . We have found ROM images of OS < 5.0 only . Please help ASAP . Thanks , Marianne . - Original Message - From: "Ken Krugler" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Friday, October 31, 2003 10:22 PM Subject: Re: overlays in Palm OS 5.0 > >We have created a serial application which uses the serial port in > >background mode . It runs quite ok on a normal Sony Clie device which has > >Palm OS 5.0 . But when it is run on a Japanese machine , the device crashes > >. Why this happens ? because the application for Palm OS 4.1 works ok with > >Japanese overlays on a Japanese Palm OS 4.1 device . For Palm OS 5.0 , what > >should be the process to port the application on Japanese language ? Should > >the Japanese overlays be created similar to the way they are created for a > >Palm OS 4.1 ( i.e. using the prctoOvl tool ) ? or is there any addition in > >this process for Palm OS 5.0 ? > > I think you're confusing overlays (as in the special PRCs created by > PRC2OVL) with 3rd party OS localization hacks, which are also often > called overlays. > > I'm guessing that when you say "a Japanese Palm OS 4.1 device" or "a > Japanese machine", you're talking about a fully localized product > from Sony. If so, then these don't use a 3rd party OS localization > hack, but rather are running the Japanese version of Palm OS, as > provided by PalmSource to licensees. > > Anyway, without more details as to the nature of the crash it's hard > to provide a useful answer. One possibility is that you're > accidentally using high ASCII someplace in an OS call that's > expecting the device (Shift-JIS, for Japanese) encoding for text, and > on 5.0 that causes something to behave badly. > > -- Ken > > PS - Do you have a real Japanese version of your app? If so, did you > create it using PRC2OVL? > -- > Ken Krugler > <http://www.krugler.org> > +1 530-265-2225 > > -- > 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/
Re: Problem with SrmOpenBackground for OS 5.0
Hello All , We have observed that the SrmOpenBackground doesnot open the port in background mode in Palm OS 5.0 however it does open as background in Palm OS 4.x . Either this is true or there is a problem with Hotsync application that it is not able to open the port which is currently in background mode in the foreground mode ? Please help ASAP . Thanks , Marianne . - Original Message - From: "Marianne" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Friday, October 31, 2003 6:38 PM Subject: Re: Problem with SrmOpenBackground for OS 5.0 > > Hi, > > We tried doing this, but it did not work :( > The main thing is that we want to use our application that opened the serial > port to work in background, so we don't close the port that was opened as > background port > > Regards, > > Marianne > > - Original Message - > From: "Dave Mottorn" <[EMAIL PROTECTED]> > To: "Palm Developer Forum" <[EMAIL PROTECTED]> > Sent: Friday, October 31, 2003 5:26 PM > Subject: RE: Problem with SrmOpenBackground for OS 5.0 > > > > This may be related to the problem I posted earlier this week. Once I > used > > the serial port I couldn't do a hotsync (using the button on the cradle) > > until I did a cold boot. I could start a hotsync using the hotsync icon. > I > > had to put the following code in my program termination routine: > > > > PrefSetPreference(prefHardCradleCharAppCreator, 'sync'); > > > > I had to include preferences.h to do the above. > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf Of > > Marianne > > Sent: Friday, October 31, 2003 6:21 AM > > To: Palm Developer Forum > > Subject: Problem with SrmOpenBackground for OS 5.0 > > > > > > > > > > Hello , > > > > We are using SrmOpenBackground in a Palm OS 5.0 application to open the > > port in background mode . But it seems to behave as if it is in foreground > > mode as any other serial application like Hotsync cannot open the port . > > This is not observed in Palm OS 4.1 . Why is this difference . Please help > > as early as possible . > > > > > > Thanks in advance , > > > > Marianne > > > > -- > > 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/
Re: Problem with SrmOpenBackground for OS 5.0
Hi, We tried doing this, but it did not work :( The main thing is that we want to use our application that opened the serial port to work in background, so we don't close the port that was opened as background port Regards, Marianne - Original Message - From: "Dave Mottorn" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Friday, October 31, 2003 5:26 PM Subject: RE: Problem with SrmOpenBackground for OS 5.0 > This may be related to the problem I posted earlier this week. Once I used > the serial port I couldn't do a hotsync (using the button on the cradle) > until I did a cold boot. I could start a hotsync using the hotsync icon. I > had to put the following code in my program termination routine: > > PrefSetPreference(prefHardCradleCharAppCreator, 'sync'); > > I had to include preferences.h to do the above. > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Marianne > Sent: Friday, October 31, 2003 6:21 AM > To: Palm Developer Forum > Subject: Problem with SrmOpenBackground for OS 5.0 > > > > > Hello , > > We are using SrmOpenBackground in a Palm OS 5.0 application to open the > port in background mode . But it seems to behave as if it is in foreground > mode as any other serial application like Hotsync cannot open the port . > This is not observed in Palm OS 4.1 . Why is this difference . Please help > as early as possible . > > > Thanks in advance , > > Marianne > > -- > 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/
Re: overlays in Palm OS 5.0
Hi, The device is Clie NX-80V . Actually we had developed the english version and our clients have converted it for Japnese Palm OS 5.0 using overlays.. Our application is purely in English and we haven't provided any extra support for Japanese version. Our clients must have used tool like PRC2OVL for conversion. Regards Marianne - Original Message - From: "Marcos Costa" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Friday, October 31, 2003 5:34 PM Subject: Re: overlays in Palm OS 5.0 > Hello Marianne. > I´m brasilian a japanese student and developer. > What japanese Palm OS device do you have? Do you use any japanese caracter > input IME in your not japanese Palm OS? > I have a Zaurus MI-E1, but now I´m trying to buy a Zaurus SL-C760. Do you > know it? > Thanks in advance , > Marcos Costa. > > _ > MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com > > > -- > 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/
palm 5 query
Hello , We have written an application , which registers a notification for each event used up from the system event queue . And the function which receives this notification has been used as a timer ISR . In which we compare two time-ticks values & depending on that , we do some further processing . Similar code works fine for Palm OS 4.1 where we have used a trap for EvtGetEvent for this . But this code does not work on Palm OS 5.0 . The difference between the initial ticks & the ticks taken in that ISR does not seem to increase at all . Why this is so ? Please help at the earliest possible . Thanks in advance , Marianne -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Problem with SrmOpenBackground for OS 5.0
Hello , We are using SrmOpenBackground in a Palm OS 5.0 application to open the port in background mode . But it seems to behave as if it is in foreground mode as any other serial application like Hotsync cannot open the port . This is not observed in Palm OS 4.1 . Why is this difference . Please help as early as possible . Thanks in advance , Marianne -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
overlays in Palm OS 5.0
Hello , We have created a serial application which uses the serial port in background mode . It runs quite ok on a normal Sony Clie device which has Palm OS 5.0 . But when it is run on a Japanese machine , the device crashes . Why this happens ? because the application for Palm OS 4.1 works ok with Japanese overlays on a Japanese Palm OS 4.1 device . For Palm OS 5.0 , what should be the process to port the application on Japanese language ? Should the Japanese overlays be created similar to the way they are created for a Palm OS 4.1 ( i.e. using the prctoOvl tool ) ? or is there any addition in this process for Palm OS 5.0 ? Please help as soon as possible , Thanks in advance , Marianne . -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Converting .PDB file to JPG
Hello, I have a Sony ClieNX80 . I have taken snaps using the camera available on the CLIE. I had downloaded the photo using HotSyn to the Computer. But the snaps are stored in the .PDB format. I want to convert it to .jpg, is there any tools for converting it?? Regards, Marianne -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Problem when compiling
Hello, I have CodeWarrior version8 with Palm SDK4.0 I upgraded my Palm SDK4.0 to SDK5.0 by installing SDK5.0-install downloaded from Palm's site. I tried making a new project by selecting Application Wizard and while compiling i get the following error: Error : Can't find a match for 'reserved' in the switch statement tTemp.r line 252 1, uncompressed, noTransprency, 1001, 0, 0, reserved, Error : Can't find a match for 'reserved' in the switch statement tTemp.r line 266 1, uncompressed, noTransprency, 1011, 0, 0, reserved, On compiling once again then the following error is displayed: Link Error : __RuntimeModule__: '__Startup__' referenced from '__DummyStartup__' is undefined. What is the tTemp.r file, csn anyone help me. Thanks in advance Regards, Marianne -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Information about Serial Patch
Hello, Can anyone tell me what is "SerialPatch" and "SerialPhoneTask" found in version tab of Info menu of Sony Clie having Palm OS 5 Thanks in advance Regards, Marianne -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Key Code
Thanks Matt Actually I am writing a keyboard driver, and I want to replicate the "shift+arrow " key functionality for selecting the word. So I have to place the appropriate key in the keyboard queue. So I wanted the key code for shift key Marianne - Original Message - From: "Matt Graham" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Friday, September 05, 2003 12:12 AM Subject: Re: Key Code > "Marianne" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > > Hi, > > > > I have a Sony Clie and I want to find the Key code for Shift key. I tried > by > > using keyDownEvent and finding the chr field of keyDown Struct.. It was > not > > of any help.. > > Here is the code that I had written: > > > > case keyDownEvent: > >frmP = FrmGetActiveForm(); > >ErrAlert(eventP->data.keyDown.chr); > >ErrAlert(eventP->data.keyDown.modifiers); > >handled = true; > >break; > > I don't think there is a Palm event for changing the shift state. I haven't > been able to have one. I tried to find it and when I entered the shift > stroke, instead of a keyDownEvent coming, there is no new event and the > shift indicator is magically updated. > > If you need to set the shift indicator and you're really hard up for doing > it, you may be able to fake it by doing penDown, penMove( up 20 ) and penUp. > > Matt > > > > -- > 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/
Key Code
Hi, I have a Sony Clie and I want to find the Key code for Shift key. I tried by using keyDownEvent and finding the chr field of keyDown Struct.. It was not of any help.. Here is the code that I had written: case keyDownEvent: frmP = FrmGetActiveForm(); ErrAlert(eventP->data.keyDown.chr); ErrAlert(eventP->data.keyDown.modifiers); handled = true; break; Can any one help me Thanks in advance.. Regards Marianne -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
SrmSend doesnt work on OS 5, works fine on OS4.1
Hello, I have implemented serial communication with SrmSend API on OS4.1 . It works fine.But the same code (after compiling with SDK for OS5) doesnt work for OS 5.0. The SrmSend gives error CTS Timeout. What can be the reasons? Regards Marriane -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Handling of Background Processing in Palm OS5
Hi, I have to develope a driver which operates in the background. I had implemented it using callback in Palm OS4.1. It works very well on 4.1 . Now I want to implement it on 5.0 Is there any way in which I can do it, since I have read that call backs are not supported in 5.0.. Thanks in advance Regards, Marianne -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Upgradation of OS
Hi, I have a PalmIII device that has OS v3.0 I want to upgrade or update it to OS v3.5 Actually I had got a prc file from palmone site to update it to 3.5.3 But it did not work. So i was wondering if someone can tell me how to do it where can i find the proper installer. Thanks in advance Regards Marianne -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Please Wait
Hello I want to add the " Please Wait " that appears when application delete menu option is selected.. What I did was , I created a form of width 70 and height 20 and left origin 40, top origin 80... Put a label of Please Wait.. And i called FrmGotoForm(PleaseWaitForm) in UIPalmMain() which is called in PilotMain()... Shown below is in UIPalmMain() : case sysAppLaunchCmdNormalLaunch: if( CheckPalmOff() ) //check if the sensor has given keyboard off or palm off events { FrmGotoForm(PleasewaitForm); AppEventLoop(); error = AppStart(); if (error == ErrCommError ) { // if error in AppStart , don't launch the UI & return . DriverStop() ; return error; } // start application by opening the main form // and then entering the main event loop FrmGotoForm(MainForm); AppEventLoop(); AppStop(); } break; And I have handles frmLoad event and frmOpent Event properly.. But I can't see the form when I click my UI icon.. Can anyone help me out Thanks in advance Regards Marianne -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Dynamically changing the alert message
Thanks I was successfull in doing it.. Actually i was using FrmCustomAlert but those strings wasn't getting set.. I was supposed to give ^1^2^3 in the message properties in constructor After this it worked.. :) - Original Message - From: "Ian Mantripp" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Wednesday, August 27, 2003 5:51 PM Subject: Re: Dynamically changing the alert message > on Wed, Aug 27, 2003, Marianne wrote: > > >Can I dynamically change the message of the alert. > >I just wanted to use one alert resource for more then 2 alerts, so there i > >just have to change the message.. > >Is it possible.. > > Hello, > > I'm a total newbie to the PalmOS dev but I think you need to use > FrmCustomAlert for this. > > <http://www.palmos.com/dev/support/docs/palmos/Form.html#1022443> > > Ian > > > -- > 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/
Dynamically changing the alert message
Hello,, Can I dynamically change the message of the alert. I just wanted to use one alert resource for more then 2 alerts, so there i just have to change the message.. Is it possible.. Regards, Marianne Jose -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Text Field
Hello, I have a text field which has numeric value.. I have to validate the number entered and change it if it crosses the boundary... I have handled this in fldEnterEvent.. In this i set the text by calling FldSetTextHandle and called FldDrawField.. The FldDrawField funtion is called to update the display.. I want the display to be updated automatically... But this doesn't happen, it happens only on the next focus or penDownd it get updated.. Am i missing out something... Please Help Thanks in advance Regards Marianne I am attaching the code: static void ValidateField( UInt16 objId ) { FormType * frmP; MemHandle htext ; FieldPtr field ; char *ptext ; Int32 oldValue; frmP = FrmGetActiveForm(); field = FrmGetObjectPtr(frmP , FrmGetObjectIndex(frmP , objId)) ; htext = FldGetTextHandle(field) ; if(htext) { FldSetTextHandle(field , NULL ) ; ptext = MemHandleLock(htext) ; oldValue = StrAToI( ptext ) ; switch(objId) { case PowerStandbyTxtField : GlobalStandbyVal = oldValue ; if( oldValue < 1 ) { StrIToA( ptext, 1 ); GlobalStandbyVal = 1 ; } else if( oldValue > 30 ) { GlobalStandbyVal = 30 ; StrIToA( ptext, 30 ); } break ; } MemHandleUnlock(htext) ; FldSetTextHandle(field,htext) ; FldDrawField(field) ; } } -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Serial Manager Query
Hi, I am using new serial manager ( OS 3.5 and above) . I want to get first 11 bytes from the the serial and later (after validating 11 bytes) the rest of the bytes from serial.But, at a time I get about 31 bytes on serial port. I am not able to get only 11 bytes first and later the remaining bytes. I tried using SrmReceive but in that case it always returns with Timeout error.( even if timeout given is very large). I have called SrmReceive from a notification handler. Does this mean that SrmReceive cant be called from a notification handler?Why does this happen? If i use SrmReceiveWindowOpen then i get all the bytes in the serial buffer and not just 11. So, I have to then keep track of all the bytes and code is becoming complex. Is there any way to get this done? Thanks in advance Regards Marianne -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Using Internationalization
Hello, Is there any documentation where I can find about making my application internationalized... Basically I want to know how to use Locale Manager and Overlay manager Thanks in advance Regards Marianne -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
How to use Radio Button
Hello, Is there a way to use Radio Button? I found that Push Button is used instead of Radio Buttons, but I want the actual look and feel of Radio Button.. Regards, Marianne Jose -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Graying of controls on disabling
Hi, I have designed a form which has a slider control, checkbox and push buttons.. When i disable these controls, i want it to be grayed-out... Is there anyway to do this.. Thanks in advance Marianne -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: PRC-Tools 2.1, when?
(Resubmited message for mailing list, first message was rejected.) Hi, back to the original question... > Does anyone know when PRC-Tools 2.1 will be released? I would like to use a third party GLib, and according to Palm's web page; ..it is intended that there will be a 2.1 release soon incorporating many of the facilities...particularly as pertains to re-enabling GLibs... Regards, Marianne Rieckmann -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
Re: PRC-Tools 2.1, when?
Hi, back to the original question... > Does anyone know when PRC-Tools 2.1 will be released? I would like to use a third party GLib, and according to Palm's web page; ...it is intended that there will be a 2.1 release soon incorporating many of the facilities...particularly as pertains to re-enabling GLibs... Regards, Marianne Rieckmann -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/