Re: PalmOs 5 with Heap Size < 1Meg

2005-11-09 Thread Henk Jonas
Tungsten T1 and T2 Erico Franco wrote: Hi all, Which Palm Os 5 devices has less then 1 meg of Heap Size? I remember that Tungsten E has 500kB only. Any other device? Thanks Erico Franco -- - Henk Jonas

Re: Copying a bitmap

2005-11-09 Thread Davie Lau
It does work properly on a colour POSE! Now does that mean I should be using v3 bitmaps for high res screens? How would I do that? For example, WinCreateBitmapWindow takes a BitmapType as an argument and not a BitmapTypeV3. -- For information on using the PalmSource Developer Forums, or to un

Re: Copying a bitmap

2005-11-09 Thread JamesSturdevant
I don't know. I suspect that high density bitmaps that may be present on simulators and newer devices may be V3. Have you tried using POSE with a color ROM? Those would not use V3. JamesS Davie Lau wrote: Hi James, I am not using v3 bitmaps. I'm just using the normal 1 bit bitmaps? Should I

Re: Copying a bitmap

2005-11-09 Thread Davie Lau
Hi James, I am not using v3 bitmaps. I'm just using the normal 1 bit bitmaps? Should I be using v3 bitmaps? -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Copying a bitmap

2005-11-09 Thread JamesSturdevant
Wild guess here: at greater color depth are you dealing with a bitmapV3 format? JamesS Davie Lau wrote: I'm trying crop a signature capture so that I only save the image and not the white space around it. It seems to work if I set my simulator's color depth to 2 colors (black and white). The dra

Copying a bitmap

2005-11-09 Thread Davie Lau
I'm trying crop a signature capture so that I only save the image and not the white space around it. It seems to work if I set my simulator's color depth to 2 colors (black and white). The drawing becomes more garbled as I increase the color depth on the Sim. It also works fine if the drawing is

Re: XML to PDB?

2005-11-09 Thread Logan Shaw
Lance Drake wrote: Is there a suggested way/library/app/sample available anywhere that allows/demonstrates/describes conversion of an XML 'database' to be converted to a PDB file? The strategy I have (so far) starts with a FileMaker database which can be exported as XML. The XML text

re: XML to PDB?

2005-11-09 Thread Doug Gordon
As far as I know, there is nothing out there that converts XML files to any sort of Palm database "standard". Remember, PalmOS databases are not really "databases" as the term is used on PCs and other computers -- they're just a collection of records containing data formatted for a particular ap

re: Switching control between rectangle and main screen

2005-11-09 Thread Gnadinger, David
Whoops! I just figured it out. Been pulling my hair out for a couple of days. Finally, I post a question and, Bang!, there's the answer. Thanks anyway. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

XML to PDB?

2005-11-09 Thread Lance Drake
Hi Palm Development Folks, Is there a suggested way/library/app/sample available anywhere that allows/demonstrates/describes conversion of an XML 'database' to be converted to a PDB file? The strategy I have (so far) starts with a FileMaker database which can be exported as XML. The XML t

Re: Assembler help needed

