I have some code that uses fixed point math in 22.10 representation. So I
do a lot of bit shifting like this.
int Number = 300 << 10;
This doesn't work on a Palm though, because it uses Big Endian byte order.
I had read that you need to swap the bytes before you perform the bit shift
and then s
Hi,
The following links might be useful to u.
http://www.palmos.com/dev/support/docs/recipes/
http://www.codeproject.com/ce/#Palm+Development
Girish.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Teresa
smith
Sent: Tuesday, February 10, 2004 1:34 AM
T
Hi,
I'm a newbie to conduit development. Other than the documentation given
with Conduit SDK, is there any articles/tutorials on conduit development
using COM framework and C++ available anywhere?
Even though I have palm conduit development kit 4.03 in my machine, the
palm conduit wizard availa
Perfect... working now.
Thanks everyone for taking the time to offer the great suggestions.
Mike
"Michael Jones" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Having trouble with this:
>
> I have a program where I want someone to press and hold a button. For as
> long as they ho
I'm doing this on my free time in the hope of helping others.
It is the same code with a few changes in a text file, it is at the same
place as before and it is free.
Regis
"David A. Desrosiers" <[EMAIL PROTECTED]> a écrit dans le message de
news:[EMAIL PROTECTED]
>
> > jcpalm 1.1 Jpeg Compressio
Version 9 has a pretty decent tutorial. Check in this folder for the
tutorial:
C:\ProgramFiles\Metrowerks\CodeWarrior\CodeWarrior Manuals\MW Tutorial For
Palm OS
I was able to get started using that, and the C++ tutorial at
http://www.cplusplus.com/doc/#tutorial
Good luck
"Teresa smith" <[EMAIL
When I use Graffiti(2) to update the value of a field control,I can get
fldChangedEvent.
After I set the focus to editbox,I call the system keyboard,input some
text,and close it.I can still get fldChangedEvent,then I delete a char,I
can't get the event.
Please help me,and thanks.
--
For inform
If you do that, I'd recommend putting up a Web page that contains the links, instead
of providing the links directly to the files. That way, people can go to the page to
get the latest versions, instead of having to futz with broken links all the time.
-- Keith
> -Original Message-
>
> jcpalm 1.1 Jpeg Compression shared library for Palm OS (source and code):
> http://www.laubrass.com/doc/PUB/JPEG/jcpalm_lib_1.1.zip
AIE! Please don't release changed code with the same version
numbering on it as the last version (unless you can guarantee that nobody
downloaded the p
jcpalm 1.0 is a Jpeg Compression shared library for Palm OS
based on the IJG code.
It was ported to Palm OS by IDEO, TRG & Harold Howe in 2000
I made some minor corrections in it
(with the permission of Harold Howe) and rebuild it to jcpalm 1.1
The new version can be downloaded from our web site.
Are you starting POSE with a saved session. It's possible you've saved one that has
embedded breakpoint instructions (TRAP #0). Try to always start POSE with a clean
session or one saved before a debugger had touched it.
-Original Message-
From: David Webb
Date: 2/9/04 12:33 pm
To:
The shared lib wizard code is based on the SampleLib code from the PalmSource SDK.
See the SDK's licence WRT distribution of code derived from it.
-Original Message-
From: Regis St-Gelais
Date: 2/9/04 1:20 pm
To: Palm Developer Forum
Subj: Re: [ANN] Another free JPEG library for Palm
You've got those switched... The zero byte file is in the main folder, with the
resource data in RESOURCE.FRK.
-Original Message-
From: Edward P. Ross
Date: 2/9/04 3:26 pm
To: Palm Developer Forum
Subj: Re: RSRC issue
OK -
So I have the 200KB my.rsrc file in my {project} folder and
A tutorial for creating a Palm OS app comes with Codewarrior. Have you read that?
The quick start doc with the product should point you to the right place in the docs
folder.
-Original Message-
From: Teresa smith
Date: 2/9/04 2:04 pm
To: Palm Developer Forum
Subj: begineer, Codewar
Use one of the examples included with Codewarrior and the Palm SDK. The
stationary project is a good shell to add your own code. (suggestion: make
a copy of the project first).
- Original Message -
From: "Teresa smith" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
S
OK -
So I have the 200KB my.rsrc file in my {project} folder and a 0 byte my.rsrc file in
the RESOURCE.FRK folder.
When I double click on the 200KB file in the {project} folder, Constructor appears
with no resources - no forms, alerts, etc. I found that if I copy the 200KB file to
the RESOUR
Matt Graham wrote:
Mike Davis wrote:
Ok, I have several buttons on an application that are the same size.
Therefore, I have only one bitmapfamily for all of the buttons.
However, I have different text for each of the buttons.
How does one (or what is the best way to) use a single bitmapfamil
Teresa smith wrote:
hi,
i was wondering is there any website that would show
how to set up and run simple applications
usingCodewarrior r8 for palm simulator, as i wont be
able to obtain a suitable book for a fortnight.
and i need to start straight away
thanks
Teresa
How's this?
http://rz
Mike Davis wrote:
On 9 Feb 2004 at 10:41, Eron Hennessey wrote:
Mike Davis wrote:
I have a problem with a shaded image used in a high resolution bitmap.
The image is showing up in the application as banded, even though it
shows up ok in the paint program.
I have a description and exm
Mike Davis wrote:
Ok, I have several buttons on an application that are the same size.
Therefore, I have only one bitmapfamily for all of the buttons. However,
I have different text for each of the buttons.
How does one (or what is the best way to) use a single bitmapfamily but
have variable
Michael Jones wrote:
Having trouble with this:
I have a program where I want someone to press and hold a button. For as
long as they hold the pen down on the button, I want a timer on the screen
to increment and update it's display.
Right now I'm doing the following within the ctrlEnterEvent:
(T
hi,
i was wondering is there any website that would show
how to set up and run simple applications
usingCodewarrior r8 for palm simulator, as i wont be
able to obtain a suitable book for a fortnight.
and i need to start straight away
thanks
Teresa
Here is the reply I got from Harold Howe regarding the copyright isue:
Begin Quote
The code is copyrighted, but that doesn't mean you can't modify and
redistribute. Our code follows the same licensing scheme that the IJG
uses. We just never listed the redistribution terms in the text file.
If an
On 9 Feb 2004 at 10:41, Eron Hennessey wrote:
> Mike Davis wrote:
>
> >I have a problem with a shaded image used in a high resolution bitmap.
> >The image is showing up in the application as banded, even though it
> >shows up ok in the paint program.
> >
> >I have a description and exmples of
--
"David A. Desrosiers" <[EMAIL PROTECTED]> a écrit dans le message de
news:[EMAIL PROTECTED]
>
> Also, JPEGlibdispatch.c appears to be copyright TRG. I don't see
> anything in the documentation for that, that provides rights or
attribution
> to use that and include it in your project. Just be
I use the following to iterate through the available interfaces. If you
look in the header file, NetMgr.h, you will find some undocumented
NetLifIFsetting's.
-Dave
char ifName[32];
UInt16 index = 0, sz;
Err err;
UInt32 ifCreator;
UInt16 ifInstance;
do {
err = NetLibIFGet(netLibRefnum, inde
Eron Hennessey wrote:
Mike Davis wrote:
I have a problem with a shaded image used in a high resolution
bitmap. The image is showing up in the application as banded, even
though it shows up ok in the paint program.
I have a description and exmples of the images at the link below. If
anyone u
Mike Davis wrote:
I have a problem with a shaded image used in a high resolution bitmap.
The image is showing up in the application as banded, even though it
shows up ok in the paint program.
I have a description and exmples of the images at the link below. If
anyone understands this problem
I'm getting emails ok but can't access the news server for the palm-dev
forum. I can access the emulator forum ok and I use the same
password and email address.
Is there a problem with the palm-dev forum on the server? I'm getting
this error:
"Sorry! An online error occurred.
When: Retreivi
I have a problem with a shaded image used in a high resolution bitmap.
The image is showing up in the application as banded, even though it
shows up ok in the paint program.
I have a description and exmples of the images at the link below. If
anyone understands this problem and has a solution
I am using:
Code Warrior 8.3 for Palm,
IDE 4.2.6.832,
POSE 3.5 with PalmOS412_FullDbg_EZ_enUS ROM
I am writing a test app using NetLib's targeted for OS 4.12.
I keep getting the following error when lauching the app from Code Warrior
for debugging in POSE. After which POSE needs restarting and
--
"David A. Desrosiers" <[EMAIL PROTECTED]> a écrit dans le message de
news:[EMAIL PROTECTED]
>
> Can you please include a obviously-named text file in there (perhaps
> called 'license.txt') or describe it in a global README file? That would
be
> much clearer than relying on opening each of the fi
I have a problem with a shaded image used on in a high resolution
image that is driving me nuts. The image is showing up as a banded
image instead of the smoothly shaded image that is seen in my paint
program.
I have a description and examples of the images at the link below, which
better sho
Hi,
I'm seeing something unexpected with WinGetDisplayExtent. For the Clie
Simulator, the height returned is 225. But for the T3, the height is only
224.
What's really strange is that in the SampleCollapse_R3 code, in the
CollapseResizeForm routine, I found these comments:
// Example #1: The use
thanks i'll try that..
--- Jeremy Neal Kelly <[EMAIL PROTECTED]> wrote: >
"Teresa smith" <[EMAIL PROTECTED]> wrote in
> message
> news:[EMAIL PROTECTED]
> > hi
> > i'm trying to write an simple application for
> adding
> > two numbers, but i've not used palm before. I'm
> using
> > Codewarrior R
"Teresa smith" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> hi
> i'm trying to write an simple application for adding
> two numbers, but i've not used palm before. I'm using
> Codewarrior R8 o develop the code, but am having
> difficulty figuring it out. Is there anyone who can
>
> You can use those libraries freely provided that you follow the licensing
> terms. See the text files with the libraries.
Can you please include a obviously-named text file in there (perhaps
called 'license.txt') or describe it in a global README file? That would be
much clearer than re
Ok, I have several buttons on an application that are the same size.
Therefore, I have only one bitmapfamily for all of the buttons. However,
I have different text for each of the buttons.
How does one (or what is the best way to) use a single bitmapfamily but
have variable text on the button
In article <[EMAIL PROTECTED]>,
"Victor ." <[EMAIL PROTECTED]> wrote:
> Dear all:
>
> I want to save the last active form when i switch to
> another application. The problem is I have many global
> variables associated with the form and also some
> database references. Please tell me how to save
jcpalm 1.0 is a Jpeg Compression shared library for Palm OS based on the IJG
code.
It was ported to Palm OS by IDEO, TRG & Harold Howe in 2000
I made some minor corrections in it and rebuild it to jcpalm 1.1
Both the new and the old version can be downloaded from our web site.
jcpalm 1.1 Jpeg Comp
At 08:08 AM 2/9/2004, you wrote:
If "presentacion320.bmp" is 170x170 pixels no problem, but if
"presentacion320.bmp" is bigger than 170x170, Code Warrior (9) displayed
"
CodeWarrior encountered an unhandled exception 0xc005 at address
0x022d2136
(The memory at address 0x0050 could not be re
Is there something wrong with the PalmDev News Server? I'm having
trouble accessing it lately, with my news reader. I get emails ok and I
can access the tools fourm with the news reader but I get the following
error on the PalmDev forum.
"Sorry! An online errror occurred.
When: Retreiving 54
hi
i'm trying to write an simple application for adding
two numbers, but i've not used palm before. I'm using
Codewarrior R8 o develop the code, but am having
difficulty figuring it out. Is there anyone who can
tell me where to start.
Thanks
Teresa.
_
Thanks!
I wrote "BITMAP "bmps/RGB\ 16\ bits/presentacion320.bmp" BPP 16 DENSITY
2 COMPRESS" and no more problem.
-Mensaje original-
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] En nombre de Julian
Oh
Enviado el: Lunes, 09 de Febrero de 2004 12:00 p.m.
Para: Palm Developer Forum
Asunto
sounds like 64k limit issue, break your bmp into smaller bmps.
elv
"Zechner Christian" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi!
I need to include a hi-res bitmap in my project. This bitmap is 320x320.
I wrote:
BITMAPFAMILYEX ID PresPantalla2
BEGIN
BITMAP "bmps/bitmap/prese
Hi!
I need to include a hi-res bitmap in my project. This bitmap is 320x320.
I wrote:
BITMAPFAMILYEX ID PresPantalla2
BEGIN
BITMAP "bmps/bitmap/presentacion.bmp" BPP 1
BITMAP "bmps/RGB\ 16\ bits/presentacion320.bmp" BPP 16 DENSITY 2
END
in .rcp file.
If "presentacion320.bmp" is 170x170 pixels n
>I've just written the following code:
>Int32 value = 1 << 16;
>Compiling with gcc and PRC-Tools, sdk5-r3,
>I get the following warning:
>warning: left shift count >= width of type
This has been answered clearly by others, but I just wanted to make a comment about
coding in C with its sometim
I've an application with IrDa support thar works fine under OS/4.XX and fails under
OS/5.XX.
Is there any change at IrDa stack? It always fails at IrDiscoverReq function,
returning that there's no Irda device.
Manoel Teixeira
--
For information on using the Palm Developer Forums, or to un
I have a program with this control, the app is for write autograph, in the
penupevent , pendownevent or penmoveevent I use the WinPaintPixel, if the
stylus is move slowly, the autograph is write perfectly, but if write a line
or autograph fast , the app paint pixel separatly for example
slowly wri
I´m trying to compile aproject that works fine em C
but know i need some classes on it
how can i compile that?
i treyed use C++ compiler but then i get a Link error
without this i get error on the filemanager lib
if i can´t manage how to do that i ll try to make a precompiled lib
but i don´t know
"Miken" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> I want to add some data to the end of the file.I call VFSFileOpen with
> vfsModeWrite|vfsModeCreate,then I call VFSFileWrite.I find it remove all
> existing data before writing.
> Why?
>
>
>
Miken,
you have to use
vfsMode
At 01:04 AM 2/9/2004, you wrote:
Thanks Ben...
The project inspector points to the file in the {project} folder - which
is a non-zero byte file. Also, the one in the RESOURCE.FRK folder is
non-zero byte.
1.) Should the IDE point to the file in the {project} folder or the
RESOURCE.FRK folder?
Hi Mike,
this is how i do it:
case ctlSelectEvent:
if (CtlGlueGetControlStyle(eventP->data.ctlSelect.pControl) == buttonCtl)
{
CtlSetValue(eventP->data.ctlSelect.pControl, 1);
SysTaskDelay(SysTicksPerSecond() / 4);
CtlSetValue(eventP->data.ctlSelect.pControl, 0);
}
break;
H
Thanks Ben...
The project inspector points to the file in the {project} folder - which
is a non-zero byte file. Also, the one in the RESOURCE.FRK folder is
non-zero byte.
1.) Should the IDE point to the file in the {project} folder or the
RESOURCE.FRK folder?
2.) How do I re-create the rsrc f
54 matches
Mail list logo