PODS vs CodeWarrior

2005-02-13 Thread Roel Wijmans
I'm currently using codewarrior 8 for Macintosh, but have access to a pc with Codewarrior 9. I'm curious to hear peoples views on using PODS vs using CodeWarrior. I know the cost is a large contribution to using PODS, but if cost wasn't an issue what would people use? What are the advantages t

Re: Programmatically selecting multiple rows in table or list

2005-02-13 Thread LionScribe
Well a simple search on the forum provided the following links http://news.palmos.com/read/messages?id=90265#90265 http://news.palmos.com/read/messages?id=165456#165456 http://news.palmos.com/read/messages?id=178711#178711 LionScribe "Sateesh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PRO

Re: Programmatically selecting multiple rows in table or list

2005-02-13 Thread Logan Shaw
Sateesh wrote: > I am working on Palm Tungsten C handheld device and am trying to write a > UI where I will have to select multiple rows of a table or list using > the inbuilt keyboard. Can anyone give me pointers to do it? I don't mind > using either the table or the list. I've never used tables,

Programmatically selecting multiple rows in table or list

2005-02-13 Thread Sateesh
Hello, I am reposting this on the forum as I couldn't evoke any responses last time. I am working on Palm Tungsten C handheld device and am trying to write a UI where I will have to select multiple rows of a table or list using the inbuilt keyboard. Can anyone give me pointers to do it? I don't m

Available: A virtual Manager to access databases on Card. Source Code

2005-02-13 Thread LionScribe
I have written a set of functions that allow a program to access a Read-Only database, whether it's in RAM or on a card. The functions are all similiar to the standard Palm Database Manager functions. The beauty of this is that the database is NOT copied as a whole to RAM, just the resources or

missing netlib.h charattrib.h

2005-02-13 Thread Tisham
Hi I am developing apps for OS 5.2 on the Garmin Ique and after trying a few web apps I wanted make my own. But the SDK does not seem to have netlib.h and charattrib.h etc.. I was using the HttpTester lib from palmsource. The HelloNetLib sample code does not use netlib.h and seems to work. What'

Re: About Creating and Reading records

2005-02-13 Thread Logan Shaw
LYH wrote: > if mes is defined as: > > typedef struct > { > char *username; > char *title; > char *content; > } messageType; > > How I can allocate memory for content? > I do it this way, but it doesn't work. > > MemHandle mesContentH; > Char* mesContent, s; > > mesContentH = MemHandleNew(size

Re: About Creating and Reading records

2005-02-13 Thread LYH
if mes is defined as: typedef struct { char *username; char *title; char *content; } messageType; How I can allocate memory for content? I do it this way, but it doesn't work. MemHandle mesContentH; Char* mesContent, s; mesContentH = MemHandleNew(sizeof(mes.content)); mesContent = MemHandleLock

RE: Images on Palm

2005-02-13 Thread Oscar De LeÃn
hi Tunio, I recomend this: 1) Create a PRC database using PilRC for storing the pictures with a unique ID. 2) Create a PDB database with fields to relate the person ID with the picture ID and other info. 3) Use dmGet1Resource to retrieve the picture by ID and draw it on the screen. 4) A sample for

Re: About Creating and Reading records

2005-02-13 Thread Brandon Roberson
A cosmetology convention? I just have to say, Logan, that not only was that an excellent analogy, relevant and useful in every way, it was also the funniest thing I've read in days and I can barely type for laughing so hard. Thank you. You've made my week. -- For information on using the Palm D

Re: T3 larger screen

2005-02-13 Thread Logan Shaw
Henk Jonas wrote: > Manuel F. Naranjo wrote: >> I had a Tungsten T3 which you can resize itÂs screen, my question is, >> how do i do my program to use this new feautre, so it can resize itÂs >> forms? > Ask the knowledge base from PalmSource. Specifically, search for SampleCollapse. There is a

Re: About Creating and Reading records

2005-02-13 Thread Logan Shaw
derricklyh3 wrote: > I use the code below to create record: > char* s = MemHandleLock(h); > > mes.username = "user01"; > mes.title = "defaultTile"; > //mes.content = s; > StrCopy(mes.content, s); For this to compile, mes must be declared somewhat like this: typedef struct {

Re: Reading/ Autorun SD Card

2005-02-13 Thread Logan Shaw
Sachin Palewar wrote: > See actually I want to create an ebook application and I dont want > users to copy ebook to their device or beam it to some other device > due to piracy concerns. > > Thats why I asked that, I learnt that SD(Secure Digital) card are > primarily to provide you security and

Re: I can't call an error manager function

2005-02-13 Thread Sebastian Noack
I mean, it will be defined in BuildDefaults.h but... sorry -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: I can't call an error manager function

2005-02-13 Thread Sebastian Noack
ERROR_CHECK_LEVEL isn't defined in ErrorMgr.h. It will be defined in ERROR_CHECK_LEVEL, but only if it isn't defined before. And I define it in my sourcecode before I include anything. Can somebody explain why it doesn't works? Best regards Sebastian -- For information on using the Palm Develop

RE: Treo 600 auto turn on wireless mode

2005-02-13 Thread Sohil Shah
Did you happen to find out what API call will do the trick to detect and establish network coverage for a CDMA device The equivalent of PhnLibGPRSAttached(phoneLibRef)? Also, On the latest Treo 600 Simulator for GSM, the call PhnLibModulePowered(phoneLibRef) tends to freeze the simulator. It wo

Re: About Creating and Reading records

