Experiences with POL (Palm Object Library)?

2005-06-13 Thread Christoph Regli
Who has gained experiences with POL? I was developing some applications using the standard C API and stumbled across the Palm Object Library (www.pollib.com) that claims to speed up the development process. I am using Metrowerks Codewarrior 9 and I am an experienced C++ developer. - How was

re: Camera Library Load/Remove and Invalid Chunk Pointer

2005-06-13 Thread Andrew Waites
Okay, Eventually found this one. The Codewarrior code was mapping the cmdPBP to the correct structure using mPowerCtx = (TmPowerCtx)cmdPBP which worked fine for the Codewarrior code but when this same structure was passed back in the callframe to SysUIAppSwitch it did not pass back

giving error as app1 just read from memory location 0*000000001,which is in low memory

2005-06-13 Thread rupesh kumar
hi all, i am trying to access the contacts database.my application name is app1. its compiled well but at runtime when tring to get the data it is giving error as app1 just read from memory location 0*1,which is in low memory. why this error is coming ? please help me. thanks -- For

winExit event broken on Tungsten T2 (?)

2005-06-13 Thread Frantisek Dufka
Hello, it seems that winExit event is not send before system dialogs like Brightness or Find on my T2 device. I found something like this mentioned here http://www.mail-archive.com/palm-dev-forum@news.palmos.com/msg65623.html Anybody can confirm this and knows what devices are affected and

Re: winExit event broken on Tungsten T2 (?)

2005-06-13 Thread Frantisek Dufka
Hi again, found also one thread here: http://www.mail-archive.com/palm-dev-forum@news.palmos.com/msg4.html Still nothing about OS version but as I see it happening I suppose my T2 is in the list. Also the workaround suggested is not very robust. Looks like I need to take defensive

Re: Icon for Application

2005-06-13 Thread sachin jesukaran
thank u for ur reply. the problem is that i already have a bitmap image want it to be my application icon in palm and want to change the name of my application. please help me out with this. thank u. sachin -- For information on using the PalmSource Developer Forums, or to unsubscribe, please

PalmOne SDK

2005-06-13 Thread Pradeepkumar Chaturvedi
Hi, I have downloaded Palm One 5 SDK. I am using CodeWarrior 8.3. How I can include this SDK for developing applications. Thanks, Pradeep -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

DB Name Field in CodeWarrior

2005-06-13 Thread Erico Franco
Hi, How do I get the DB Name Programatically? ( in Codewarrior is what I entered in DB NAME under Target Settings-PRC file settings for my project) thanks Erico -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see

Re: Experiences with POL (Palm Object Library)?

