Re: Usb Port Battery Consumption

2004-05-20 Thread Petr Stetina
You can simply overcame this issue with Recharging USB Cable: http://www.palmone.com/us/products/accessories/chargerscablescradles/P10884U.html -- Petr Ritu Chawla wrote: Hi, I am planning to use Usb communication in one of my applciation , I have read follwoing in the Companion guide. IMPORTANT:

Re: What technique to determine active/inactive

2004-05-20 Thread Chris Faherty
On Thursday 20 May 2004 01:20 am, RVRoadie wrote: Thanks, do you also use a ftr to store DB refs so you don't have to open/close on each callback? Same for Mathlib and other library references? At first I did, but ultimately I decided against it. Instead, I just layered things so that I

Re: Problems making a call with Treo600

2004-05-20 Thread Fernando Rodriguez Sela
Thanks. I'll test your idea ;) Fernando. Jeffry Loucks wrote: There are dialer helpers, which are services that listen for notifications and respond, as necessary. You can check for available helpers by broadcasting what amounts to an inquiry notification. If there is a helper out there that

RE: Usb Port Battery Consumption

2004-05-20 Thread Ritu Chawla
Hi, Thanks for responding. I can not force mycustomer for buying anything to run my applciation. That it self will become an overhead for me. Please give me some other way to resolve this. rgds ritu -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Petr

how can i turn on the mobile by Telephony Manager APIs

2004-05-20 Thread ice wu
Hi all, I am developing an application that needs to turn on the mobile(if it is off.) on palm device. I use the APIs in the Telephony Manager to do this work. The APIs called are just as following: 1. call SysLibLoad(kTelMgrDatabaseType, kTelMgrDatabaseCreator, telRefNumP) to load the

NetLibReceive( )

2004-05-20 Thread wax wacky
Hi Guys , I have one server program which sends data to a socket conection piecemeal. On the PDA side i am receiving this data using NetLibReceive( ). WHAT's HAPPENING IS --- At first server sends 156 bytes of data . This data is properly received by the NetLibReceive( ).

Re: TimGetTicks does not advance

2004-05-20 Thread Aaron Ardiri
I wanted to calculate the number of ticks it takes to execute { some code }, but the following does always return 0: UInt32 sysTicks,runTicks; char temp[50]; sysTicks=TimGetTicks(); { some code } runTicks=TimGetTicks()-sysTicks; StrPrintF( temp, %u, runTicks );

