Difficult to say without knowing the kind of application your desigining. But the process of accepting/processing/storing/retrieval/displaying a signature took me about a couple weeks to make from the ground up (But I already knew some Palm programming though).
Now, I can do the entire setup in about a day (maybe two). If you really want to get more into Palm programming, read the companion manuals that come with the SDK and follow the coding/education process the manual takes you through. It gives you excellent exposure (I think) to how the mechanics of it all works. Then possibly buy yourself a Palm Programming book to really grease those gears. "wax wacky" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > Thanks Eddie for your information. In your view approximately how many days/hours it should take for this kind of application(considering me a beginner)? > > > ----- Original Message ----- > From: "Eddie Gomez" <[EMAIL PROTECTED]> > Date: Mon, 12 Apr 2004 21:11:14 -0700 > To: "Palm Developer Forum" <[EMAIL PROTECTED]> > Subject: Re: Bitmaps... for eddie!! > > There is no API per say that handles this properly. Search the knowledge > base for "Signature" and examine the source code for the "Signature++" > program. It is for Pre OS3.x versions. It will not work on newer versions > but it will give you a good start on how everything correlates. > > Create a gadget window, use the PenDown event to draw the pen-strokes in the > window. > > Old OS versions stored bitmaps in contiguous memory. New OS no longer does > that. So prior to saving Bitmap to database, copy to offscreen window and > retrieve pointers to Bitmap Header - WinGetBitmap(), Color Table - > BmpGetColortable(), Bitmap data - BmpGetBits(). Copy to temp memory > contiguously and then write to database. > > I use BmpCompress() to compress the bitmap prior to storage so that it takes > up little storage and then BmpCompress() again to restore the bitmap prior > to displaying it onscreen. > > Lot of code for all this. But the signature++ example will get you started > well. > > Hope this helps. > > Eddie > > > > > "wax wacky" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > > Hi eddie , > > I need to a similar kind of signature app. But i am new to palmOS > programming...I have build few a apps. > > Can u please tell me how to start for such kind of app. Which API will i > need to use. > > I would appreciate if u send me a sample code for this. > > > > bye > > wax > > > > > > My app accepts a signature and when saved within the application, the > > bitmaps is stored into a database and all works well. > > > > When the user enters a signature and exits the application via the > > silkscreen buttons (causing the appStop event to be generated) all regular > > fields on the form are saved except the signature bitmap. > > > > When an appStop event is created, is the screen memory wiped out prior to > > letting the application perform all necessary saving? > > > > On the frmClose event, I perform the winCreateOffscreenWindow and copy the > > signature window into it so that I can perform the necessary items to > > prepare it for storage. > > > > All the fields on the form are saved properly. The signature is stored > > properly when the user presses the OK button to return to the main form. > > Only when the user taps the silkscreen is the bitmap not stored. The > fields > > are ok too. > > > > Are my suspicions correct? > > > > Thx in advance!! > > > > Eddie > > > > > > > > -- > > ______________________________________________ > > IndiaInfo Mail - the free e-mail service with a difference! > www.indiainfo.com > > Check out our value-added Premium features, such as an extra 20MB for mail > storage, POP3, e-mail forwarding, and ads-free mailboxes! > > > > Powered by Outblaze > > > > > > -- > ______________________________________________ > IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com > Check out our value-added Premium features, such as an extra 20MB for mail storage, POP3, e-mail forwarding, and ads-free mailboxes! > > Powered by Outblaze > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
