Re: Is there an easy way to count resources?

2002-09-10 Thread Todd Walk
I got this problem about 2 months ago, but at only around 2300 resources. I think that in my case, it was counting 1-bit bitmaps even though I didn't include them as bitmaps or in the bitmap families. After talking to Ben, I switched to using resource databases. I "cheated" by making a dummy co

I need someone who dows a little programming work ...

2002-09-10 Thread SL
Hey, is there anybody out there who can programm a little Windows-commandlineapplication for me. I don't have the time nor software, but i think in half an hour or so it should be done if you have a compiler installed ... What should the programm do? Copied to the "Send to ..."-directory, i

Re: I need your views...

2002-09-10 Thread Ludovic Ferrandis
The best solution is to use the List Draw Callback. See LstSetDrawFunction. I suppose all your databases have the same struct. You set the draw call back once. It can use a global for the db ref and each time you switch the db, change the global. Ludovic Dennis O'Shear wrote: > Hi everyone, I

Re: display of password as "******"

2002-09-10 Thread ScottP
If you're meaning that you wish to do this as the password is entered then as a word of advice, people tend not to like this as there's no guarantee that the graffiti character you write is always the one that appears. Therefore PalmOS passwords tend to just be displayed - the screens so small it'

Re: I need your views...

2002-09-10 Thread Dennis O'Shear
Hi everyone, I hope I didn't make a fool of myself in the previous thread. Thank you Hal, I appreciate your valuable views. In your thread, you mention that >Better to have a class DB (one record per class) and >a student DB (one record per >student). which is similar to the databaseA(class

Localization on Handspring Treo 180

2002-09-10 Thread Steve Janaway
Hi all, I've been trying (without success) to localize my app on the Handspring Treo. I've done the following which as far as I can see should result in a language change on the app but nothing is happening. 1 I create a project in CW8 with all resources are in English and the 'generate xpref' b

Re: display of password as "******"

2002-09-10 Thread Rahul Shukla
hi Scott, I agree to the fact that to be sure on graffiti character one should not try for these options. But this is what one of security organization needs. Thats the reason i am waiting for someone's help in this regard. I dont know whether this issue has been already discussed in the forum or

Datebook questions

2002-09-10 Thread [EMAIL PROTECTED]
Hello, I have to make a program which can put a new record in the datebook as we are in the datebook program. Then I would like to know how it is possible to insert a new record in the datebook database when I am in my application, I have open the datebook source code but I don't understand ho

Re: Datebook questions

2002-09-10 Thread Steven M. Jerrett
The structure of the database is described in DateDB.c. When dealing with the native Palm apps and the structures they use, I have found it best to study the actual code for those applications. The source code for the Datebook applicaton is fairly well documented. [EMAIL PROTECTED] wrote: >Hel

Re: display of password as "******"

2002-09-10 Thread Daniel Seifert
Am Die, 2002-09-10 um 13.42 schrieb Rahul Shukla: Hi, > I agree to the fact that to be sure on graffiti > character one should not try for these options. > But this is what one of security organization needs. > Thats the reason i am waiting for someone's help in > this regard. > I dont know whet

Re: display of password as "******"

2002-09-10 Thread Aaron Ardiri
> Probably easiest way is to define a custom font with * as default > character and no other glyphs. Then just set the field to use this font > and all characters are printed as *. you know, thats probably the best solution i have seen for this! -- Aaron Ardiri CEO - CTO Mobile Wizardry http:/

Re: newline in string resource

2002-09-10 Thread Richard Coutts
> StrChr is an instruction which allow you to search a character within a > string. > > If you want to add '\n' in msg you should use StrCat. Agus, As Joe pointed out in this thread, WinDrawChars will not process a newline character ('\n') as one might expect and will instead keep all of the tex

Re: Localization on Handspring Treo 180

2002-09-10 Thread Steve Janaway
Hi again, Fixed it - I was using the version of prc2ovl that came with SDK4.0. It works fine with the version that came with SDK3.5. cheers Steve Steve Janaway wrote: > > Hi all, > > I've been trying (without success) to localize my app on the Handspring > Treo. I've done the following which

Re: display of password as "******"

2002-09-10 Thread Dave Lippincott
If you must display * for password characters, you can minimize errors by not using graffiti. Draw your own keypad or array of buttons and display * for each number/character tapped. Since you won't be using graffiti (and would not be able to use the popup keyboard since it isn't maskable) you c

Re: Datebook questions

2002-09-10 Thread Ludovic Ferrandis
This is not the good solution. It's a working solution, but definitevely not the good one. The main reason is that the struct db could change and your program won't work anymore. The good solution is to build a vCal using the PDI library and to send it, using the Local exchange manager library

DmFindRecordByID() working time...

