Is there a maximum limit to the number of databases
that you can have open at once? Todd.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
Brian Smith wrote:
On Thu, 15 Apr 2004, Ben Combee wrote:
It depends on the toolset. For CodeWarrior, you need to declare the
lookup array as a const data structure...
IIRC, that much will do it in prc-tools as well.
Hi,
Thank you. I am using the prc-tools.
So, what is the way to declare th
At 12:36 AM 4/16/2004, you wrote:
I would like to ask one simple question ... why all the formhandlers and
appeventhandler and other functions declared as static in all the sample
codes
Please see http://www.palmoswerks.com/stories/storyReader$7 for the article
I wrote on this topic a coupl
On Thursday 15 April 2004 10:36 pm, wax wacky wrote:
> I would like to ask one simple question ... why all the formhandlers and
> appeventhandler and other functions declared as static in all the sample
> codes
Static functions can not be used outside the file they are declared in. I
beleive
I would like to ask one simple question ... why all the formhandlers and
appeventhandler and other functions declared as static in all the sample codes
--
__
IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com
Check ou
Hi everyone, I'm currently developing a security program that I plan to
incorporate a feature where certain applications can be "stopped" from
running if a correct password is not provided.
What I have done so far is to register to receive the
sysNotifyAppLaunchingEvent event. What I want to ac
At 10:25 PM 4/15/2004, you wrote:
Hello, again and probably again, I am sure. When I load my program to the
Palm window, there is a white boarder the goes around the entire screen,
so if I want the screen to go totally black, there is still a white
frame. Is there anyway the access these pixel
At 09:16 PM 4/15/2004, you wrote:
What do you mean by "graphical control"? Aren't the standard Palm OS
controls like buttons graphical?
Many Palm OS controls, on Palm OS 3.5 and later, let you set a bit that
tells it to use a couple of bitmaps in place on the standard control rendering.
-- Ben C
Hello, again and probably again, I am sure. When I load my program to the Palm
window, there is a white boarder the goes around the entire screen, so if I want the
screen to go totally black, there is still a white frame. Is there anyway the access
these pixels? Thanks,
Tom
Tom McCarthy
St.
On Thu, 15 Apr 2004, Ben Combee wrote:
> It depends on the toolset. For CodeWarrior, you need to declare the
> lookup array as a const data structure...
IIRC, that much will do it in prc-tools as well.
--
---
Brian Smith // a
What do you mean by "graphical control"? Aren't the standard Palm OS
controls like buttons graphical?
"Ben Combee" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> At 02:22 PM 4/15/2004, you wrote:
> >Is it true that you can't set the color of an individual control to be
> >different
At 08:26 PM 4/15/2004, you wrote:
Hi,
I wish to have a constant character array (~128 entries) available in a
function of my shared library.
In other platforms, I'll do something like the followings,
char f(int n) {
static char lookup[128] = {'A', 'B', 'C' ... };
return lookup[n];
}
Is the
Hi,
I wish to have a constant character array (~128 entries) available in a
function of my shared library.
In other platforms, I'll do something like the followings,
char f(int n) {
static char lookup[128] = {'A', 'B', 'C' ... };
return lookup[n];
}
Is the above valid and possible in a func
Hi,
Thanks for all the help you have given me so far. I am trying to put a box that
when tapped will place a check mark in the box and change the setting to the "on"
position. Is there is a simple algorithm to do thing in a pull down menu? Thanks.
Tom McCarthy
St. Paul's School
Hawley Obs
Salli,
It sounds like the string is quite a bit longer than the field width. Have
you tried using FldRecalculateField to update the word-wrap information
after you load the text?
Also, if (and only if) you set the field as non-editable, you can use
FldSetTextPtr to update the field text instead
"Keyur Patwa" <[EMAIL PROTECTED]> a écrit dans le message de
news:[EMAIL PROTECTED]
>
> According to what we have understood, we are expecting the image data in
> the bufP or userDataP. For us bufP and size are printing 0 every time we
> run the application and userDataP also prints same values ev
Ralph Curtis a écrit :
> This is very simple to do if you can use a table. Detect selection of table
> field and add to a cache of selected fields. If an already selected field is
> selected again you can remove it from your cache. It is simple to highlight
> selected fields that are in the cache
At 05:44 PM 4/15/2004, you wrote:
We are using a couple libraries in our app. I was wondering what's the
best policy for loading and unloading libraries. In our case, the Net
Library is opened at the beginning and left open the whole time b/c we're
using the same connection on the whole app.
B
We are using a couple libraries in our app. I was wondering what's the
best policy for loading and unloading libraries. In our case, the Net
Library is opened at the beginning and left open the whole time b/c
we're using the same connection on the whole app.
But the MathLib is used pretty rare
Did you read the article? It explicitly explains exactly how to exchange
the text. In fact, this example uses the selection of a date to update the
label. You could almost cut and paste the example into your code.
- Original Message -
From: "Ornstein, Adam" <[EMAIL PROTECTED]>
To: "Pal
At 04:23 PM 4/15/2004, you wrote:
The problem is that ControlType is deprecated
No, ControlType is still valid as something to which you can hold a
pointer. Directly accessing the internals of a ControlType isn't allowed,
but you don't need to do that to change the label.
-- Ben Combee, senior
At 02:22 PM 4/15/2004, you wrote:
Is it true that you can't set the color of an individual control to be
different than other controls of the same class?
Yes. Palm OS has no support for customizing the colors of individual
controls. You can always implement your own control or use a graphical
c
The problem is that ControlType is deprecated
-Original Message-
From: Dave Lippincott [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 2:15 PM
To: Palm Developer Forum
Subject: Re: setting selector trigger's text?
Its in the Palm KB:
http://makeashorterlink.com/?J19D23808
Ornstein, Adam wrote:
I understand how triggers work. What I don't understand is how to
modify the text that is being displayed by the trigger.
Maybe your problem is that you're not paying attention to posts telling
you how to do it. The knowledge base article is quite clear in how to
do what y
Just FYI, when you are in the project viewer, there will be a little dot
in the far right column, underneath the icon of the bug. This indicates
that debugging symbols are turned on for that source file. To turn it
on or off, click in the column for the file you want to enable/disable.
-E
> ---
> CW 8.2 / XP
>
> I just created a new .cpp file and added it to my project. When I set a
> break point in the new file, it's shown as dimly lit and not the bright
red
> of break points in other files. Execution is not stopping at the break
> points in my new file, but is in my older existing fil
I understand how triggers work. What I don't understand is how to modify
the text that is being displayed by the trigger.
i.e.
if I hit the trigger and select a date, I am trying to set the trigger text
to the date that was selected. I have the date ready to display in char*
format, just don't
CW 8.2 / XP
I just created a new .cpp file and added it to my project. When I set a
break point in the new file, it's shown as dimly lit and not the bright red
of break points in other files. Execution is not stopping at the break
points in my new file, but is in my older existing files. What d
Is it true that you can't set the color of an individual control to be
different than other controls of the same class?
"Tim Kostka" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Take a look at the UIColorGetTableEntryIndex function. The
> foreground/background can be different fo
At 07:55 AM 4/15/2004, you wrote:
I want to convert existing CodeWarrior 9.0 (with 9.2 update) project to
makefile so i can compiled with prc tools, (i used PilRC for resources), i
am having problems with CW option "export project as GNU makefile", some
*.lrf file is missing.
The makefile impor
At 09:40 AM 4/15/2004, you wrote:
Ben,
This is a read only field I tried to follow the code in the link you
suggested...It puts the string in the form the first time with no problem.
When I to do this a second time (although in this example the string will be
the same), I get
Richard Coutts wrote:
I need to add the ability to compose and send an email from within my
application. I'm not sure where to begin with this one -- can someone give
me some pointers as to which functions I should be looking at to do this? I
did i cursory search though the docs and didn't see a
Its in the Palm KB:
http://makeashorterlink.com/?J19D23808
- Original Message -
From: "Ornstein, Adam" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, April 15, 2004 1:24 PM
Subject: setting selector trigger's text?
> Anyone know how to set a selector
Ornstein, Adam wrote:
Anyone know how to set a selector Triggers text?
CtlSetLabel()?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
Any luck?
-Original Message-
From: Morten Schmidt [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 12:46 PM
To: Palm Developer Forum
Subject: Re: DateType problem, convert to ascii...
hehe
that is my question in another thread ;o)
/morten
Ornstein, Adam wrote:
> I do need it
Anyone know how to set a selector Triggers text?
I just cant figure it out...
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
Try this info
.2.2.2. Installing Additional Examples
While the SDK will include the minimum necessary to compile projects
(headers, libraries, and updated tools), you'll also want to have the
example files as well as the documentation. To get these you need to
download the Documentation and Exampl
Oh my.. once again...
Well, no, don't use CW... Program from scratch...
/morten
Morten Schmidt wrote:
came in at the wrong place... here I go again...
Are dateDB.c and DateDay.c capitalized correctly?
I can't find them on my linux system, and I've got the latest SDK...
/morten
Ornstein, Adam
came in at the wrong place... here I go again...
Are dateDB.c and DateDay.c capitalized correctly?
I can't find them on my linux system, and I've got the latest SDK...
/morten
Ornstein, Adam wrote:
Actually I just tackled this problem recently, and I found something
extremely helpful and free.
On my windows machine it is located here.
Perhaps you don't have the codewarrior examples?
C:\Palm OS 5 SDK (68K) R3\(CodeWarrior Examples)\Palm OS 5 SDK (68K) R3
Examples\Datebook\Src
-Original Message-
From: Morten Schmidt [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 15
hehe
that is my question in another thread ;o)
/morten
Ornstein, Adam wrote:
I do need it for another reason... I need to insert appointments into the
datebook in a number of dates, so should you need more help for your
appontment insertion issue, let me know ;)
SelectDay(selectDayByDay, &sh
Are dateDB.c and DateDay.c capitalized correctly?
I can't find them on my linux system, and I've got the latest SDK...
/morten
Ornstein, Adam wrote:
Actually I just tackled this problem recently, and I found something
extremely helpful and free.
ApptNewRecord (...)
This is from an example incl
I do need it for another reason... I need to insert appointments into the
datebook in a number of dates, so should you need more help for your
appontment insertion issue, let me know ;)
> SelectDay(selectDayByDay, &shMonth, &shDay, &shYear, cTitle);
>
> DateType *dt6DaysPrior = new DateType;
I register sysNotifySleepRequestEvent to check BT status when user press
power button to power off my Palm TT. However I found out that the callback
routine doesn't work when user set the security password when Palm TT
startup. If I disable the security function, the callback routine work again
(I
Ornstein, Adam wrote:
SelectDay(selectDayByDay, &shMonth, &shDay, &shYear, cTitle);
DateType *dt6DaysPrior = new DateType;
dt6DaysPrior->day = shDay;
dt6DaysPrior->month = shMonth;
dt6DaysPrior->year = shYear;
DateToAscii (dt6DaysPrior->month, dt6DaysPrior->day, dt6DaysPrior->year,
dfMDYLongWithCo
On Thu, 15 Apr 2004, Morten Schmidt wrote:
> I need to add entries to my calendar through my app. How do I do that?
The best (read: most portable across OS versions) way is to locally "beam"
vCalendar records to the Datebook using the Exchange Manager. Sure, you
can add records by directly acces
Morten Schmidt wrote:
Tried that... Might try it again.. but my skills you know.. I might be
taking my mouth too full, but Well, is that possible?
/morten
If you are asking if it's possible to add events and appointments to
Datebook, then certainly it must be possible. Each event is proba
Thanks that worked perfectly.
-Original Message-
From: Morten Schmidt [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 11:30 AM
To: Palm Developer Forum
Subject: Re: DateType problem, convert to ascii...
Try this (the manual addition...):
[snip]
SelectDay(selectDayByDay, &sh
Actually I just tackled this problem recently, and I found something
extremely helpful and free.
ApptNewRecord (...)
This is from an example included with palm sdk. dateDB.c, DateDay.c. You
can use this function in your program if you include these files.
-Original Message-
From: Mo
Tried that... Might try it again.. but my skills you know.. I might be
taking my mouth too full, but Well, is that possible?
/morten
Robert Moynihan wrote:
Hi Morten,
I have not done any significant playing around with Datebook/Calendar,
but if I were going to do so, the first thing I wou
Hi guys,
I am working on Zire71.
In my app, I am trying to capture an image and access the image data.
Following is what I am doing for that,
After setting the camera preview size as well as camera capture size
using all the camera specific APIs, we are using
CamLibControl(gCameraRefNum, kCamLib
Hi Morten,
I have not done any significant playing around with Datebook/Calendar,
but if I were going to do so, the first thing I would do is to look in
the sample code for the datebook application. You can download the
sample code for all of the standard palm apps (for OSv3.5 or 4) from the
Ornstein, Adam wrote:
1. Im using a datetype, and even though the year variable is set to
2004, it always shows up as year 84.
You only have 7 bits to store the year. The bottom 7 bits of 2004 is 84.
supposed to be an unsigned short type, and that the value is supposed
to be The number of years
BTW
I ripped the code from Palmphi but now I'm on Linux, sooo...
Palmphi's out guikachu's in ;o)
Morten Schmidt wrote:
OK, even though I'm only 3 weeks "old" in PalmOS programming, I'll try
Load large string into Field...
Here is some code I use:
[snip]
void SetEditText(UInt16 ownerForm
Sorry..
Yes, an appointment (is that what it's called Isn't there a manager
for that?)
An appoinment (hopefully) with an alert/alarm/what-it's-called...
/morten
Ornstein, Adam wrote:
Are you trying to add an appointment to the calendar, or something else?
-Original Message-
From:
> I think in theory the Helper API is what you want
Chris,
Thanks for pointing me in the right direction. The target platform is the
Treo 600, which I believe is running OS5, so the Helper API looks like just
what I want.
The only snag I see is that I'd like to have an attachment to the email,
Try this (the manual addition...):
[snip]
SelectDay(selectDayByDay, &shMonth, &shDay, &shYear, cTitle);
DateType *dt6DaysPrior = new DateType;
dt6DaysPrior->day = shDay;
dt6DaysPrior->month = shMonth;
dt6DaysPrior->year = shYear-1904;
DateToAscii (dt6DaysPrior->month, dt6DaysPrior->day,
1904+dt
Are you trying to add an appointment to the calendar, or something else?
-Original Message-
From: Morten Schmidt [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 11:18 AM
To: Palm Developer Forum
Subject: Adding Calendar entries... How?
Hi
I need to add entries to my calendar th
OK, even though I'm only 3 weeks "old" in PalmOS programming, I'll try
Load large string into Field...
Here is some code I use:
[snip]
void SetEditText(UInt16 ownerForm, UInt16 fieldName,Char *text)
{
FieldPtr THIS = GetObjectPtr(ownerForm, fieldName);
MemHandle h,old;
Char *d
Keeps coming up as 100... I also tried setting shYear to 2004, 100, etc.
But it never comes up right...
Here is some code, please help!
SelectDay(selectDayByDay, &shMonth, &shDay, &shYear, cTitle);
DateType *dt6DaysPrior = new DateType;
dt6DaysPrior->day = shDay;
dt6DaysPrior->month = shMonth;
Hi
I need to add entries to my calendar through my app. How do I do that?
I am creating a little app to keep track of the soccer games my
girlfriend (and therefor I) attend. I enter them into the program, and
would like to be able to add the entries to the Calendar with a
possibility of an ale
Since it is always 1904 years apart, I manually add or subtract the
value 1904 to or from the value stored i DateType. Works for me...
/morten
PS I'm quite new at programming for the PalmOS
Ornstein, Adam wrote:
1.
Im using a datetype, and even though the year variable is set to 2004,
it always
I have a little test database which consists of 3 records each containing 2
strings, the first string is just 2 characters long and I can load this up
into a field on a form without any problems.
The second column is a string that is quite a bit largerlonger than 255
characters.it doesn't
- Original Message -
From: "Roger Stringer" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, April 15, 2004 9:33 AM
Subject: Re: system crashes, large/smart model
>
> > > > From: "Vu Pham" <[EMAIL PROTECTED]>
> > > > My app passes the limit of 32K and I
Ben,
This is a read only field I tried to follow the code in the link you
suggested...It puts the string in the form the first time with no problem.
When I to do this a second time (although in this example the string will be
the same), I get
SysFatalAlert, "No word wrappi
> > From: "Vu Pham" <[EMAIL PROTECTED]>
> > My app passes the limit of 32K and I use smart model to overcome that
> limit.
> > Anyway, for some reason, if I move one of the functions from one file to
> > another file, the app crashes when that function is called.
> > When I move it back, it works.
1.
Im using a datetype, and even though the year variable is set to 2004,
it always shows up as year 84. I know how that the year field is
supposed to be an unsigned short type, and that the value is supposed
to be The number of years since 1904.
however assigning year the value of 100 still does
Im using a datetype, and even though the year variable is set to 2004,
it always shows up as year 84. I know how that the year field is
supposed to be an unsigned short type, and that the value is supposed
to be The number of years since 1904.
however assigning year the value of 100 still does no
test
-Original Message-
From: Chris Tutty [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 14, 2004 7:21 PM
To: Palm Developer Forum
Subject: Re: String values concatenating
From: "Ben Combee" <[EMAIL PROTECTED]>
> At 02:54 PM 4/14/2004, you wrote:
> >I have a field on a form that I
- Original Message -
From: "stefano d'urso" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, April 15, 2004 5:38 AM
Subject: the application needs to wait... why?
> i've got a problem with this operation:
>
> while(1) {
> co
I want to convert existing CodeWarrior 9.0 (with 9.2 update) project to
makefile so i can compiled with prc tools, (i used PilRC for resources), i
am having problems with CW option "export project as GNU makefile", some
*.lrf file is missing.
Is there another way to convert??
Pleeaseee hel
This is very simple to do if you can use a table. Detect selection of table
field and add to a cache of selected fields. If an already selected field is
selected again you can remove it from your cache. It is simple to highlight
selected fields that are in the cache and deselect them when removed f
i've got a problem with this operation:
while(1) {
const int bufSize=0x100;
UInt8 buf[bufSize];
UInt16 bytesRead=sk.receiveData(buf,sizeof(buf));
[...]
}
the function receiveData receives datas from a socket. if i place a
breakpoint just before the receiveData and i debug my application ev
At 11:57 PM 4/14/2004, you wrote:
I just installed Code Warrior and the instructions call for me to download
the .rom file for the OS that I'm using from the Palmos site. I can't find
the .rom for OS 5x. Can someone tell me what it is that I need to download?
Please do some exploring in the Palm
At 07:49 PM 4/14/2004, you wrote:
> At 05:43 PM 4/14/2004, you wrote:
> >My app passes the limit of 32K and I use smart model to overcome that
limit.
> >Anyway, for some reason, if I move one of the functions from one file to
> >another file, the app crashes when that function is called.
> >When I
75 matches
Mail list logo