Looking for GSPDA SDK

2005-09-19 Thread Alexander Lange
Hello, Where can I download a SDK for the GSPDA smartphones? I found nothing on their website, and their customer support does not understand what a SDK is. There must be some SDK to take advantage of these devices, isn't it? Thanks, Alexander. -- For information on using the PalmSource

Pilrc: Checkboxes with line breaks

2005-03-11 Thread Alexander Lange
character (small box). The newline character \n works in string and other resources, but not in checkboxes. Is this a bug? Kind regards, Alexander Lange. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Pilrc: Checkboxes with line breaks

2005-03-11 Thread Alexander Lange
Hi Douglas, AFAIK, it is a feature of Palm OS, which does not directly support multi-line labels on controls. I have seen applications that have multi-line checkboxes! So it must be possible! It looks nicer because the checkbox is centered vertically on the lines. What I do is put the first

Re: does PalmOS have strong connectivity over networks?

2004-10-28 Thread Alexander Lange
I have created a program under PalmOS already opening a socket and trying to connect to say google.com, and it will not connect because i can't seem to get it any sort of connectivity to the internet via the Emulator. In the Emulator/Simulator, you must check the Redirect NetLib calls to Host

Re: truncate a string

2004-06-02 Thread Alexander Lange
Hi, rua17 schrieb: I want to display in a list the name and the last name of my clients, but in some cases the string is to long, is there any function to truncate the strings? You can simply write a Null-terminator at the desired cutoff position: string[max_length] = chrNull; It looks nice to cut

Negative coordinates with WinDraw... functions

2004-06-02 Thread Alexander Lange
Hello people, I am using negative coordinates with WinDrawBitmap() to clip a bitmap into my drawing window. I found that this works nicely in PalmOS 4 and 5. But I could not find any documentation about whether negative coordinates are officially supported or whether this is sheer luck. Can I

Re: localization

2004-05-04 Thread Alexander Lange
Hello Ritu, Can any body give me any sample which supports localization . You can easily create overlays to your application resources. The PalmOS will choose the right language then according to user settings. Look into the SDK documentation. Alexander. -- For information on using the Palm

Re: HIRES fonts using PRC-TOOLS and PilRC

2004-04-26 Thread Alexander Lange
Hello Alexander. Alexander R. Pruss schrieb: You might not need low-density glyphs in your font if you check the screen density and use FontTypeV1 fonts for low-density displays. In such a case, you can make a font with fake low-density glyphs with fontconv which will scale the high-density ones

Re: HIRES fonts using PRC-TOOLS and PilRC

2004-04-23 Thread Alexander Lange
Hello Kristian, Kristian Austad schrieb: Has anyone successfully displayed small fonts on a high-res Palm using PRC-tools and PilRC? If so, I would greatly appreciate some insight. I have got a dozen custom fonts in my application and it works fine. Did you create a low-res font together with

Re: Bug in StrNCompare on PalmOS5

2004-04-21 Thread Alexander Lange
Hello Ben, Could you try recoding this as a call to TxtCompare? StrNCompare uses this internally, and the call to TxtCompare should be faster than StrNCompare if you know that you're dealing with a single-byte string. With the kind help of Dan from PalmSource I determined that StrNCompare()

Re: Problem using StrIToH on Palm Os5.2

2004-04-08 Thread Alexander Lange
Hello Alexandre, char *PalmOS = NULL; Very wrong! You must allocate enough memory for the character buffer before you write to it: char PalmOS[maxStrIToALen]; There is a constant maxStrIToALen that tells you how long the maximum buffer size must be. Look into the API. Regards, Alexander. --

Re: Infrared beaming problem with Sony TH55

2004-04-06 Thread Alexander Lange
Hello Ben, There's been a thread at http://www.cliesource.com/forums/showthread.php?s=threadid=44862 about this. Thanks for pointing me to this thread. So I know it is not a problem of my TH55 unit in particular. As I wrote, playing XrOw in Palm-to-Palm-mode which uses infrared transmission

Infrared beaming problem with Sony TH55

2004-04-05 Thread Alexander Lange
contact the Sony developers for a report? Kind regards, Alexander Lange. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Invalid chunk... after app exits in Debug mode

2004-03-12 Thread Alexander Lange
Hello Wojtek, Wojtek schrieb: I get MemoryMgr.c, Line:3760, Invalid chunk ptr after my app exits. Probably you have allocated a memory chunk with MemPtrNew() or MemHandleNew() and it was not long enough. Check that you do not write outside the boundaries. This is also the case when you

