RE: White screen with Treo 650?

2005-06-07 Thread Chris Apers
Are you using an offscreen system ? -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Paul Jensen Envoyé : mardi 7 juin 2005 06:49 À : Palm Developer Forum Objet : White screen with Treo 650? I distribute a couple of freeware PalmOS apps (mainly as a hob

Re: need Tapwave navigator clarification

2005-06-07 Thread Richard Coutts
You're testing for the wrong thing. The navFtrVersion returns the version of five-way navigation support that's in the system. This is the combination of fnav resource support and FrmNav APIs that was introduced on the Treo 600. The use of vchrRocker codes is orthogonal to that; TapWave Zodi

to determine palm model details

2005-06-07 Thread imran baig
Hi All can anyone send me the complete list of of codes resulted, from following functions calls, to retrieve Palm Manufacturer and model details. UInt32 companyID,deviceID,HALID; FtrGet(sysFtrCreator,sysFtrNumOEMCompanyID,&companyID); FtrGet(sysFtrCreator,sysFtrNumOEMDevic

Re: White screen with Treo 650?

2005-06-07 Thread Chris Tutty
From: "Paul Jensen" <[EMAIL PROTECTED]> > I distribute a couple of freeware PalmOS apps (mainly as a hobby), > and I have received a couple of reports from users with Treo 650s. > They claim when they run the apps they get a white screen (or in one > case that they can see buttons, but not a dra

RE: to determine palm model details

2005-06-07 Thread Manpreet
You can have look at this link: http://www.mobilegeographics.com/dev/devices.php ,Manpreet > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of imran baig > Sent: Tuesday, June 07, 2005 2:21 PM > To: Palm Developer Forum > Subject: to dete

Re: stopping an app from starting up

2005-06-07 Thread Dr. Vesselin Bontchev
> I haven't tried this, but what about nuking the entry point to the > app instead of deleting or renaming the database? As I mentioned above, this is what Kaspersky Anti-Virus seems to be doing - overwrite the malicious application with a do-nothing application. I haven't tried it myself, thoug

Re: White screen with Treo 650?

2005-06-07 Thread Robert Moynihan
Paul Jensen wrote: I distribute a couple of freeware PalmOS apps (mainly as a hobby), and I have received a couple of reports from users with Treo 650s. They claim when they run the apps they get a white screen (or in one case that they can see buttons, but not a drawn image). I have not bee

Re: maximum number of forms per PRC?

2005-06-07 Thread Mark Lussier
Much appreciating your help, and sorry if I am slow on this, but it does seem a bit like a big puzzle to me to get this all to work. ok, so if I understand correctly. in targets tab, create a target that includes the extra resources not able to fit into the main project. Use the Palm OS linker

DefaultHelperLibSetDefaultHelper() related problem

2005-06-07 Thread Mehul Patel
Hi, I am trying to add my application name to the (Prefs->Default apps->Email) on TREO-600. My Code snippet is as follows: // Set default apps as MyApplication for Email option { UInt16 DefaultHelpersLibRefNum; err = SysLibFind(defaultHelperLibName,&DefaultHelpersLibRefN

Reciving Data in a Socket

2005-06-07 Thread Alexandre Barreto
Hi, I need to call a function evertime there is data on a socket. i can´t block my program wating for data there. i need the user to do other stuffs..and when data arrives this function read the socket and do stuffs. how can i do that? thank you, Alexandre -- For information on using the PalmS

Re: Reciving Data in a Socket

2005-06-07 Thread Alexandre Barreto
My friend Regis said i was a litle confusing in my post. what i want to know is How do I specify a function to be called automaticaly when there is data received on a socket (a call back or a notification) thanx Alexandre Barreto escreveu: Hi, I need to call a function evertime there is da

Re: maximum number of forms per PRC?

2005-06-07 Thread Mark Lussier
Originally, it was using the Mac OS 68k linker. When I added the 1 form ID resource, and started getting an error "copying resource fork" I eventually discovered that the Palm OS Linker did not display this error. I think I had to remove the data directory under my project and do a complete

Re: to determine palm model details

2005-06-07 Thread Douglas Handy
Imran, >the complete list of of codes It should be noted that I don't think any list is considered definitive, since any list is dependent on user contributions of information and having the list maintained. No official list exists, to my knowledge. The one quoted is the best I've seen though.

vCal import.

2005-06-07 Thread Gene LeFave
I'd like to upload schedules to the calendar app from an internal scheduling program. I can generate a vCal file and it will upload ok, but the event ID tag appears to be ignored. If the same event is imported it will appear as a duplicate event. Does anyone know if there is a way to get the

Re: Codewarrior 9.3 rsrc trouble with id's

2005-06-07 Thread Roger Stringer
Subject: Re: Codewarrior 9.3 rsrc trouble with id's From: "Mark Lussier" <[EMAIL PROTECTED]> Date: Mon, 6 Jun 2005 12:10:44 -0400 X-Message-Number: 17 is there a limitation as to how many form resources can be within one PRC? I am in the 90+ form range for 1 PRC Your form ID's need to be less

Re: How Encryption can be done for Palm database fields?

2005-06-07 Thread srimanarayana 2k
Thanks for replying. How i can use this TEA... But my application encryption needs RSA type, there is any examples in DES algo if you know please reply back. This DES is done by public key and private key. Any examples regarding to this encryption decryption in palm based, please help in this en

form id's, increment by 100

2005-06-07 Thread Mark Lussier
Are form IDs that are NOT an increment of 100 "valid" ? I am noticing when created by Constructor, they end up in the PRC rounded up to a nearest 100. For example, a formID of 8850 becomes 9000 when it lands in the PRC. -- For information on using the PalmSource Developer Forums, or to uns

Is double datatype supports in Palm?

2005-06-07 Thread srimanarayana 2k
Hello I am using double datatype directly in palm declaring as double d, c; Is double datatype supports in Palm? please inform immediately. thanks srimanarayana __ Discover Yahoo! Use Yahoo! to plan a weekend, have fun online and more. Check

Is double datatype supports in Palm?

2005-06-07 Thread srimanarayana 2k
Hello I am using double datatype directly in palm declaring as double d, c; Is double datatype supports in Palm? If supports How we can use double datatype? directly we can use? any header file has to be include? like UInt32(4 bytes) there is any datatype which supports 8bytes? i given UInt64

Getting substrings

2005-06-07 Thread Pete Dempsey
I know that there is probably a very simple solution to this, so hopefully someone can help. I want to be able to extract substrings out of a string using a function like the MFC CString function Mid( int nFirst, int nCount ) Any working examples would be greatly appreciated. Pete -- For info

Re: Getting substrings

2005-06-07 Thread Vladimir Lozhnikov
try use CString::Mid from POL library PD> I know that there is probably a very simple solution to this, so hopefully someone can help. PD> I want to be able to extract substrings out of a string using a function like the MFC CString function Mid( int nFirst, int nCount ) PD> Any working examp

Re: Setting fields values

2005-06-07 Thread Roger Stringer
Subject: Setting fields values From: Udi Kobi <[EMAIL PROTECTED]> Date: Mon, 06 Jun 2005 15:08:51 +0200 I use this code to set a field's value: field = (FieldType *)GetObjectPtr(MonthField); StrCopy(str, "July"); FldInsert(field, str, StrLen(str)); And this code to read: fie

Re: Getting substrings

2005-06-07 Thread Pete Dempsey
Sorry I should have said that I am using PODS and therefore can't use the POL library. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

SHA-1 lib

2005-06-07 Thread Scott Erickson
My app is using the Cypto Manager to do SHA-1 encrytpion, but i have found that this manager is not on most palm devices. I was looking for a good SHA-1 lib i can use in my app. It needs to be public domain. This app will be sold, and I cant be forced to give my source code with the app. Any

PDF creation

2005-06-07 Thread BrownB
Hello I'm lloking for a way to write graphic data in PDF format, sending then the file so obtained by e-mail. Does anyone know a good application/library to do this? Thank you very much, BrownB -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://ww

Re: Getting substrings

2005-06-07 Thread Robert Moynihan
Pete Dempsey wrote: I know that there is probably a very simple solution to this, so hopefully someone can help. I want to be able to extract substrings out of a string using a function like the MFC CString function Mid( int nFirst, int nCount ) Any working examples would be greatly apprecia

Re: Getting substrings

2005-06-07 Thread Pete Dempsey
Bob, that works to some extent but it doesn't seem to terminate the string. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

how to know how many icons is there in a family?

2005-06-07 Thread Yuen Kwee
hi there! how do i check how many icons is there in a icon family? for example, i have 1bit, 2bit and 8bit in normal density and 1bit, 2bit and 8bit in double density. how do i know which 1 exist and which 1 does not? i wanted to do this, if double density and normal density exist, i would choo

Re: Getting substrings

2005-06-07 Thread Robert Moynihan
Pete Dempsey wrote: Bob, that works to some extent but it doesn't seem to terminate the string. That's right. StrNCopy ONLY copies the requested number of characters. Just add another line, as below, and you should be good. sourceStr[nCount]=0; Bob -- For information on using the PalmS

Re: Getting substrings

2005-06-07 Thread Robert Moynihan
Robert Moynihan wrote: Pete Dempsey wrote: Bob, that works to some extent but it doesn't seem to terminate the string. That's right. StrNCopy ONLY copies the requested number of characters. Just add another line, as below, and you should be good. sourceStr[nCount]=0; Bob Oops... I m

Re: Getting substrings

2005-06-07 Thread Marcelo Alves
This approach can lead to problems on multibyte encodings. http://www.palmos.com/dev/support/docs/palmos/StringManager.html#1065629 On Tue, 07 Jun 2005 11:11:22 -0400, "Robert Moynihan" <[EMAIL PROTECTED]> said: > Robert Moynihan wrote: > > > Pete Dempsey wrote: > > > >> Bob, that works t

RE: form id's, increment by 100

2005-06-07 Thread Eric Cloninger
Any number less than 1 is "valid". Truth be told, any unsigned short is valid, but you really should keep them less than 1 to keep from interfering with system forms. Constructor increments by 100 to allow you plenty of latitude in numbering your form objects and knowing which objects go

Re: Feeding StrLocalizeNumber

2005-06-07 Thread Adrien Regimbald
Hello Luc, Why not just modify one of the available routines? Adding a comma every 3 digits shouldn't be a complex modification. I was going to suggest using the widely used GetStringFromDouble() and GetDoubleFromString() functions from the archives, but it seems they are no longer available. Sinc

RE: Reciving Data in a Socket

2005-06-07 Thread Jeffry Loucks
Alexandre, Use socket notices. 1. Register to receive a notification, either procedural or app launch. 2. Prepare a socket to do what you need to do (stream or datagram). 3. Prime the socket to send a socket notice (notifications are the only type supported by OS5). 4. When data arrives (or an e

Re: maximum number of forms per PRC?

2005-06-07 Thread Ben Combee
At 04:49 AM 6/7/2005, you wrote: Much appreciating your help, and sorry if I am slow on this, but it does seem a bit like a big puzzle to me to get this all to work. ok, so if I understand correctly. in targets tab, create a target that includes the extra resources not able to fit into the main

Re: form id's, increment by 100

2005-06-07 Thread Ben Combee
At 06:54 AM 6/7/2005, you wrote: Are form IDs that are NOT an increment of 100 "valid" ? Yes. The system just loads resources and doesn't care what the number for the resource is. However, Constructor won't handle them; it was not designed for a system with as many forms as you're using. Y

Re: Is double datatype supports in Palm?

2005-06-07 Thread Ben Combee
At 07:04 AM 6/7/2005, you wrote: Hello I am using double datatype directly in palm declaring as double d, c; Is double datatype supports in Palm? If supports How we can use double datatype? directly we can use? any header file has to be include? like UInt32(4 bytes) there is any datatype which

Re: Palm Debugger

2005-06-07 Thread Landon Cunningham
I already tried that. Maybe I have the wrong settings. What settings should I have it setup as. Ie arm or 68k. Or what ?? On 6/6/05, Scott Erickson <[EMAIL PROTECTED]> wrote: > To debug on the device, you need to put it in console mode. The best way to > do this is with the DotDotTwo.prc. If th

Re: Reciving Data in a Socket

2005-06-07 Thread Alexandre Barreto
Thank you very much Jeff. I ll try That! thanx again. Jeffry Loucks escreveu: Alexandre, Use socket notices. 1. Register to receive a notification, either procedural or app launch. 2. Prepare a socket to do what you need to do (stream or datagram). 3. Prime the socket to send a socket notic

Re: How Encryption can be done for Palm database fields?

2005-06-07 Thread Ingbert Grimpe
On Tue, 7 Jun 2005 06:53:26 -0700 (PDT), srimanarayana 2k <[EMAIL PROTECTED]> wrote: But my application encryption needs RSA type, there is any examples in DES algo if you know please reply back. This DES is done by public key and private key. DES is a symmetric cipher ... Please check some

Testing wireless software on Treo simulators

2005-06-07 Thread RaNo
How do you test your radio applications on the Treo 600/650 simulators? I can't even turn wireless mode on, but I suppose I need a virtual phone for that... ...is there any tool like this? -- Radoslaw Nowak, RNS:: www.ranosoft.net/palm -- For information on using the PalmSource Developer For

Stack size on palm os?

2005-06-07 Thread Paul Reger
What is the stack size on palm? Is there any help for debugging stack over flow problems in palm? Such as what is the current stack size? Thanks, __ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at

Re: Getting substrings

2005-06-07 Thread James Lin
Marcelo Alves wrote: > > > Robert Moynihan wrote: > > > > > Pete Dempsey wrote: > > > > > >> Bob, that works to some extent but it doesn't seem to terminate the > > >> string. > > >> > > > That's right. StrNCopy ONLY copies the requested number of > > > characters. Just add another line, as

Re: SHA-1 lib

2005-06-07 Thread Ingbert Grimpe
On Tue, 7 Jun 2005 10:22:29 -0400, Scott Erickson <[EMAIL PROTECTED]> wrote: SHA-1 lib i can use in my app. It needs to be public domain. This app will Not a lib, but simply a public domain implementation: http://www.dominik-reichl.de/articles/csha1/csha1.shtml It can be ported to Palm qu

Re: Feeding StrLocalizeNumber

2005-06-07 Thread Luc Le Blanc
Adrien wrote: > Why not just modify one of the available routines? > Adding a comma every 3 digits shouldn't be a complex modification. In the mean time, I wrote a stand alone proc to do just that (I can also call it on strings resulting from StrIToA). It assumes the user-selected thousands and

Re: SHA-1 lib

2005-06-07 Thread Scott Erickson
That looks like it work, thanks for the link. -- Scott Erickson Software Development Team, FB-4, Inc. [EMAIL PROTECTED] "Scott Erickson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > My app is using the Cypto Manager to do SHA-1 encrytpion, but i have found > that this manager

Debugging

2005-06-07 Thread Landon Cunningham
Hi Everyone, I have this program that I am working on that takes a screen and transfers it over bluetooth to a base computer. It does this by listening for the vhcr buttons. Once one of the four a pressed the handheld user logs in and then the screen is sent. Before it is sent the screen is compre

multiple apps

2005-06-07 Thread Tony Janke
I wrote multiple apps that may be installed at the same time. Initially, I had a problem where both programs would be listed under one name in the APP>Delete menu. I fixed this by changing the creator ID's to be unique. This worked, the problem I have now is that only the first application I

Re: stopping an app from starting up

2005-06-07 Thread Logan Shaw
Dr. Vesselin Bontchev wrote: I haven't tried this, but what about nuking the entry point to the app instead of deleting or renaming the database? As I mentioned above, this is what Kaspersky Anti-Virus seems to be doing - overwrite the malicious application with a do-nothing application. I hav

pnojpeglib/jpeglib bmp problem - HELP!!

2005-06-07 Thread idan meir
Hello , I am using jpeglib/pnojpeglib for converting jpeg to palm os bmp. My jpeg's dimensions are 440x297 and I am trying to copy the bits of the bitmap that comes back from the libraries inorder to save them to record or even to mem handle. The problems is that the size that BmpBitsSize() ret

notifyDetailsP of sysExternalConnectorDetachEvent

2005-06-07 Thread Jeff Loomis
Does anybody know the specifics of this? The docs have this to say: sysExternalConnectorDetachEvent Specific Data The notifyDetailsP field points to a UInt16 that identifies which type of device was detached. This is somewhat interesting, but I'd be more interested to know what the actual value

Re: Stack size on palm os?

2005-06-07 Thread Logan Shaw
Paul Reger wrote: What is the stack size on palm? Is there any help for debugging stack over flow problems in palm? Such as what is the current stack size? At runtime, you can use SysGetStackInfo() to get three pieces of information: * the start of the stack * the end of the stack *

On device debugging and LifeDrive Manager

2005-06-07 Thread Eric Potter
Ever since I install the LifeDrvie Manager desktop software, I havn't been able to debug on a device. I am using Code Warrior and I'm trying to debug on a T3 over USB. I run Dot-Dot-Two on the device, but CW never connects to it. Has anyone else seen this. Is there a work around? Eric -- For

Re: Palm Debugger

2005-06-07 Thread Scott Erickson
When i go from debugging on the simulator to the device there are two things I change. Edit->Prefs->Protocols->68K Palm->Debug target = Palm device and ...68K Palm->Communications plugin = Win32 USB. If you are using the sim these two settings should be Simulator and Win32 Sockets. -- Scot

RE: Problems with mixing smart / small code models?

2005-06-07 Thread Paul Reger
Hi everybody, For what it is worth, I found my bug. It turned out caused by stack over flow. The mixture of small code model with smart code model was just a coincidence. This was not involved with the cause of the bug. [EMAIL PROTECTED] (Paul Reger) wrote: >Hi, > >I'm having a horrible time

re: On device debugging and LifeDrive Manager

2005-06-07 Thread John D Heard
i do not know how Code Warrior works, but I do know how USB works. Starting with the T5 desktop software PalmOne/PalmSource moved the location of USBPort.dll from the Palm Desktop directory to the Windows system directory. This move broke several 3rd party programs. You might try copying USBPort

Re: HTTPS/HTTP support in OS5

2005-06-07 Thread Sam Joseph
I would very much like to get my hands on a palm sample that uses http. There are none in PODS, and my web searches revealed this and one other code listing. I've just spent an hour filling in the local variables needed by this code listing, so here they are in case anybody else needs them:

Re: HTTPS/HTTP support in OS5

2005-06-07 Thread Sam Joseph
I realise in retrospect that this mail might not make sense without the rest of the thread as context. You can see the rest of the thread here: http://news.palmos.com/read/messages?id=132964 CHEERS> SAM Sam Joseph wrote: I would very much like to get my hands on a palm sample that uses http.

Travel maps/navigation help?

2005-06-07 Thread Isaac Zacharias
Hello all, I'm totally new to palm programming and would like to know if anyone has any code/samples on how to make a mapping/navigation application like "Handmap" or "Mapopolis". Any advice/help is greatly appreciated, Thanx. ziggy -- For information on using the PalmSource Developer Forums,

re: On device debugging and LifeDrive Manager

2005-06-07 Thread Ben Combee
However it could be some other problem, I believe that I saw documented somewhere that you could not do on device USB debugging on the actual LifeDrive device. The LifeDrive broke USB communication for a large number of 3rd party programs, I believe that the problem is on the actual device an

Re: palm-dev-forum digest: June 06, 2005

2005-06-07 Thread Paul Jensen
At 1:15 AM -0700 6/7/05, Chris Apers wrote: Are you using an offscreen system ? =20 One app just puts up a standard table (to display times for Caltrain commuter railroad in SF Bay Area); the other draws an image of the moon offscreen and blts it forward. /PGJ -- For information on using

Re: Travel maps/navigation help?

2005-06-07 Thread news
On Jun 7, 2005, at 8:10 PM, Isaac Zacharias wrote: I'm totally new to palm programming and would like to know if anyone has any code/samples on how to make a mapping/navigation application like "Handmap" or "Mapopolis". You might want to get a copy of "Advanced Palm Programming", which cont

About winDisplayChangedEvent

2005-06-07 Thread jo
Hi all, I have a question dealing with winDisplayChangedEvent. In my application, graffiti area of the form can be changed by the user. When the graffiti area is minimized and a system dialog is popped up, the buttons located under the graffiti area will disappear after closing the system dialo