RE: Displaying battery status

2006-02-17 Thread hv reddy
Hi Is there any way to display battery charging status information in my application. Thanks , regards Harsha -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: How to convert between "(long) double" and "string" using PRC-tools?

2006-02-17 Thread Jay Ts
On Fri, Feb 17, 2006 at 10:27:36PM +0100, Ton van Overbeek wrote: > On 2006-02-17, Jay Ts <[EMAIL PROTECTED]> wrote: > > Ton van Overbeek wrote: > >> You would also have to port MathLib to long double. > > > > I have looked into this issue too, and the limitation of > > MathLib to just floats > >

Re: How to convert between "(long) double" and "string" using PRC-tools?

2006-02-17 Thread Ton van Overbeek
On 2006-02-17, Jay Ts <[EMAIL PROTECTED]> wrote: > Ton van Overbeek wrote: >> You would also have to port MathLib to long double. > > I have looked into this issue too, and the limitation of > MathLib to just floats was the main thing that for now > keeps me from supporting long double in my applic

RE: Does Palm OS support Unicode?

2006-02-17 Thread Michael Kang
Thank you, Jeremy. Michael > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Brown > Sent: February 16, 2006 8:41 PM > To: Palm Developer Forum > Subject: re: Does Palm OS support Unicode? > > > It doesn't support Unicode meaningfully if you

Re: Database HELP!

2006-02-17 Thread Dean Gahlon
> Yes, I've checked that the memory leaks are from my database. The thing is > that if a do a MemHandleNew and then need to "free" it up, and when I do > that I lose my data. If I don't I get the memory leak. > > Does anyone have an example where the database uses Char*? I'm really losing > all ho

RE: Database HELP!

2006-02-17 Thread David Birdsall
MemPtrNew in C, "new unsigned char" in C++, do a straight byte-for-byte copy of the data, then cast it as you need it, perhaps ? I'm not sure this will solve your problems, and you may get struct alignment problems. It was just a suggestion. -Original Message- From: [EMAIL PROTECTED] [m

EvtEnqueueKey

2006-02-17 Thread Benjamin Bloomfield
Hey, I'm using EvtEnqueueKey to queue up a bunch of keystrokes, but when I do more than about 45, the first bunch don't have any effect.  It seems like a problem with the key queue not being big enough, but is there any way to overcome that? Or maybe there is a better way to do what I'm trying to d

re: Record busy flag not cleared on soft reset (5.4.9)

2006-02-17 Thread Stella Lai
We have recently come across the same issue as well. We have written a test case and verified the record busy bits persisting in the database when reset. We are hoping Palm would be able to comment on that too. - Stella Lai iAnywhere Solutions -- For information on using the PalmSource Develo

RE: Database HELP!

2006-02-17 Thread Nicolás Balparda Bossi
Yes, I know, me again, I am a pain in the How can I copy the data into the heap? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Birdsall Sent: Viernes, 17 de Febrero de 2006 03:27 p.m. To: Palm Developer Forum Subject: RE: Database HELP! Perh

RE: Database HELP!

2006-02-17 Thread David Birdsall
Perhaps you need to copy the data you need to read from into heap, so you can re-use the data after you've called MemHandleFree? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Nicolás Balparda Bossi Sent: 17 February 2006 17:14 To: Palm Developer Forum Subj

Re: Database HELP!

2006-02-17 Thread Billy
Nicolás Balparda Bossi wrote: Yes, I've checked that the memory leaks are from my database. The thing is that if a do a MemHandleNew and then need to "free" it up, and when I do that I lose my data. If I don't I get the memory leak. Does anyone have an example where the database uses Char*? I'm

Re: How to convert between "(long) double" and "string" using PRC-tools?