2005-06-13 Thread Matt DeCaro
Christoph Regli [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Who has gained experiences with POL? I was developing some applications using the standard C API and stumbled across the Palm Object Library (www.pollib.com) that claims to speed up the development process. I am using

Re: Experiences with POL (Palm Object Library)?

2005-06-13 Thread imran baig
WILL POL support Palm OS 6.0 in future ? On 6/13/05, Matt DeCaro [EMAIL PROTECTED] wrote: Christoph Regli [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Who has gained experiences with POL? I was developing some applications using the standard C API and stumbled across the Palm

GPRS Settings?

2005-06-13 Thread imran baig
Does anybody know how to configuring/create GPRS settings (APN, username and password) programmatically? -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

re: DB Name Field in CodeWarrior

2005-06-13 Thread Dr. Vesselin Bontchev
UInt16 cardNo; LocalID dbID; Char dbName [dmDBNameLength]; SysCurAppDatabase (cardNo, dbID); DmDatabaseInfo (cardNo, dbID, dbName, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); // Now dbName holds the database name of the currently running application.

Installing CDK 6.0 on network

2005-06-13 Thread Palm
Hello, Is there any parameters with the CDK Install files... like installing into dir.. by default, run hide etc /s or -s. I'm looking for a parameters to install the CDK on multiple machine without showing the install windows.. like the Palm Comm Object. Thanks -- For information on

Re: Experiences with POL (Palm Object Library)?

2005-06-13 Thread Luciano A. Stertz
imran baig wrote: WILL POL support Palm OS 6.0 in future ? And since Code Warrior for Palm OS is dead, will it be 'ported' to prc-tools/PODS? That would be great. Luciano On 6/13/05, Matt DeCaro [EMAIL PROTECTED] wrote: Christoph Regli [EMAIL PROTECTED] wrote in message

Re: DB Name Field in CodeWarrior

2005-06-13 Thread Erico Franco
Dr. Vesselin Bontchev wrote: UInt16 cardNo; LocalID dbID; Char dbName [dmDBNameLength]; SysCurAppDatabase (cardNo, dbID); DmDatabaseInfo (cardNo, dbID, dbName, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); // Now dbName holds the database name of the

Re: Zire Rom ID problem

2005-06-13 Thread Jim Cooper
i wanted to know which model in the zire series does not have 1? It used to be anything without Flash ROM did not have an ID. If that call fails, then you've found out :-) Cheers, Jim Cooper __ Jim Cooper[EMAIL PROTECTED] Tabdee Ltd

Re: Experiences with POL (Palm Object Library)?

2005-06-13 Thread Christoph Regli
Let's go even further: If the POL framework is that elaborated, smoothly integrated and powerful as stated, why didn't PalmSource consider an integration into PalmOS 6.0, i.e. provide a contemporary object oriented API? Somehow I am hesitating, I am embarrassed to add an additional layer to my

RE: Zire Rom ID problem

2005-06-13 Thread Jeffry Loucks
Devices without Flash ROM do not have serial numbers available in ROM. Devices without Flash use a mask ROM that cannot be modified, thus cannot be programmed with a serial number. Treo devices may have a serial number, but do not respond to the SysGetROMToken() call. You must use the

RE: Zire Rom ID problem

2005-06-13 Thread Yuen Kwee
thanks for the replies! i have already discovered the treo 1. the problem now is with the zire(s)... :( any 1 know which 1 has flashable rom? and which doesn't? rgds. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see

Re: Experiences with POL (Palm Object Library)?

2005-06-13 Thread Ben Combee
At 10:36 AM 6/13/2005, you wrote: Let's go even further: If the POL framework is that elaborated, smoothly integrated and powerful as stated, why didn't PalmSource consider an integration into PalmOS 6.0, i.e. provide a contemporary object oriented API? When I was at PalmSource, we did talk

I need help testing something on a T5

2005-06-13 Thread Scott Erickson
Anyone that has a T5 and would like to take 15 mins to help me with a problem. I have an app that is stoping on a FrmEraseForm() call. It only happens on the T5 and it only happens in one function. It is part of a memory card scan. What im looking for is a few people that would be able to

re: I need help testing something on a T5

2005-06-13 Thread Dr. Vesselin Bontchev
Instead of sending out your whole application and having people bother obtaining demo licenses, why don't you simply create a separate stand-alone application that does nothing but test the function you have a problem with? It probably won't even have to scan for viruses - just enumerate every

Re: Experiences with POL (Palm Object Library)?

2005-06-13 Thread Christoph Regli
Thank you for your feedback. I have been in contact with Maksim Pyatkovskiy and he stated that everything is frozen at the moment. Anyway, I will go through the tutorial and will play around with the library while writing a small prototype for a customer. I guess I will know more thereafter and

How to create a large bitmap?

2005-06-13 Thread Paul Reger
I can not seem to create a bitmap for an image 960 (wide) by 720 (tall), depth 16, and no ColorTableType. (My application will show only small 'clips' of the large image.) The error I am getting is sysErrNoFreeResource. Is there a trick to working around this? Thanks in advance for any help

Re: How to create a large bitmap?

2005-06-13 Thread Logan Shaw
Paul Reger wrote: I can not seem to create a bitmap for an image 960 (wide) by 720 (tall), depth 16, and no ColorTableType. (My application will show only small 'clips' of the large image.) The error I am getting is sysErrNoFreeResource. 960x720 at depth 16 will require about 1.4 MB of

Text Column not displaying on the last row

2005-06-13 Thread Terry Schumacher
I'm a novice Palm developer, so I'm very confused. I have a loop that will display information in a table. It works fine except for the last row. On that row, the only text field remains blank. I've used the emulator and debug to step thru the code. It executes the same code for each row.

Re: Icon for Application

2005-06-13 Thread Baxter
Actually, you need several different versions of your bitmap for different color depths and screen resolutions. Then you include them in your resource file as a BITMAPFAMILY. Exactly how you do this depends on what toolset you're using - CodeWarrior? Gcc? PODS? Other? PilRC? Constructor?

T650 resource cloning problem

2005-06-13 Thread PalmDev
I'm using the api DmCreateDatabase() to create a new database then duplicating an existing application. basically making a copy of a application. I've set the new db to the original app's attributes eg: resource, backup bites and yet when i do a softreset the new cloned app disappears. could

re: giving error as app1 just read from memory location 0*000000001,which is in low memory

2005-06-13 Thread roderick young
What I suggest, if you're using the Palm OS Development Suite (PODS) is to run your program under the debugger, and let it give the error message. You will then be given the opportunity to go into the debugger. From there, hopefully a call stack will be displayed, showing exactly where in

RE: I need help testing something on a T5

2005-06-13 Thread Michael Hallett
Have you tried using the T5 debug and release simulators that are available from palmOne? Michael -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Erickson Sent: Monday, June 13, 2005 1:15 PM To: Palm Developer Forum Subject: I need help testing

Re: T650 resource cloning problem

2005-06-13 Thread Ben Combee
At 05:04 PM 6/13/2005, you wrote: I'm using the api DmCreateDatabase() to create a new database then duplicating an existing application. basically making a copy of a application. I've set the new db to the original app's attributes eg: resource, backup bites and yet when i do a softreset the

re: Icon for Application

2005-06-13 Thread roderick young
If you are using a .rcp file with pilrc, the simplest way to add an icon is to add the lines ICON icon.bmp APPLICATIONICONNAME ID 1000 MyIcon to that file. icon.bmp is something you have created separately with (say) Windows Paint, say, 22 x 22 pixels in dimension. That will get you started.

PalmOS asc() equivalent?

2005-06-13 Thread Chris Williams
Hi, all...I'm having problems finding an asc() equivalent in the API. What I need is the ASCII value of an given character. So: int my_ascii_value = asc('A'); printf(Result: %d, my_ascii_value); Result: 65 Is there a way to do that with the PalmOS API? I don't see a function or API to do that.

RE: PalmOS asc() equivalent?

2005-06-13 Thread Jonathan King
Correct me if I am wrong, but wouldn't this give the same result: int my_ascii_value = 'A'; printf(Result: %d, my_ascii_value); I was under the impression that 'A' and 65 were the same value, just expressed in a different way. What is the purpose of asc()? -Original Message- From:

RE: PalmOS asc() equivalent?

2005-06-13 Thread Chris Williams
asc() is to get the ASCII value of a character. I need to use it to get an integer value from the Hotsync ID, that I can work with to get a serial number. It's fairly difficult to make a serial number without touching numbers at all. -- For information on using the PalmSource Developer Forums,

Re: PalmOS asc() equivalent?

2005-06-13 Thread Ben Combee
At 06:00 PM 6/13/2005, you wrote: Hi, all...I'm having problems finding an asc() equivalent in the API. What I need is the ASCII value of an given character. So: int my_ascii_value = asc('A'); printf(Result: %d, my_ascii_value); Result: 65 Is there a way to do that with the PalmOS API? I

Re: PalmOS asc() equivalent?

2005-06-13 Thread Scott Erickson
Just put the hotsync name in a Char* my_string and step through it. the value of *my_string will be the value that the pointer points to, which would be the ascii value of the current char in the string. something like this would work... Char* temp = my_string;

Re: giving error as app1 just read from memory location 0*000000001,which is in low memory

2005-06-13 Thread Chris Tutty
From: rupesh kumar [EMAIL PROTECTED] i am trying to access the contacts database.my application name is app1. its compiled well but at runtime when tring to get the data it is giving error as app1 just read from memory location 0*1,which is in low memory. why this error is coming ? In

Re: PalmOS asc() equivalent?

2005-06-13 Thread Logan Shaw
Chris Williams wrote: asc() is to get the ASCII value of a character. I need to use it to get an integer value from the Hotsync ID, that I can work with to get a serial number. It's fairly difficult to make a serial number without touching numbers at all. As others have already said, in C

Re: T650 resource cloning problem

2005-06-13 Thread PalmDev
Ben, I'm creating a zip self-extracting archive. yes the files are closed and i can unzip and zip on the fly on the launcher. when i look at the Palm folder in the hidden volume i dont see the file there. basically i'm using the same name appending a 'z' at the end of the file name. i'm

Fatal Alert??? is this palm pilot ruined?

2005-06-13 Thread Mishael Kim
So i've been using this new palm pilot (i actually forget the model) but it was using Palm OS 5. and I've been syncing it with no problems. I then got rid of the Palm pilot, but got my hands on an older Palm Vx. I think it uses palm OS 3 or something. I then decided that I wanted all of the

Re: T650 resource cloning problem

2005-06-13 Thread Ben Combee
At 09:22 PM 6/13/2005, you wrote: Ben, I'm creating a zip self-extracting archive. yes the files are closed and i can unzip and zip on the fly on the launcher. when i look at the Palm folder in the hidden volume i dont see the file there. basically i'm using the same name appending a 'z' at

Re: T650 resource cloning problem

2005-06-13 Thread PalmDev
the only attrs that i'm using are: resourcedb and backup bits. From debugging the code. the attr = 9 which is dmHdrAttrResDB and dmHdrAttrBackup. question: if you use a file manager and change the attributes to have the backup bit would that work? danny - Original Message - From:

Re: T650 resource cloning problem

2005-06-13 Thread Logan Shaw
PalmDev wrote: I'm using the api DmCreateDatabase() to create a new database then duplicating an existing application. basically making a copy of a application. I've set the new db to the original app's attributes eg: resource, backup bites and yet when i do a softreset the new cloned app

How to get Sprint PCS Vision Email User ID on Treo Device

2005-06-13 Thread Pradeepkumar Chaturvedi
Hi, Is there any API to retrieve Sprint PCS Vision Email User ID on Treo 600 smart phone. Can I get it from Panel Preferences then in which structure I should get the info and what is the panel Id. Thanks in advance, Pradeep -- For information on using the PalmSource Developer Forums, or to

Re: giving error as app1 just read from memory location 0*000000001,which is in low memory

2005-06-13 Thread rupesh kumar
hi chirs, this is the whole function in which errors are coming. void GetFromDB() { MemHandle recH , recH1; AddrDBRecordPtr recP1 ; AddrDBRecordPtr1 recP2; UInt16 i ,numRecs, len; Boolean secret , showsecret; UInt16 attributes ; char * str ; char* str1;

re: Icon for Application

2005-06-13 Thread sachin jesukaran
hi roderick , thank u for the solution provided by u it worked out.. thank u sachin --- roderick young [EMAIL PROTECTED] wrote: If you are using a .rcp file with pilrc, the simplest way to add an icon is to add the lines ICON icon.bmp APPLICATIONICONNAME ID 1000 MyIcon to

Re: T650 resource cloning problem

2005-06-13 Thread PalmDev
the creator IDs are different and the type is 'appl' for both. here is what my apps does. 1. zip the original file to a new file (with a new creator id) 2. delete the original file its weird. If i create a normal database it is fine. - Original Message - From: Logan Shaw [EMAIL