2002-09-10 Thread Max Banin
Hello! How does DmFindRecordByID() work? Does it use O(log n) search or it's just a O(n) ? :) for example: DmFindRecordByID( ... UInt16 *index, UInt32 ID, ... ) { . for( i=0;ihttp://www.palmos.com/dev/support/forums/

Re: microsoft mobile internet kit and palm

2002-09-10 Thread Dave Lippincott
You may be better off asking such questions in a Microsoft forum. Or you could talk to the AvantGo people if they still support it. - Original Message - From: "Lucy" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Monday, September 09, 2002 6:50 PM Subject: micros

Re: DmFindRecordByID() working time...

2002-09-10 Thread Aaron Ardiri
> How does DmFindRecordByID() work? > Does it use O(log n) search or it's just a O(n) ? :) > > for example: > DmFindRecordByID( ... UInt16 *index, UInt32 ID, ... ) > { > . > for( i=0;i { > > if( record[i].uniqueID == ID ) { *index = i; break; } >

RE: DmFindRecordByID() working time...

2002-09-10 Thread Robert McKenzie
Max: It is O(n). To be more precise, it is a simple linear search starting with record 0 & incrementing through the db. In pseudo-code: for (n=0; nmailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 7:53 AM To: Palm Developer Forum Subject: DmFindRecordByID() working time... Hello!

Re: DmFindRecordByID() working time...

2002-09-10 Thread Max Banin
thanks. But I don't understand why it is O(n). Is it so difficult for PalmOS' developers (developers of DM module) to make it work like O(log n) ? I think this is a quite important question... :) Max. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http:

Re: DmFindRecordByID() working time...

2002-09-10 Thread Aaron Ardiri
> thanks. > But I don't understand why it is O(n). > Is it so difficult for PalmOS' developers (developers of DM module) > to make it work like O(log n) ? > I think this is a quite important question... :) did you read my response? to be O(log n) you must have the records sorted by unique ID. a

RE: DmFindRecordByID() working time...

2002-09-10 Thread Robert McKenzie
An alternative approach is to keep, and maintain, a sort index. This is not "so difficult" -- indeed, seems like CS 101 to me :), but does cost CPU cycles to maintain, adds to the memory overhead of a database, and increases system complexity and footprint. When PalmOS was created, all these

I hope Anyone knows: PalmPixLib

2002-09-10 Thread German . Dominguez
Godday all! I've got to develop an application using the PalmPix, seems like, somewhere the PalmPixLib.h or the Library itself is not well documented, since when invoking: ppErr = PPOpenCameraPort(RefNum, CAM_I); //or the other Camera Port Definition CAM_II Returns no Error, but when u

Re: Datebook questions

2002-09-10 Thread Anton Tomanek
The only way is to study source code. Almost everything important should be located in adressdb.c and adressdb.h When records are stored in database, they are in packed format. (see addressdb.c, PrvAddrPackedDBRecord) To work with record you have to call AddrDBGetRecord(DmOpenRef dbP, UInt16 in

RE: Custom List Scrolling

2002-09-10 Thread Robert Brinson
Ok. If there isn't an event generated when a user taps the scroll arrows, then what good is it to even have a LstScrollList function available? This function allows the developer to specify a direction and number of items to scroll. I guess if I created my own buttons for scrolling, then I could u

RE: DmFindRecordByID() working time...

2002-09-10 Thread Joe Malone
--- Robert McKenzie <[EMAIL PROTECTED]> wrote: > > The winds of change are a-blowing! > How many roads must a man walk down... :) (Apoligies for YAOTM.) __ Yahoo! - We Remember 9-11: A tribute to the more than 3,000 lives lost http://dir.remem

RE: Custom List Scrolling

2002-09-10 Thread Scott Johnson
From: Robert Brinson [mailto:[EMAIL PROTECTED]] > If there isn't an event generated when a user taps the scroll > arrows, then what good is it to even have a LstScrollList function Mainly for supporting the hard scroll buttons for non-pop-up lists. Apps need to handle that case explicitly. -slj

RE: Custom List Scrolling

2002-09-10 Thread Joe Malone
--- Robert Brinson <[EMAIL PROTECTED]> wrote: > Ok. If there isn't an event generated when a user taps the > scroll arrows, then what good is it to even have a LstScrollList > function available? One reason it is there is so you can do single-row scrolling with the up and down buttons. For ex

WCABuild for Palm4.0

2002-09-10 Thread Lucy
Could anyone please give me the url for downloading wcabuild.exe for palm 4.0 device. I found one at http://www.palmos.com/dev/tech/webclipping/gettingstarted.html but it says it is for 3.* devices and the one for 4.0 devices is in the developer seeding area. I searched all over that area - but no

Re: WCABuild for Palm4.0