2005-11-09 Thread Chris Apers
Ok, I tried to translate it to : define mad_f_mul(x, y) \ ({ mad_fixed64hi_t __hi; \ mad_fixed64lo_t __lo; \ mad_fixed_t __result; \ smull (__lo), (__hi), (__result), (x); \ movs (__lo), (__lo), lsr (MAD_F_SCALEBITS); \ adc (__result), (__lo), (__hi), lsl (32 - MAD_F_SCALEBITS);

Switching control between rectangle and main screen

2005-11-09 Thread Gnadinger, David
I have a window that I pull up that has 3 buttons: Next, Prev and Exit. The form handle event for the window is OrderListFormHandleEvent(). I call a function called FillOrderListForm() that creates a rectangle that takes in all of the screen except the title bar and the buttons, which are in a l

Re: PalmOs 5 with Heap Size < 1Meg

2005-11-09 Thread Ben Combee
I think the Zire 21 and Zire 71 also have small heaps. Look at any of the user forums where people are running emulators on OS 5 devices. At 10:11 AM 11/9/2005, you wrote: Hi all, Which Palm Os 5 devices has less then 1 meg of Heap Size? I remember that Tungsten E has 500kB only. Any other d

Re: MemHeapCompact()

2005-11-09 Thread Ben Combee
At 08:45 AM 11/9/2005, you wrote: Paul Nevai wrote: > Out of curiosity: has any of you ever used MemHeapCompact()? If so, what's > the name of the program? Thanks, PaulN > i did, but only because i wondered if it will make any difference, and i never noticed any... (it is called automatically wh

PalmOs 5 with Heap Size < 1Meg

2005-11-09 Thread Erico Franco
Hi all, Which Palm Os 5 devices has less then 1 meg of Heap Size? I remember that Tungsten E has 500kB only. Any other device? Thanks Erico Franco -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: Hi All Palm Network Programmers

2005-11-09 Thread David Birdsall
http://text.staticfree.info/palmdev/Palm%20OS%20Companion.pdf and there's a section here on Network Communication. it may help also -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of David BirdsallSent: 09 November 2005 17:22To: Palm Developer

Re: what is correct way of detecting poweroff?

2005-11-09 Thread Michal Seliga
thanks for help,i rewrote it using notifications and now it works correctly (also real t5 device doesn't freeze anymore, i still don't know why it happened, in simulator it never happened, but now it is ok) -- For information on using the PalmSource Developer Forums, or to unsubscribe, please s

Re: MemHeapCompact()

2005-11-09 Thread Michal Seliga
Paul Nevai wrote: > Out of curiosity: has any of you ever used MemHeapCompact()? If so, what's > the name of the program? Thanks, PaulN > i did, but only because i wondered if it will make any difference, and i never noticed any... (it is called automatically when you want to alloc memory, so it s

Re: Hi All Palm Network Programmers

2005-11-09 Thread Benjamin Bloomfield
O'Reilly has a book whose 5th chapter is free.  It helped me out.http://www.oreilly.com/catalog/palmosnetpro/chapter/ch05.htmlHere's some code to open the library: UInt16 AppNetRefnum;Err err = SysLibFind("Net.lib", &AppNetRefnum);if (err)   // library not found or some other errorErr ifErrs;err =

Hi All Palm Network Programmers

2005-11-09 Thread chinmaya
Hi All, This is chinmaya. I am begineer to Palm Networking application.I need some help from you all. I want to know how to connect internet using Internet Library API's then please send me some example , so that I can proceed in devoloping my application using accessing to Internet. ..

Hi All those are working on PalmOS Networking

2005-11-09 Thread chinmaya
Hi All, I am chinmaya. I am a begineer to PalmOS Networking (Wireless). I had got some API's like SysLibFind, INetLibConfigIndexFromName , INetLibOpen, INetLibURLOpen using Internet Library API's. But I don't know exact way to Use them. Means I am not able to Initialize Wireless features and

MathLib Built-in on some devices ??

2005-11-09 Thread ldavis
One of my users reported that his Treo 650 complained about MathLib not being OS compliant when he tried to install it. He then tried running the application without installing MathLib and it worked ok. I tried deleting MathLib from my Tungsten E2 and the application worked, so indeed it appear

Re: I Need some sample code

2005-11-09 Thread Eduardo Orea
Sanjib. Assuming that you already have your basic layout of a palm App (PilotMain, EventLoop, and so), you need to define the structure of the records that you will use, like typedef struct namesdb { charname[40]; UInt32dates[10]; // Every date on palm are stored like in seconds sin

Error in installing memoport in tungsten device

2005-11-09 Thread naxatra2001
hello all, when i try to install the application Memoport.prc file in the tungsten Palm Device and hotsync version is 6.0.1 i get errors: "invalid handheld file deleted" "Protocol Error: The requested command is not supported (4019)", can anyone help me to solve these errors. Thanks in advanc

Re: what is correct way of detecting poweroff?

2005-11-09 Thread palmosdev
I use this notification and have never seem it not be issued. I am pretty sure the only time this will not be issued is in the case of extreem battery drain and the device is shutting off and will then not turn back on until charged. -- For information on using the PalmSource Developer Forums,

I Need some sample code

2005-11-09 Thread sanjib mohanty
hello this is sanjib if i click on the name and again click on the view button it should be biplay some ten dates can any boday send the logic for that i will be very much thank full to them i am waiting for response. Ragards Sanjib -- For information on using the PalmSource Developer Forums, or

MemHeapCompact()

2005-11-09 Thread Paul Nevai
Out of curiosity: has any of you ever used MemHeapCompact()? If so, what's the name of the program? Thanks, PaulN -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: nilEvent not generated when I have focus to my field

2005-11-09 Thread kiranp
Thanks Logan, It was very explained answer. initially I was giving timeout as 100, I made it 5, it worked. if I make it 0, my app hangs. anyways its working .. but I wanted it as 100, reducing timeout screws up my other tasks that I was doing. thanks a lot again. .. KiraN Puranik -- For inf

Re: nilEvent not generated when I have focus to my field

2005-11-09 Thread Michal Seliga
I also noticed that when i get penMoveEvent then until i won't get penUpEvent there are no nilEvents... so it seems you really can't rely on them -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: nilEvent not generated when I have focus to my field

2005-11-09 Thread Logan Shaw
[EMAIL PROTECTED] wrote: I want to process someting( some task ) whenever there is free time .. i.e. nilEvent. But when I have a focus to my Field on my form ( cursor keeps blinking ) at that time no nilEvent gets generated. Is this behaviour is normal? How can I get rid of this? What timeout

Re: Is there StrToUpper like StrToLower?

2005-11-09 Thread Henk Jonas
Hi KiraN, I have no clue about PODS but in the makefile you would add something like -lPalmOSGlue to the linker part. Don't know it exactly by heart. You may check the examples there should be at least one which uses the glue-lib. Regards Henk [EMAIL PROTECTED] wrote: Hi Henk, No CW .. I