2005-02-13 Thread Henk Jonas
LYH wrote: Would anyone be kind to help me? How is "mes" declared? With mes.username = "user01"; mes.title = "defaultTile"; you set 2 char pointers to constant data from your app. With StrCopy(mes.content, s); you copy the content of s to mes.content. Did you reserved the space for it? Later you tr

Re: T3 larger screen

2005-02-13 Thread Henk Jonas
Manuel F. Naranjo wrote: I had a Tungsten T3 which you can resize itÂs screen, my question is, how do i do my program to use this new feautre, so it can resize itÂs forms? Manuel Ask the knowledge base from PalmSource. -- -

Re: I can't call an error manager function

2005-02-13 Thread Ben Combee
At 11:18 AM 2/13/2005, you wrote: Hi, I have redefine the ERROR_CHECK_LEVEL constant at the beginning of my source code... #ifdef ERROR_CHECK_LEVEL #undef ERROR_CHECK_LEVEL #endif #define ERROR_CHECK_LEVEL 2 even so when I call the ErrDisplay-Function, nothing happends. UInt32 PilotMain(UInt16

I can't call an error manager function

2005-02-13 Thread Sebastian Noack
Hi, I have redefine the ERROR_CHECK_LEVEL constant at the beginning of my source code... #ifdef ERROR_CHECK_LEVEL #undef ERROR_CHECK_LEVEL #endif #define ERROR_CHECK_LEVEL 2 even so when I call the ErrDisplay-Function, nothing happends. UInt32 PilotMain(UInt16 cmd, MemPtr cmdPBP, UInt16 laun

T3 larger screen

2005-02-13 Thread Manuel F. Naranjo
I had a Tungsten T3 which you can resize itÂs screen, my question is, how do i do my program to use this new feautre, so it can resize itÂs forms? Manuel -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: About Creating and Reading records

2005-02-13 Thread prabakar.mp
Hi, Please explain your issue again, bcoz i did not get your previous mail. Let me try to solve. - Martin. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of LYH Sent: Sunday, February 13, 2005 7:36 PM To: Palm Developer Forum Subject: re: About Creating and

Re: MemGluePtrNew not freed ?

2005-02-13 Thread Chris Apers
I don't change the owner of my blocks but anyway there is no way to know the ownerID on OS5 devices :_( > > we forget to free them). > > > It's only guesswork, but have you checked that they're marked > as owned by your app, rather than by the system? That's the > only good reason I can think

re: About Creating and Reading records

2005-02-13 Thread LYH
Would anyone be kind to help me? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: About Creating and Reading records

2005-02-13 Thread Henk Jonas
derricklyh3 wrote: I use the code below to create record: The MemHandle (h) of the field is passed into this routine: char* s = MemHandleLock(h); mes.username = "user01"; mes.title = "defaultTile"; //mes.content = s; StrCopy(mes.content, s); MemHandleUnlock(h); mesH = DmNewHandle(

Re: Question about StrIToA

2005-02-13 Thread Henk Jonas
derricklyh3 wrote: Thank you very much. In fact the online reference is always difficult to understand. Sorry, but it's a standard C-style way to fill a buffer. Regards Henk -- - Henk Jonas Palm OS Â certified developer [

About Creating and Reading records

2005-02-13 Thread derricklyh3
I use the code below to create record: The MemHandle (h) of the field is passed into this routine: char* s = MemHandleLock(h); mes.username = "user01"; mes.title = "defaultTile"; //mes.content = s; StrCopy(mes.content, s); MemHandleUnlock(h); mesH = DmNewHandle(dbP, sizeof(mes)

Re: Reading/ Autorun SD Card

2005-02-13 Thread Urs Hunkeler
Hi Sachin, > Thats why I asked that, I learnt that SD(Secure Digital) card are > primarily to provide you security and they also support some kind of > cryptography. It seems that SD cards provide some sort of security mechanisme which would probably be what you are looking for: http://www.sdcard

Re: Question about StrIToA

2005-02-13 Thread derricklyh3
Thank you very much. In fact the online reference is always difficult to understand. LYH -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Question about StrIToA

2005-02-13 Thread Urs Hunkeler
Hi, > Char *StrIToA (Char *s, Int32 i) > > I have read the online reference, but I can't understand it. > Would anyone tell me the meaning of the input parameter Char* s? You have to provide a buffer into which the result is written (as StrIToA doesn't allocate memory). Make sure that the buffer

Question about StrIToA

2005-02-13 Thread derricklyh3
Char *StrIToA (Char *s, Int32 i) I have read the online reference, but I can't understand it. Would anyone tell me the meaning of the input parameter Char* s? LYH -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Reading/ Autorun SD Card

2005-02-13 Thread Sachin Palewar
Thanks Urs for your prompt reply. I really appriciate that. See actually I want to create an ebook application and I dont want users to copy ebook to their device or beam it to some other device due to piracy concerns. Thats why I asked that, I learnt that SD(Secure Digital) card are primarily t

Re: Reading/ Autorun SD Card

2005-02-13 Thread Douglas Handy
Sachin, >1. I have a PRC on my SD card, can it be made to run automatically, >whenevery I insert the card in my palm? Name it (or put a copy named) Start.prc in the /PALM/ directory. Note that this is *not* the /PALM/Launcher directory where apps normally go. Note also that this can be defeated

Re: Reading/ Autorun SD Card

2005-02-13 Thread Urs Hunkeler
Hi, > 1. I have a PRC on my SD card, can it be made to run automatically, > whenevery I insert the card in my palm? Name it start.prc and put it in the /PALM directory. > 2. How to ensure that nobody can copy/beam the data from SD card? I don't see how you could prevent somebody from putting the