2002-09-10 Thread Ben Combee
At 10:22 AM 9/10/2002 -0700, you wrote: >Could anyone please give me the url for downloading >wcabuild.exe for palm 4.0 device. I found one at >http://www.palmos.com/dev/tech/webclipping/gettingstarted.html >but it says it is for 3.* devices and the one for 4.0 >devices is in the developer seeding

Re: DmFindRecordByID() working time...

2002-09-10 Thread Max Banin
> did you read my response? > > to be O(log n) you must have the records sorted by unique ID. > and, i doubt the OS is going to re-arrange everything for you > to make this possible.. dont you think? Yes, but there are many other ways and algorithms to make it work faster. (for example to store (

Re: DmFindRecordByID() working time...

2002-09-10 Thread Max Banin
thank you :) I expected to hear it... Max "Robert McKenzie" <[EMAIL PROTECTED]> wrote in message news:95219@palm-dev-forum... An alternative approach is to keep, and maintain, a sort index. This is not "so difficult" -- indeed, seems like CS 101 to me :), but does cost CPU cycles to maintain

Putting commas into numbers

2002-09-10 Thread Mike McCollister
Are are any built-in Palm routines that will take an integer, such as 12345, and return a string with commas (or whatever the 1000s separator is) in the proper palce, such as 12,345 (or 12.345)? I am about to write my own and just wanted to know if such a routine is already written. Thanks, Mik

Re: Putting commas into numbers

2002-09-10 Thread Ben Combee
At 12:16 PM 9/10/2002 -0700, you wrote: >Are are any built-in Palm routines that will take an integer, such as 12345, >and return a string with commas (or whatever the 1000s separator is) in the >proper palce, such as 12,345 (or 12.345)? I am about to write my own and just >wanted to know if such

Re: Putting commas into numbers

2002-09-10 Thread Ben Combee
At 02:29 PM 9/10/2002 -0500, you wrote: >At 12:16 PM 9/10/2002 -0700, you wrote: >>Are are any built-in Palm routines that will take an integer, such as 12345, >>and return a string with commas (or whatever the 1000s separator is) in the >>proper palce, such as 12,345 (or 12.345)? I am about to w

Trouble with grayscale bitmaps

2002-09-10 Thread Andreas Zankl
I have trouble displaying a grayscale bitmap. I created a Bitmap Family in Constructor and assigned 3 bitmaps with 1, 4 and 16 shades of gray to it. However, POSE running with the ROM of my m500 and also with various downloaded 3.5 and 4.0 ROMS only displays the 1-bit version. On the Palm Knowled

Re: Trouble with grayscale bitmaps

2002-09-10 Thread Hal Mueller
Sounds like you're leaving the PDA screen in 1-bit mode. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Putting commas into numbers

2002-09-10 Thread Mike McCollister
Ben, --- Ben Combee <[EMAIL PROTECTED]> wrote: > At 02:29 PM 9/10/2002 -0500, you wrote: > >At 12:16 PM 9/10/2002 -0700, you wrote: > >>Are are any built-in Palm routines that will take an integer, such as > 12345, > >>and return a string with commas (or whatever the 1000s separator is) in the >

Re: Trouble with grayscale bitmaps

2002-09-10 Thread Joe Malone
--- Andreas Zankl <[EMAIL PROTECTED]> wrote: > I have trouble displaying a grayscale bitmap. I created a Bitmap > Family in Constructor and assigned 3 bitmaps with 1, 4 and 16 > shades of gray to it. However, POSE ... > only displays the 1-bit version. Try setting the bit depth, like this: UI

Handspring docs

2002-09-10 Thread Alessandro Zummo
Hello, i was unable to find any documentation related to the SMS and GSM libraries on the Handspring web.. anyone can help? I'm also looking for a way to obtain the IMEI of a Treo device.. i hope that's documented somewhere ;) -- Alessandro Zummo, Tower Technologies - Turin, Ital

I hate structures

2002-09-10 Thread Mike
Ok, I've been pulling my hair out all morning on this problem. I've just switched to CodeWarrior 8.0 and am wondering if this might be a quirk with CW. I have a very simple structure definition and function that uses the pointer to the sturcture as a parameter. But it won't compile. I keep gett

Re: I hate structures

2002-09-10 Thread Ben Combee
At 03:16 PM 9/10/2002 -0700, you wrote: >Ok, I've been pulling my hair out all morning on this problem. I've just >switched to CodeWarrior 8.0 and am wondering if this might be a quirk with >CW. No, its a requirement of the C programming language. >I have a very simple structure definition and

Re: I hate structures