Re: Font families with Pilrc

2004-03-09 Thread Alexander Lange
Hello John, John Marshall schrieb: If you read the font family specification [1], I think you'll agree that it requires the family to contain a low-density font. I re-read it and you are correct. But still, I cannot believe that I am the only person with this problem. (That is, compiling the

Re: Font families with Pilrc

2004-03-08 Thread Alexander Lange
Hello John, Alexander hasn't said what version of PilRC he's using. Font families got a lot less buggy in 3.1, so if he's using an older one, he should certainly try it with 3.1 too. I am using CodeWarrior 9.3 with Pilrc 3.1. I just peeked into the code of font.c and found this in the main

Re: Font families with Pilrc

2004-03-08 Thread Alexander Lange
Hello Aaron, maybe it is in the spec of a font family that it requires the lo-res font? ever thought about that? i am sure the check wouldn't be put there unless there was a reason to put it there. Then why is it possible with PalmSource's own Constructor to create extended font resources with a

Re: Font families with Pilrc

2004-03-05 Thread Alexander Lange
Hello LionScribe, You can do it through constructer, see the sample code for teeny fonts at Thanks, I had already read this article. Problem is, my whole application is designed with Pilrc. Now the article supposes I create the binary font resources with Pilrc, then put them in Constructor and

Font families with Pilrc

2004-03-04 Thread Alexander Lange
Hello everybody, How can I create a font family (extended font resource) with Pilrc that has got only one (1) high-res font member? I tried this way: FONTFAMILY ID ItalicFontHiRes FONTID 130 BEGIN FONT ItalicHiRes.pfn DENSITY 144 END But Pilrc just crashes without an error message. :-( I

Re: How do I reduce the size of the .prc file?

2004-02-13 Thread Alexander Lange
Hi Mike, I make my project,and get a 800K .prc. It is too big,so I want to reduce the size of the .prc file. I suppose you do not have 800 K of code, do you? Then probably you have a lot of bitmaps in your resources. Reduce the resolution and color depth of the bitmaps. Make them small enough

Re: Have a way to identificy a unique palm device?

2004-01-22 Thread Alexander Lange
Hello folks, Regis St-Gelais schrieb: DlkGetSyncInfo(NULL,NULL,NULL,strpUserName,NULL,NULL); Does anybody know how I can SET the user name? I found no API call for this. Is it possible on the device? Thanks, Alexander. -- For information on using the Palm Developer Forums, or to unsubscribe,

Re: USB peripherals {Scanned}

2004-01-05 Thread Alexander Lange
Hello Dave, Does anyone know of a keyboard or any other peripheral devices that are compatible with PDA's with USB ports? PDAs usually have a slave USB controler. They cannot handle peripherals. Desktop PCs have USB master controlers, they can control slave devices. One exception I know is the

Re: Adding a scrollbar dynamically

2003-12-22 Thread Alexander Lange
Hello Ben, Hello Ken, I'm curious as to why you can't get access to resource data. I've tried again and I was wrong in my first posting. Obviously I can load resources. But my colleague told me he tried a FrmLoadForm() and it didn't work. Though if you signed the NDA and have access to the

Adding a scrollbar dynamically

2003-12-19 Thread Alexander Lange
Hello folks, I am writing an application that is launched through the command bar. It starts on top of other applications (for looking up something), so I don't have global variables nor can I open resources. Therefore I must create the form myself, which is no problem with FrmNewForm(). I

Re: Breaking the 32K barrier for codes which handle non-sysAppLaunchCmdNormalLaunch

2003-09-25 Thread Alexander Lange
Hello Tony, Tony Cheung schrieb: I am worrying about I may not be able to squeeze all functions (for handling all non-sysAppLaunchCmdNormalLaunch) into this 32K segment. Is there any way to break this 32K barrier for handling those launch codes? Only the PilotMain must be in the first 32K

Re: Closing Tips on OS5

2003-09-24 Thread Alexander Lange
Hello Steve, Steve Sabram schrieb: I'm in the middle of writing a fairly large PalmOS app (~300K) and I am noticing that when I bring up tips and a dialog on top of another dialog, the background is not being saved of the parent dialog. Maybe the PalmOS doesn't have enough memory to save and