2006-02-17 Thread Jay Ts
Ton van Overbeek wrote: > You would also have to port MathLib to long double. I have looked into this issue too, and the limitation of MathLib to just floats was the main thing that for now keeps me from supporting long double in my application. (The other thing is that although double precision i

RE: Database HELP!

2006-02-17 Thread Nicolás Balparda Bossi
Yes, I've checked that the memory leaks are from my database. The thing is that if a do a MemHandleNew and then need to "free" it up, and when I do that I lose my data. If I don't I get the memory leak. Does anyone have an example where the database uses Char*? I'm really losing all hope :( Nico

Re: How to convert between "(long) double" and "string" using PRC-tools?

2006-02-17 Thread Ton van Overbeek
On 2006-02-17, Thomas Okken <[EMAIL PROTECTED]> wrote: > I have an existing PalmOS application, targeted at PalmOS 3.0 and later, and > developed using PRC-tools. The app is a calculator, and it uses the > native "double" data type (with MathLib.prc to provide transcendentals). > In order to conver

Re: Database HELP!

2006-02-17 Thread Jim Morris
If you are using the emulator you should get are report of leaks in the log file. Have you verified that the memory leaks are related to your database code and not your UI or other code? There are plenty of areas that could cause memory leaks. If you KNOW which section of code is responsible

RE: Database HELP!

2006-02-17 Thread Nicolás Balparda Bossi
I've read that article and follow the same steps, but a memory leak ocurred when i close the application From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David BirdsallSent: Viernes, 17 de Febrero de 2006 01:49 p.m.To: Palm Developer ForumSubject: RE: Database HELP! This ar

Re: Image corruption using Photo Library

2006-02-17 Thread Adrien Regimbald
Hello Allan, Essentially, you're going to need to byte swap your data on 2 byte boundaries. You can read more about this in the archives: http://news.palmos.com/read/messages?id=169246 http://news.palmos.com/read/messages?id=168274 Adrien. Friday, February 17, 2006, 3:11:38 AM, you wrote: A> H

How to convert between "(long) double" and "string" using PRC-tools?

2006-02-17 Thread Thomas Okken
I have an existing PalmOS application, targeted at PalmOS 3.0 and later, and developed using PRC-tools. The app is a calculator, and it uses the native "double" data type (with MathLib.prc to provide transcendentals). In order to convert "double" to "string" and vice versa, my code currently uses

RE: Database HELP!

2006-02-17 Thread David Birdsall
This article may be of help:   http://www.codeproject.com/ce/palmdb.asp -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Nicolás Balparda BossiSent: 17 February 2006 15:26To: Palm Developer ForumSubject: Database HELP! For days i've been

Re: Database HELP!

2006-02-17 Thread Del Ventruella
Palm OS Programming, the Developer's Guide by Neil Rhodes & Julie McKeehan.  ISBN 1-56592-856-3   This guide was written to guide one through database development for Metrowerks Codewarrior for PalmOS.  You might find one used and below retail at Amazon. - Original Message - Fro

Database HELP!

2006-02-17 Thread Nicolás Balparda Bossi
For days i've been trying to create a record to my database, and it was completely useless. I really couldnt find any help to explain how to create a new record without any memory leaks or any other error.   My structure is like this:   struct abc {     Char* name;     Char* username;    

Re: Timer

2006-02-17 Thread Thomas Damme
Nicolás Balparda Bossi schrieb: Could anyone give me some advice on how to use a timer on palm? I really cant find anything useful :( It depends what kind of timer you want. If you want a irregular timer with seconds to days delay, the choose the alarm manager. If you need more regular update

Memory Leak

2006-02-17 Thread cp
Hi All, I am running an application which is tested on valgrind in linux to be free of memory leak. I reviewed the code, and found all the MemPtrNew memories are freed and all the new objects are deleted. But in palm while running my application, the heap memory is constantly decreasing and com

RE: MemoryMgrNew

2006-02-17 Thread Nicolás Balparda Bossi
If I use the MemHandleFree, how can I store the data in a database? Whenever I get back to the application, all the information is empty, and if I don’t use the MemHandleFree I get an error. Can you help me? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf O

Re: Algorithm for TxtCompare

2006-02-17 Thread Thomas Damme
Dave Carrigan schrieb: I need to create databases on the desktop that are sorted in the same order that they would be sorted on PalmOS using TxtCompare and TxtCaselessCompare. The TxtCompare docs say that it uses up to 6 comparison tables for sorting. However, I can't find any information on wha

Re(2): New to Palm - Need advice on how dev project

2006-02-17 Thread George Henne
If you like working with Basic, have a look at NS Basic/Palm: http://www.nsbasic.com/palm Let me know if you have questions! George Henne NS BASIC Corporation http://www.nsbasic.com >You might consider PocketStudio, which is modeled on Delphi, or PP Comp

Re: I'll be blunt. Does gSOAP work?

2006-02-17 Thread Luciano A. Stertz
Hi, I have never worked with gSOAP, but have already worked a lot with networking in Palm OS. There is a very well known limitation in the Palm stack that may be related to the problems you are facing with gSOAP. The Palm stack supports only 16 sockets open at the same time. With all t

Re: New to palmos

2006-02-17 Thread Jeff Summers
I like Professional Palm OS Programming by Foster and Bachmann. Good code examples, covers lots of topics. /js In your message regarding New to palmos dated Fri, 17 Feb 2006 12:12:26 -, [EMAIL PROTECTED] said that ... > hi All, > > I am new to palmOS programming, I want to know the inter

Re:New to Palm - Need advice on how dev project

2006-02-17 Thread Jeff Summers
You might consider PocketStudio, which is modeled on Delphi, or PP Compiler which is another Pascal for Palm. Just some ideas... http://www.ppcompiler.org/download.php?lng=en http://www.winsoft.sk/pstudio.htm In your message regarding Re:New to Palm - Need advice on how dev project dated Fri, 17

New to palmos

2006-02-17 Thread mail4johnv
hi All, I am new to palmOS programming, I want to know the internal structure of palmos, like its file systems, memory management etc. I want a good online tutorial on palmos programming (C++) as well as some good books on it. Thanks -- For information on using the PalmSource Developer Forum

Image corruption using Photo Library

2006-02-17 Thread Allan
Hi all, I'm using the Photo and Camera Libraries on the Zire 72 to capture an image and save it using the File Stream interface. It displays perfectly in the preview, but after saving and opening, the image has really bad noise added. The streamed images that come with the OS display perfectly usi

Re: Development for Palm Zire 71 - Needing Help

2006-02-17 Thread Guilherme C. Hazan
Check www.superwaba.com.br -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/