2002-09-10 Thread Joe Malone
--- Mike <[EMAIL PROTECTED]> wrote: > > typedef struct _MyIrEvent{ > IrEvent IrEvt; > UInt16 test; > } MyIrEvent; > > MyIrEvent *MyIrEvt; // I have also tried _MyIrEvent *MyIrEvt > > static void DoIR(MyIRC, MyIrEvt) { > switch(MyIrEvt->IrEvt) {// this won't compile >

Codewarrior Access Paths (still trying...)

2002-09-10 Thread Sean Rogers
Ben and Al, you've been very helpful, I believe I've done everything you've said, but I'm still doing something wrong. Sorry to trouble you again but I just can't work it out. This is what's in my Access Paths under "User Paths": [ticked] {Project} [ticked] {Compiler}MathLib\Src This is what's

Re: Codewarrior Access Paths (still trying...)

2002-09-10 Thread Ben Combee
At 09:59 AM 9/11/2002 +1000, you wrote: >Ben and Al, you've been very helpful, I believe I've done everything >you've said, but I'm still doing something wrong. Sorry to trouble you >again but I just can't work it out. > >This is what's in my Access Paths under "User Paths": >[ticked] {Project}

What (if any) is the Palm commitment to PRC-TOOLS

2002-09-10 Thread Frank Merrow
I am continuing to make progress attempting to install the PRC-TOOLS on my system at home. I went to install the SDKs and naively took the latest version 5.0. Only AFTER I was half way though the install did I see the follow: +++ + IM

Re: What (if any) is the Palm commitment to PRC-TOOLS

2002-09-10 Thread Joe Malone
--- Frank Merrow <[EMAIL PROTECTED]> wrote: > I am continuing to make progress attempting to install the > PRC-TOOLS on my system at home. > ... > I'm trying to figure out if there is more here than meets the eye. > Like is Palm abandoning support for anyone except the Code Warrior > folks? Are

Anyone use Razor?

2002-09-10 Thread Todd Walk
Anyone here use Razor? Is it any good? Bugs? Limitations? Todd. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: What (if any) is the Palm commitment to PRC-TOOLS

2002-09-10 Thread Frank Merrow
>If GCC is "alive", I expect it will stay that way. :) > >This topic has been covered previously. See John Marshall's comments >at http://groups.yahoo.com/group/palm-dev-forum/message/77123 Thank you. Frank -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Help for concurrent multi sync options

2002-09-10 Thread Rahul Shukla
Hello All, I dont know whether its a right place to post this query or not. Still i am giving my questions a sequence which are quite a lot in nos. Please help me in the following. So far which i have implemented a conduit works for Symbol 1700 and m125 with Single slot Serial cradle. now my quer

Lingering behaviour not resolved even after turning linger Off and using SysTaskDelay after close

2002-09-10 Thread Dinesh Kumar
Hai all, Following is an excerpt from my code where i'm trying to resolve the Lingering behaviour Can any one plz tell me where am i going wrong ..and if not, what else could be the Problem .. // Inside Connect My Funtion NetSocketLingerType LingerOpt; NetLibSocketOpe

Re: Using the network library to make wireless connections

2002-09-10 Thread Kevin
Anyone know roughly how to compile this Codewarrior HTTP library from http://www.pdadevelopers.com/pda/PDADevelopers.htm in using prc-tools instead? thanks for any tips at all. Oliver wrote: > Brian wrote: > >>There may be pre-built HTTP libraries out there >>for Palm, but again I don't kn

double arithmetic

2002-09-10 Thread Sean Rogers
I'm not sure if this is a C problem or a Palm problem, but here it is: I'm using MathLib and doing some basic calculations using some double-precision floats. I'm working in Codewarrior and when I try to compile I get these errors: Link Error : Victory.c: '_d_itod' referenced from 'RecordData

Re: Lingering behaviour not resolved even after turning linger Off and using SysTaskDelay after close

2002-09-10 Thread Matt Hebley
Set LingerOpt.onOff to true. (Search for "linger" and you will find...) Matt - Original Message - From: "Dinesh Kumar" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Wednesday, September 11, 2002 5:49 PM Subject: Lingering behaviour not resolved even after turn

Re: Anyone use Razor?

2002-09-10 Thread tilo . christ
Hi Todd, I am the author of Razor, so my views might be slightly biased :-) > Anyone here use Razor? Until now I have seen three games in various stages of development. I also have plenty of reports from people who got it to compile on various platforms (PRC-Tools, CW6, CW8; Linux, Windows, Mac)

Re: double arithmetic

2002-09-10 Thread Ben Combee
At 04:10 PM 9/11/2002 +1000, you wrote: >I'm not sure if this is a C problem or a Palm problem, but here it is: >I'm using MathLib and doing some basic calculations using some >double-precision floats. I'm working in Codewarrior and when I try to >compile I get these errors: > >Link Error : Vi