Marianne,
Well, let me get some more details from you. Are you using Codewarrior 9.0 &
Tools or using 7.0 & its tools?
See, CW9.0's constructor allows you to check the compress option when u are
creating a bitmap resource and in that case you must just take an
uncompressed bitmap and copy-paste o
Hello Sushil ,
Our bitmaps have been given to us compressed using RLE algorithm , but when
we paste it in the Constructor's bitmap editor from MS Paint , it becomes
blank . Now our client is asking us what else could be done .
Original bitmap size
Compressed size
> What is the prefered method for allocating memory on the heap
> dynamically for objects created with C++? Right now I use the
> keyword new. Is it better to use MemHandleNew? If so, how would you
> do this? Thanks.
>
> Tim Dean
Typically in your development environment, this will be handled
I have created a object hierarchy using C++ in a Palm OS program. It uses
inheritance, and virtual functions. It is about 4 to 5 levels deep using
inheritance. The user interface is dynamically generated at run time. I am
running into strange problems that don't make sense. One example is that
What is the prefered method for allocating memory on the heap dynamically
for objects created with C++? Right now I use the keyword new. Is it
better to use MemHandleNew? If so, how would you do this? Thanks.
Tim Dean
--
For information on using the Palm Developer Forums, or to unsubscribe
Can anyone tell me how I can make a text file that can have a few name
fields keyed in, plus a place for a signature (like UPS) so that I can print
out a copy of the model release with a signature on it.
I have absolutely no previous experience with programming, but I think this
should be a relativ
The only dox/info I can locate online are woefully inadequate:
http://drs.yahoo.com/S=2766679/K=text_64k_palmos3+/v=2/SID=w/l=WS1/R=1/H=0/*-http://prc-tools.sourceforge.net/doc/prc-tools_3.html
As I understand it, this allows the primary code segment (#1) to grow (more
or less) up to 64K (instead
Is there any way of getting the graffiti state information with graffiti
2. GrfGetState seems to always return 0 in the tempShift value.
LionScribe
The best thing to hit the internet in years - Juno SpeedBand!
Surf the web up to FIV
Hi there,
In the memopad tutorial, there is some sample code on multi line text field
with scroll bar.
If you just need multiline text field without the scroll bar, (I am using CW, I
don't know how to do it in Pilrc) In the contructor, you put a text field with
the height = number of lines x 11,
Ronald, sorry that I don't have a solution to your question, but I have
been wanting to find way to disable the Treo600 keyguard; just haven't
gotten around to looking yet. Would you be able to give me a quick
shove in the right direction? No problem, of course, if it is more
complicated tha
Hello All,
As a helpful memory jog, here's a link to the previous discussion from Jan
20, 2003:
http://groups.yahoo.com/group/palm-dev-forum/message/83420
between "Mike" and Rob Larson which ended with "Maybe OS 5.1+ could be
upgraded to accept such a value."
Has there been any resolution to th
Palm OS 5.2 has a feature in prefs called Keylock which prevents the device
from waking when buttons are pressed by displaying a dialog with a screen
button that must be pressed before the device wakes.
My application wakes the device in order to perform a task however it is
being blocked by KeyLo
My application has an alarm feature. At the alarm trigger, I call either
AttnDoSpecialEffect with the LED, Vibrate, and Sound events. I do this if
the PalmOS is greater than 4 (as indicated in the manual). If not, then I
call the Snd API to play an alarm sound.
Now, this has worked. But I've g
hi all,
In a function, I cannot use WinDrawLine to show the lines inside the 2
commands WinSetDrawWindow( ) as shown below, what is the problem and how can
I fix it?
WinGetWindowExtent(&scr_width, &scr_height);
gScrH = WinCreateOffscreenWindow(scr_width, scr_height, screenFormat, &err);
if (err
Just to keep the record straight, there is a definition of the "reserved"
range of unique id's in the PalmSource knowledge base.
Go to kb.palmsource.com and search on "unique". Go to the article titled:
"How are database unique IDs assigned when a record is added to a database?"
If your PC app se
I always don't know how to create custom font resource with constructor for
palm os, Who can give me a tutorial or some relational information?
Thanks!
Sean Yang
2003.11.25
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/suppo
When I run my app on a Tungsten T with Tealscript global recognition turned
on, my dialog boxes with autoshift don't show the Graffitti state indicator.
Note that autoshift works fine; it is just the indicator that doesn't
display. If I turn off Tealscript global recognition, everything works
corre
You need to step through your code and find out where
it is crashing. I don't believe there is any
compatibility problems with T|E and < 5.2
I originally wrote one of my Palm Apps for Vx (3.5)
and I didn't have to do anything to get it to run
correctly on Tungsten E.
FYI, I am using the nil even
On Mon, 24 Nov 2003, Thanh wrote:
> I also need it to pass paramters to the applications. Is this possible?
Yes. It works the same way as palmcall in that respect.
--
---
Brian Smith // avalon73 at arthurian dot nu // http://
"David R." <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Thanks for the response and suggestions! How big can I make a record
before
> I see a significant performance hit while opening, editing and writing
that
> a "super" record back to the palm?
If the 24K records are a read only
Have you resized your window?
Steve
> -Original Message-
> From: [EMAIL PROTECTED]
[mailto:bounce-palm-dev-
> [EMAIL PROTECTED] On Behalf Of Jake Wobbrock
> Sent: Monday, November 24, 2003 7:07 PM
> To: Palm Developer Forum
> Subject: Drawing on a Dynamic Input Area (reprise)
>
> I poste
Have you tried running this on the Tungsten E simulator or any other Palm OS
5.x simulator?
Mike
--- Ramiro <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Why my application, running on a Tungsten E freeze when I tap in the
> 'application launcher' icon???
> The same application runnig on Zire (m150) work
I mean "hardware timer registers" and not "hardware registers"...
"Etienne Fortin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi everyone,
> Some times ago I developped a Palm compatible application that made use of
> the hardware timers available on DragonBall CPU because I ne
Hi everyone,
Some times ago I developped a Palm compatible application that made use of
the hardware timers available on DragonBall CPU because I needed an high
resolution timer. Now I want to port that application to ARM compatible
devices and would like to know if, like the dragonball, there's ha
Hi,
Why my application, running on a Tungsten E freeze when I tap in the
'application launcher' icon???
The same application runnig on Zire (m150) work fine.
I'm using nilEvent to handle some operations.
Here is the event loop code:
static void EventLoop(void)
{
EventType event;
Err err;
do
Thanks for the response and suggestions! How big can I make a record before
I see a significant performance hit while opening, editing and writing that
a "super" record back to the palm?
- Original Message -
From: "Oliver" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTE
On Monday, November 24, 2003 12:36 PM "Thanh" writes:
>> I also need it to pass paramters to the applications. Is this possible?
Both a sub-launch and a custom notification launch allow you to pass
a pointer to a parameter structure memory block, which can be in
feature memory as well.
>> "Thanh
Hi,
I'm trying to print some text into a multiple line non-editable text
field with sometihing like this:
StrCopy(helpStr, "Message1 Help...\0AMessage2 Help...\0AMessage3
Help...\0AMessage4 Help...");
FldSetTextPtr(fieldHelpP, helpStr);
Unfortunately, it does not work. All the text is printed
You could always place your parameters in a file or preference record.
- Original Message -
From: "Thanh" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, November 24, 2003 12:36 PM
Subject: Re: palmcall + globals
> I also need
Thank you, it worked,
Jeremy
--
-
Jeremy Adler, MD, FAAP
Pocket-Doc.com
[EMAIL PROTECTED]
http://pocket-doc.com
"Jeremy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm having a strange problem with WinDrawChar. It works fine with other
> characters in stdFont, but with s
> Is there a recommended book that will walk me through the steps
> to set-up CW9.2 to use pilRC. I currently use Constructor. I am fairly
new
> all of this. so a book that starts with the basics would be great!
>
A book? I don't think you are giving yourself enough credit. It's really
prett
The pilRC is pretty well woven into the CW interface, so mostly, you
click a menu selection to start it.
I would suggest that you go through the tutorial found under:
C:\Program Files\Metrowerks\CodeWarrior\CodeWarrior Manuals\MW Tutorial
For Palm OS
That should get you familiar with all the st
I posted awhile back about drawing on a dynamic input area. I was wondering
if anyone knows whether or not this is possible? I've of course tried
drawing to the screen where the DIA is showing, and nothing comes up. I've
tried using EvtGraffitiEnable() to turn off Graffiti and still no drawing is
p
Is there a recommended book that will walk me through the steps
to set-up CW9.2 to use pilRC. I currently use Constructor. I am fairly new
all of this. so a book that starts with the basics would be great!
Michael Muriph
--
For information on using the Palm Developer Forums, or t
I am writing an application that has an field, which user can
edit arbitrarily. I want to show my special undo-button
only if there is an action to undo for the field. I want to
hide it otherwise.
How do I know whether there is an action to undo or not?
Unfortunately there's no reliable way without
Hello everyone. I'm creating a webpage that will have some palmcall tags
for my palm. (this is the only way that I know how to execute a palm
program and pass it parameters). However, the program that I call needs the
use of global variables which is not allowed as a system url launch. Is
there
I also need it to pass paramters to the applications. Is this possible?
Thanh
"Thanh Pham" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Is there any way of makinga palmcall froma clipping application load up
an
> application that uses global variables? Or is this a lost cause
Sounds like the Char vs WChar issue which has been discussed at length in
this group. Search the archives for
sign extended char
for the answer...
Dave
"Jeremy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm having a strange problem with WinDrawChar. It works fine with other
Hi All,
I have an application that allocates >4MB of memory on dynamic heap at
runtime. The app allocates several chunks of size 10K by using the
MemGluePtrNew() routine. But this function fails at some point when the
total allocated memory size reaches approx 4MB.
It appears that 4MB is max dyna
Try http://www.calliopeinc.com/palmprog2/tutorial/index.html
Dave
"Laurens" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> "Erica A Ramsey" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Hello,
> > I'm a newbie to PalmOS programming. I have downloaded cygwin wi
Ack. I stand corrected. I recently read some inaccurate information about
static declarations and it stuck in my head. Checking with K&R, yes,
function names are global. Thanks also for the link to Niel's excellent
explanation.
--Mike Y.
"John Marshall" <[EMAIL PROTECTED]> wrote in message
n
"Erica A Ramsey" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
> I'm a newbie to PalmOS programming. I have downloaded cygwin with
prc-tools
> and I have also installed the PalmOS 5.0 SDK. So, now how do I use the gnu
> and prc-tools to write palm applications?
May I sugges
Hi, I've been searching around and looking at Keymgr.h but I can't find the
specific constant for KeyDownEvent generated when a tungsten's slider close
or open. I will appreciate it if someone can point me to the right
direction. Thank you
___
Michael Yam <[EMAIL PROTECTED]> wrote:
> I think the C standard defaults to static function declarations.
Uh, no. But there is potential for confusion between the requirement
for a declaration, and a function's staticness.
// Translation unit a.c
int foo() { return 1; }
i
Thank you, Caspar,
but the idea does not fullfill my desire.
Because there are some, or many, exceptions
which seems to be hard to overcome.
Exceptions.
1. When tapping undo button in the command toolbar
The field can be edited not only by the buttons or the menu
items (Undo, Cut, Copy and Paste)
The PPC emus aren't as cool as the Palm's but eVC is better than Codewarrior
(and its free). Which is easier depends on your background, I was brought up
on Windows so development is easier for me there. However, I've chosen Palm
OS over CE for my personal device (Tapwave Zodiac :) ).
Also of note
If you mean from the PC side, no. From the hand held, post the hotsync
button message.
- Original Message -
From: "Gianni Morelli" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, November 24, 2003 3:40 AM
Subject: Hotsync Software.
> Hi All,
> is there
I think the C standard defaults to static function declarations. The
examples used by Palm explicitly declares them static which is redundant but
okay. For calls from other programs, you'll need to remove the static
declaration and declare the function extern in a header file.
--Mike Y.
http://w
At 08:33 AM 11/24/2003 -0500, you wrote:
It seems like Palm could have avoided lots of confusion by just naming
this function "MemCopy" instead of "MemMove". After all, everyone is quite
familiar with the difference between moving a file and copying one. It
also seems like they generally tried
Nope, if an application is large enough the handlers for different forms
could be in different source files and, in this case, could not be declared
as static as they generally must be "visible" to the AppHandleEvent
function.
From: "rguevara" <[EMAIL PROTECTED]>
Reply-To: "Palm Developer Foru
Nope. :)
Palm Developer Forum <[EMAIL PROTECTED]> wrote:
> A little question, is obligatory the declaration of static of the handlers functions?
> (like the static Boolean SomeFunctionHandler())
>
> --
> Open WebMail Project (http://openwebmail.org)
>
>
> --
> For information on using the
Tom Hoelscher wrote:
>Generally speaking, a MemMove does not actually *move*
>the data, but copies it to the destination, leaving the
>original data (the source) intact.
It seems like Palm could have avoided lots of confusion by just naming this function
"MemCopy" instead of "MemMove". After a
Aaron Ardiri wrote in message <[EMAIL PROTECTED]>...
>CREATION:
>// SONY --> HRBmpCreate
>HRWinCreateBitmapWindow
>// PALM HDD --> BmpCreate
>BmpCreateBitmapV3
>WinCreateBitmapWindow
>// PALM old --> BmpCreate
>WinCreateBitmapWind
A little question, is obligatory the declaration of static of the handlers functions?
(like the static Boolean SomeFunctionHandler())
--
Open WebMail Project (http://openwebmail.org)
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/
> I see what you mean, and it does make sense. But I don't understand some
> things, they did'nt noted in the palmos docs. Does BmpCreateV3 take bits as
> is and save the references to it in the header or does it create a full copy
> of the bits data. First case proves your words from another aspec
Aaron Ardiri wrote in message <[EMAIL PROTECTED]>...
>> I see (and saw) you're familiar with the topic. May I ask you a question?
>> If I create a version 3 bitmap with BmpCreateBitmapV3 and denesityDouble
>> constant, will the bits returning by BmpGetBits() have the same structure
as
>> the bits
I'm having a strange problem with WinDrawChar. It works fine with other
characters in stdFont, but with some of the less common characters such as
'µ' and '¼', I get the following error:
called SysFatalAlert with the message: "TextMgr.cpp,
Line 2723, Sign-extended char passed to TxtSetNextChar
> I see (and saw) you're familiar with the topic. May I ask you a question?
> If I create a version 3 bitmap with BmpCreateBitmapV3 and denesityDouble
> constant, will the bits returning by BmpGetBits() have the same structure as
> the bits returning for the primary bitmap, on which this was create
Hi, Aaron
>pre OS5 devices used to guarentee that the bits were directly referenced
>after the header - however, this changed on OS5 and hence the required
>use of BmpGetBits() to actually access the data.
>
I see (and saw) you're familiar with the topic. May I ask you a question?
If I create a
Hi,
Learn how to use a Makefile. Download a hello world project, look at the
code, the Makefile, the rcp file... Build it.
That's a good start.
E.
"Erica A Ramsey" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
> I'm a newbie to PalmOS programming. I have downloaded cygwin w
Hello
unfortunately, it seems to be almost the only way. You can simplify your
problem on the Palm side however: you could add some special info in your
PDB that indicates that the PDB comes from PC side and then split your
records top get a basic structure (if you're sure there cannot be more tha
In your undo function, call FldSetDirty (with false for second
argument).
Good luck,
Caspar
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Kazuyuki Hirooka
Sent: Monday, November 24, 2003 5:37 AM
To: Palm Developer Forum
Subject: RE: How do I know wheth
> > MemMove((UInt8 *)((UInt32)bmpP + (UInt32)headersize), myData, datasize);
>
> Use BmpGetBits(bmpP) instead of calculating the bits offset manually.
pre OS5 devices used to guarentee that the bits were directly referenced
after the header - however, this changed on OS5 and hence the required
u
> Hi All,
> is there a chance to launch an HotSync session through some API's (via
> software) rather than press the button on the cradle ?
add the hotsync key to the event queue with a keyDownEvent?
vchrCradle if memory serves me correctly :)
---
Aaron Ardiri
[EMAIL PROTECTED]
http://www.mobile
Hi!
> MemMove((UInt8 *)((UInt32)bmpP + (UInt32)headersize), myData, datasize);
Use BmpGetBits(bmpP) instead of calculating the bits offset manually.
Max
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
Hi All,
is there a chance to launch an HotSync session through some API's (via
software) rather than press the button on the cradle ?
TIA
Gianni
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
no... it's not easier. i wrote an application for ppc2002, worked fine. i
installed it on a ppc2003 device. the debugger spit out some pretty
"datatype misalignment" messages and half of the application didn't work. i
recompiled it with the ppc2003 sdk. no difference. it took me about one week
to g
I want to show words on palmos5 platform using my custom font.In order to
show quickly,I create a bitmap(Low-Density), copy data to it,and show it.
The following code run well on sony NR70J(Palmos4.1) emulator,but it don't
be run on sony PEG-TJ25(Palmos5.2 and High-Density).I find the PEG-Tj25
dev
68 matches
Mail list logo