Gremlins found a problem and I have no idea what to do to fix it! :(

2004-05-20 Thread Salli
I'm running some gremlins to test my program. I get an error, so run the minimize. In the minimize file the error comes down to just starting the program, the error is: Just changed the emulated program counter. This address is invalid because it's not even Does anyone have any ideas what I

How to develop for Treo 600

2004-05-20 Thread Gaurav Palvia
Hi, Is there a separate Dev Kit for Reo 600. I ve CW 9.0 with me. From where i can download the SDK for Treo 600. I searched on the PalmSoure but could not locate. Please guide me. Thanks and Regards Gaurav Palvia __ Do you Yahoo!?

Re: How to develop for Treo 600

2004-05-20 Thread Neil Whitworth
sign up for the plugged in program at http://pluggedin.palmone.com/ Gaurav Palvia wrote: Hi, Is there a separate Dev Kit for Reo 600. I ve CW 9.0 with me. From where i can download the SDK for Treo 600. I searched on the PalmSoure but could not locate. Please guide me. Thanks and Regards

Re: Gremlins found a problem and I have no idea what to do to fix it! :(

2004-05-20 Thread Tim Kostka
Make sure you're not corrupting data on the stack. Check arrays and strings and make sure you're within the bounds on both. You can always try commenting/uncommenting sections until the code works and figure out which part is causing the error. -- Tim Kostka http://www.nuprograms.com Salli

Re: GetMemo

2004-05-20 Thread Barry Jaques
I take the liberty of replying to my request. Checked the NSBasic web site and found my answer in the download samples, ReadData by John Kelly, and John has already done most of the hard work the easy way reading the memo data. Thanks John. Oh well, start again from scratch! Barry On 19/05/2004

Re: Gremlins found a problem and I have no idea what to do to fix it! :(

2004-05-20 Thread Salli
Hi Tim, I think that's what I'm going to have to doI was hoping (beyond hope!) that there might be an easier way of finding out where the problem is. Thanks for your help, Salli Tim Kostka [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Make sure you're not corrupting data on

Re: Usb Port Battery Consumption

2004-05-20 Thread Dave Lippincott
Don't confuse the Serial port and USB. The Palm's USB port is a slave so you will not be able to use it to communicate with anything except a host (as in a PC). If you *are* using the USB port, it does not drain the power nearly as much as the serial port. Plus, the stock Palm USB cradle and

RE: Usb Port Battery Consumption

2004-05-20 Thread Ritu Chawla
Thanks a Lot -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dave Lippincott Sent: Thursday, May 20, 2004 6:40 PM To: Palm Developer Forum Subject: Re: Usb Port Battery Consumption Don't confuse the Serial port and USB. The Palm's USB port is a slave so

Re: Records left locked or busy in DB

2004-05-20 Thread Luc Le Blanc
Tim Kostka a écrit : As I don't use DmGetRecord at all (preferring DmQueryRecord, even when I call DmWrite later), how can I en up leaving records busy? Can this I'm not sure if it's causing any harm, but DmQueryRecord is meant for read-only access to records (according to Palm OS

re: Announcing Web Interface to Lyris

2004-05-20 Thread David Thacker
Yay! This is a great improvement, thank you! One thing you might want to examine/adjust is how messages with file attachments appear in the web archives. Here is a recent example with an attached JPG file: http://news.palmos.com/read/messages?id=168274#168274 Regards, David Thacker PalmOS

re: Announcing Web Interface to Lyris

2004-05-20 Thread David A. Desrosiers
One thing you might want to examine/adjust is how messages with file attachments appear in the web archives. Here is a recent example with an attached JPG file: http://news.palmos.com/read/messages?id=168274#168274 Yuck. Those really should be archived off into a separate location,

Re: palmos 5 localization

2004-05-20 Thread Ken Krugler
Hi Karel, I found you as an well skilled palm os developer. Please can you help me with palm os 5 localization? I'm trying to make overlays for standard palm applications which are stored in ROM. These things I have done (for example for calculator): - downloaded .prc - made overlay with prc2ovl

Re: overlays

2004-05-20 Thread Ken Krugler
can someone help me with overlays? It is no problem for me to create an overlay for example to Contacts. Then I upload my csCZ overlay to device (with palmos 5) and use OmSetSystemLocale function to set system locale to csCZ. But the function fails because of unknown locale. What I should do to

Re: Localization for Strings

2004-05-20 Thread Ken Krugler
Hi Ritu, If you want to provide language support for you app but you don't want to use any of the localization techniques Does this means any standard technique is available for achieving this? If yes please let me know what it is ? The various techniques we've been telling you about recently.

TimGetTicks and Zire 21

2004-05-20 Thread Doug Pogue
I developed a stopwatch application for my Palm IIIx and it keeps perfect time. I bought a new Zire 21 and when I use the same application it loses 1 second every 10 minutes! Do I have to rebuild the application with newer runtime libraries? I can't find any info on palm websites. Thanks, Doug.

the effects of memory leaks

2004-05-20 Thread Ornstein, Adam
My question is for me a theoretical one, but Im sure it has a real answer. What would happen if a Palm app was released with memory leaks when the program exited. How would this affect the palm? Thanks! -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: the effects of memory leaks

2004-05-20 Thread Aaron Ardiri
My question is for me a theoretical one, but Im sure it has a real answer. What would happen if a Palm app was released with memory leaks when the program exited. How would this affect the palm? current versions of palmos actually clean up your mess for you. it is recommended you fix your

RE: the effects of memory leaks

2004-05-20 Thread Ornstein, Adam
What about older versions? Adam E. Ornstein Information Resource Specialist [EMAIL PROTECTED] -Original Message- From: Aaron Ardiri [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 1:16 PM To: Palm Developer Forum Subject: Re: the effects of memory leaks My question is for me

RE: the effects of memory leaks

2004-05-20 Thread Ornstein, Adam
Thanks, I was just analyzing someone else's code and couldn't figure out what I should tell them about the memory leak issue. -Original Message- From: Aaron Ardiri [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 1:21 PM To: Palm Developer Forum Subject: Re: the effects of memory

Re: the effects of memory leaks

2004-05-20 Thread Aaron Ardiri
Thanks, I was just analyzing someone else's code and couldn't figure out what I should tell them about the memory leak issue. run it on POSE :) it reports memory leaks well - and, even writes a log for you to figure out where they are :) should definately fix them :) --- Aaron Ardiri PalmOS

checking if control is graphical

2004-05-20 Thread Alexander R. Pruss
Is there any way I can check if a control is graphical under OS5? My Capitalizer program (handypalmstuff.sf.net) lets one (among other things) use alt+key to tap on a text control. Unfortunately, it can crash if there is a graphical control on screen. I can't figure out how to check if a

PalmOne 5-way navigator chrs for Up/Down

2004-05-20 Thread Luc Le Blanc
Reading PalmOS KnowledgeBase article 656 on 5-way navigators, I see the PalmOne left/right buttons are a little complicated, but I can't tell what chrs generate the Up/Down keys on a T3. The article mentions these keys without elaborating. I tried vchrRockerUp/Down (found in Chars.h), that work

Re: checking if control is graphical

2004-05-20 Thread Alexander R. Pruss
On my NX70V, it looks like graphical controls have the text ptr field set to 0xFEFEFEFE. Anybody have any idea how portable (if at all) this fact is between different OS5 systems? (I can't conveniently run a simulator and see if it holds under the sim because my WinXP system is under repair.)

Re: Records left locked or busy in DB

2004-05-20 Thread Tim Kostka
You can still use DmQueryRecord to read the record and then once you found the correct record use DmGetRecord/DmReleaseRecord to write and close the record without much change in code. This would correctly set the busy bit as well. You could also just use DmGetRecord and set the dirty bit

RE: Net Socket Notification

2004-05-20 Thread gparker-palm
Jeffry Loucks writes: I see they've announced socket notices (netSocketNoticeNotify) as a new feature of OS5.2! Interesting, since it's been part of the OS since May of 2000! Socket Notices allow for asynchronous sockets. You open a non-blocking socket, and then set the notice to fire on a

Re: checking if control is graphical

2004-05-20 Thread Ben Combee
At 12:45 PM 5/20/2004, you wrote: Is there any way I can check if a control is graphical under OS5? My Capitalizer program (handypalmstuff.sf.net) lets one (among other things) use alt+key to tap on a text control. Unfortunately, it can crash if there is a graphical control on screen. I can't

Re: PalmOne 5-way navigator chrs for Up/Down

2004-05-20 Thread Ben Combee
At 12:53 PM 5/20/2004, you wrote: Reading PalmOS KnowledgeBase article 656 on 5-way navigators, I see the PalmOne left/right buttons are a little complicated, but I can't tell what chrs generate the Up/Down keys on a T3. The article mentions these keys without elaborating. I tried

Treo 600 sim

2004-05-20 Thread Konstantin Klyatskin
There are so many sims available at http://pluggedin.palmone.com/ What is the difference in terms of testing? What should be preffered for more robust code: CDMA, GSM, Sprint, Orange, etc... Or it does not matter at all? The application is pretty standard and has nothing with communications... --

Callback function

2004-05-20 Thread Chris Hall
I have a comparison function called customerCompareRecords that I use as a (DmComparF) parameter in a call to DmFindSortPosition. The call looks like the following: return DmFindSortPosition(db, (MemPtr) record, NULL, (DmComparF *) customerCompareRecords, (UInt16) sortOrder); The

Stopping Files from HotSyncing

2004-05-20 Thread Scott Heffron
Does anyone know of a way to stop a file that is on the handheld from being backedup during a hot-sync operation. We are currently using Afaria, to download the software to the handhelds, but some people want to hot-sync their PIM apps. We need to make sure certain applications and databases

Re: Treo 600 sim

2004-05-20 Thread Ben Combee
At 02:45 PM 5/20/2004, you wrote: There are so many sims available at http://pluggedin.palmone.com/ What is the difference in terms of testing? What should be preffered for more robust code: CDMA, GSM, Sprint, Orange, etc... Or it does not matter at all? The application is pretty standard and has

RE: Stopping Files from HotSyncing

2004-05-20 Thread Mark F Rodriguez
Does anyone know of a way to stop a file that is on the handheld from being backedup during a hot-sync operation. You can turn of the backup bit. This can be done with a utility problem like FileZ or programmatically in your code. Thanks, -Mark -- For information on using the Palm

activate program when hotsyncing?

2004-05-20 Thread Ornstein, Adam
Is there a way to activate a program residing on the Palm when the palm device is hotsyncing? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: activate program when hotsyncing?

2004-05-20 Thread Hays, Jonathan \(GE Infrastructure\)
Adam, You can either create a conduit with a creator type that is the same as the application on the palm, or the application can register for the sysNotifySyncStartEvent event. -Jon Jonathan Hays Palm OS Certified Developer

Re: Gremlins found a problem and I have no idea what to do to fix it! :(

2004-05-20 Thread David Fedor
I'm running some gremlins to test my program. I get an error, so run the minimize. In the minimize file the error comes down to just starting the program Just starting the program, and not sending any events, and it crashes? That's hard to believe that you could have such a situation which

Re: Is that Possible for the Palm Tungsten C to transfer data to desktop wirelessly?

2004-05-20 Thread Gavin Maxwell
I don't think a conduit is the solution for you if you want an real-time and interactive session. Think of HotSync as more of a batch solution. For an interactive solution you'll need to write sockets code on the Palm and an appropriate server on the PC. There is plenty of sample code around to

re: Callback function

2004-05-20 Thread Gavin Maxwell
Why do you care what the callback returns? You should be more interested in what DmFindSortPosition returns. HTH, Gavin. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

re: MemPtrOwner runtime error

2004-05-20 Thread Gavin Maxwell
MemPtrOwner is an undocumented API and not supported under OS 5... Seems strange that you would want to call this anyway... what are you trying to achieve? There might be an easier/more supported way of doing it. HTH, Gavin. -- For information on using the Palm Developer Forums, or to

re: WinScreenLock failing in TT and TT2

2004-05-20 Thread Gavin Maxwell
Insufficient dynamic memory will cause WinScreenLock to fail. Have you changed anything to increase your dynamic memory usage? HTH, Gavin. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

re: connect my palm into network

2004-05-20 Thread Gavin Maxwell
You hit the nail on the head. Run the Prefs application, then use the Connection and Network panels to configure the connection. HTH, Gavin. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: MemPtrOwner runtime error

2004-05-20 Thread Jonatan Fernstad
Sys 0505)(0,23) Error code 505 means that the function you are trying to call (MemPtrOwner) is not implemented on the device you are running your app on. Jonatan Chris Mitra [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, I'm running into a runtime error when trying to

re: T3 Soft Key

2004-05-20 Thread Gavin Maxwell
FYI, that area is user-configurable (hold your stylus on one of the icons to change it). I don't recall seeing any new key codes for those items. The easiest way to stop them being tapped might be to hide the DIA using the Pen Input Mgr API's... If you are trying to lock your app down you can

Re: MemPtrOwner runtime error

2004-05-20 Thread Chris Mitra
Thanks all... Mostly I was just calling this for debugging, to try to verify that the BitmapPtr created from my call was using my owner ID. (Since I wanted to try changing that owner ID by calling MemPtrSetOwner(), but that call failed with an memErrInvalidParameter error). -- Chris Gavin

Re: Is that Possible for the Palm Tungsten C to transfer data to desktop wirelessly?

2004-05-20 Thread Su Shaw Bank
Mr Gavin Maxwell, Thank you very much for your information and suggestion, I will try it out, Thank you!! From: SSBank --- Gavin Maxwell [EMAIL PROTECTED] wrote: I don't think a conduit is the solution for you if you want an real-time and interactive session. Think of HotSync as more of

RE: Localization for Strings

2004-05-20 Thread Ritu Chawla
Hello Ken, Thanks for responding. I can understand the sample code approach. This can work only if the responses received in Engllish are from fixed. So that i can store corresponding Locale version for them. If the English string list is not constant , what i could get is the only option left

Re: Error writing to heap on StrIToA

2004-05-20 Thread Saurabh Agarwal
UInt32 i; int logStringLength = 0; Char* integerString = 0; integerString = MemPtrNew(maxStrIToALen); StrIToA(integerString, i); Roberto Machorro [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, Char* newLabel = 0; UInt16 aNumber; StrIToA(newLabel, aNumber); //assume

Re: Error writing to heap on StrIToA

2004-05-20 Thread Ben Combee
At 11:14 PM 5/20/2004, you wrote: UInt32 i; int logStringLength = 0; Char* integerString = 0; integerString = MemPtrNew(maxStrIToALen); StrIToA(integerString, i); This can work, but for such a small amount of memory, it's better, IMO, to just say char integerString[maxStrIToALen]; to declare a

Clie NX-... WinScreenMode getting screen depth.

2004-05-20 Thread Sinoptic
Hi everyone! I work with Sony Clie NX-60 device (which has 16-bit color screen) and use PalmOS 5.x hi-resolution API in my software. The problems is, that WinScreenMode defines only 8-bit color depth only on the real device and 16-bit (which is true) on Sony Clie Simulator. When I

Re: Clie NX-... WinScreenMode getting screen depth.

2004-05-20 Thread Tim Kostka
The problems is, that WinScreenMode defines only 8-bit color depth only on the real device What do you mean by this? If you are looking at the currect screen depth of the device it's quite possible it's in 8-bit mode. Just because a device has the capability to operate in 16-bit mode doesn't