StrNCopy() with string-ptr + offset and number of chars. But don't
forget to terminate the resulting string from StrNCopy() with a 0-char.
Henk
Susan wrote:
Hi,
Thank you very much for the reply.
But if I want to get the last three number or the mid numbers of the string,
in CASL,I can use
Hi everyone,
I have a Scratch Pad kind of a application written in CW which writes a
on-screen bitmap (user drawn) to a seperate resource file and later on read
from the file and display it.
My app works fine in OS 4 and under and it has been using for long without
any any issue.
But the app
Hi all
I'm working on a paint application in palm. To draw curved lines I get pen
move positions and link them with straight lines on a fly. But the lines are
not smooth as expected. Is there another stratergy to draw curved lines
smoothly (on a fly) ?
Is there a way to get more pen move events
On Wed, 2003-01-29 at 08:50, DNR wrote:
I'm working on a paint application in palm. To draw curved lines I get pen
move positions and link them with straight lines on a fly. But the lines are
not smooth as expected. Is there another stratergy to draw curved lines
smoothly (on a fly) ?
Is
I'm having some intermittent problems with VFS. Under
certain conditions (that I have not been able to
reproduce) I am receiving error code
vfsErrVolumeBadRef from calls to VFSFileOpen().
I obtain the VFS Volume number from a enumeration on
the card. I complete the enumeration and once the
The code you gave below for writing the bitmap makes several invalid
assumptions about the bitmap format. Read up more about OS5 in general and
PACE in particular to understand why what you're doing won't work. (PACE is
the 68k emulator layer responsible for running your 68k-based app on the
Hello,
I would like to save informations for my app on my palm.
I would like to use FileOpen, FileRead and FileWrite to do that, but it
looks like
the datas are not persistant when I quit my application.
When I restart my app, and do an FileOpen and FileRead, I don't read the
datas
I write in
Hello,
I use CW to make mya pplication, but I find that it is a little boring to
use it..
I explain:
In debug mode with my Plam, I must make the Shortcut..2 each time I want to
debug on the target ?
is it possible to force this mode at the first time... and only one time?
When I call the Help
Hi,
Is there a way to allocate memory on the storage heap ?
It works on the emulator but not on a real device perhaps due
to unlocked storage heap (on Simulator it's possible to lock/unlock it).
Thanks
Chris
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
Is there any limit to the number of forms a prc can have?
We're having odd reports of flakiness when there are more than about 35
forms in a project. The most we've seen is 71 forms, which seemed to work
OK on any Palm with more than 2 megs.
I haven't seen any documented limits.
George Henne
At 12:21 2003-1-29 +0100, you wrote:
Hi,
Is there a way to allocate memory on the storage heap ?
DmNewHandle
It works on the emulator but not on a real device perhaps due
to unlocked storage heap (on Simulator it's possible to lock/unlock it).
This will work on any device running Palm OS
At 11:24 2003-1-29 +0100, you wrote:
Hello,
I use CW to make mya pplication, but I find that it is a little boring to
use it..
I explain:
In debug mode with my Plam, I must make the Shortcut..2 each time I want to
debug on the target ?
is it possible to force this mode at the first time... and
Ok, i was talking about allocating memory using
MemChunkNew with storage heap ID. This works
on emulator but not on real device.
I need to have a pointer access.
- Original Message -
From: Ben Combee [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Wednesday, January
Ok, i was talking about allocating memory using
MemChunkNew with storage heap ID. This works
on emulator but not on real device.
I need to have a pointer access.
tell me a good reason why you need to allocate so much memory?
i have been involved in a number of 'high memory' demanding
NetLibSelect() should work in a real device, however sysFileDescStdIn is
not supported in the Palm Emulator.
Would you like to try to use macros and try again? For example,
netFDZero()
netFDSet()
netFDIsSet()
sysFileDescStdIn
You may also want to refer to the standard codes in the Palm OS
I'm porting a app to palmos.
- Original Message -
From: Aaron Ardiri [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Wednesday, January 29, 2003 1:40 PM
Subject: Re: Memory allocation
Ok, i was talking about allocating memory using
MemChunkNew with storage heap
I'm porting a app to palmos.
doesn't tell us much - does it?
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/
--
For information on using
I would like to save informations for my app on my palm.
I would like to use FileOpen, FileRead and FileWrite to do that,
but it
looks like
the datas are not persistant when I quit my application.
When I restart my app, and do an FileOpen and FileRead, I don't
read the
datas
I write
I'm currently porting ScummVM to palmos
and some games need lots of memory to work
(not really lot but more than the dynamic heap)
I don't want to change all the code accessing memory
pointers to DmNewHandle/DmWrite but it seems this
is not possible because storage heap is write protected.
-
I'm not sure but isn't it possible to malloc more than 64KB in storage
memory using the feature memory functions?
I'm currently developping a media player for palms (MP1,2,3/WMA audio and
later hopefully MPEG1-2-4 video and a JPEG-2000 image viewer (j2000.org))
and I need to malloc more than 150KB
I'm currently porting ScummVM to palmos
and some games need lots of memory to work
(not really lot but more than the dynamic heap)
I don't want to change all the code accessing memory
pointers to DmNewHandle/DmWrite but it seems this
is not possible because storage heap is write protected.
Hello,
Does anyone know if Palm plans to enable developpers to build native ARM
apps without having to call ARMlets from 68k code in the near future? It
would be a lot more easier to have the whole app built into native ARM code
than having to separate the most time-critical sections.
David
I'm not sure but isn't it possible to malloc more than 64KB in
storage memory using the feature memory functions?
I'm currently developping a media player for palms (MP1,2,3/WMA
audio and later hopefully MPEG1-2-4 video and a JPEG-2000 image
viewer (j2000.org)) and I need to malloc more
Does anyone know if Palm plans to enable developpers to build native
ARM apps without having to call ARMlets from 68k code in the near
future? It would be a lot more easier to have the whole app built
into native ARM code than having to separate the most time-critical
sections.
will
Subject: [off-topic] PEF-Talk mailing list?
From: Ron Nicholson [EMAIL PROTECTED]
Anyone here know what happened to the PEF-Talk mailing list?
(Palm OS Entrepreneurs Forum). Is it live? I haven't seen
anything in a couple weeks.
I e-mailed this question to Brian about a week ago and he
you *could* avoid the DmWrite procedure using MemSemaphoreReserve
and MemSemaphoreRelease API's - but, they stop working on OS5+
however, on these devices, there are more memory.
be very careful using these API's i am sure someone at palm is
cringing in their seats for me even mentioning
Thanks for these asnwers but :
Is it normal that my palm reset when I kill de debuger on my PC ?
is there a way to stop debugging properly wihtout reseting?
About the Help file, if I launch it manualy, I don't have the cursor problem
but
I can not press F1 an be directly moved on the right page,
Now you need to make extensive use of some details. What exactly do you
mean by 'a bid dodgy', and don't spare the details. Don't forget to include
any other details that might help describe your problem.
(if I figure out where to use the word 'details' more, I'll post it. ;-)
- Original
http://www.palmos.com/dev/tools/
- Original Message -
From: jorge gamas ortiz [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Tuesday, January 28, 2003 1:02 PM
Subject: replication development for the palm
Hi
I'm new develeping for the palm, but I have made
It's hard to imagine for me to have 99% of my code being native ARM.
How do you handle global data in your application?
I was thinking of porting to ARM various codecs I developped int he past (I
implemented fast H263 and mpeg-4 coders/decoders for the opencodex.com
contest a couple of years ago)
No I don't need write access, only read-only data will be stored there
(.text section).
Actually, at first, I wasn't aware of the feature memory capability of
allocating more than 64KB and had to chop the code in various small 64KB
modules, which was quite cumbersome.
David
Aaron Ardiri [EMAIL
It's hard to imagine for me to have 99% of my code being native ARM.
How do you handle global data in your application?
simple. dont use globals :) it all comes back to that design question.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO
One more point... If your editor window does not have focus, and you can't
see the cursor, just click on the title bar of the window, which will bring
back the focus without the risk of losing the position of the cursor.
--On Wednesday, January 29, 2003 11:24 AM +0100 Rodolphe Bréjaude
I read information about maintaining intervals of frames in a game constant
in the knowledge base months ago. But I can't find that article (about
game, animation, input timings) any more.
Could anyone help please?
--
For information on using the Palm Developer Forums, or to unsubscribe,
(Somewhat related) I observer on some licensee devices (such as Sony
Clie's) that if I turn down the brightness then I can see a (quite
annoying) flicker on the screen as well (at full power there is no
observable flicker). Especially noticeable on the T615C (at least my
T615C), but also
Hello:
I've recently added color support to my software (using
only basic OS 3.5 API functionality), and I'm getting
some users reporting strange screen drawing
problems on certain Sony devices, specifically
the T615C.
I've seen some postings here indicating that this
is a known hardware bug,
Nicholas Pleis wrote:
I'm having some intermittent problems with VFS.
Under certain conditions (that I have not been able to
reproduce) I am receiving error code
vfsErrVolumeBadRef from calls to VFSFileOpen().
...
Under certain circumstances (The closest I've come
to reproducing it is
Just a Question on VFS :
Is it possible to create file with VFS on the Palm itself, not in the SD
card?
Thanks
- Original Message -
From: Jeff Wheeler [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Wednesday, January 29, 2003 4:44 PM
Subject: RE: VFS Volume error
In article 111050@palm-dev-forum,
Aaron Ardiri [EMAIL PROTECTED] wrote:
Does anyone know if Palm plans to enable developpers to build native
ARM apps without having to call ARMlets from 68k code in the near
future? It would be a lot more easier to have the whole app built
into native
This is a roundabout answer, but Palm is offering an online training course
Expert Case Studies -- free until Feb 28, 2003. I went through it and
there's a function (source code included) that answers your question:
void SetFieldText(FieldType *pFld, Char *pSrcStr, Boolean fDrawNow)
Visit:
Aaron, are you sure of this? If I recall correctly, the NetFront
webbrowser that Sony ships with their OS 5 devices is completely ARM
native. I don't believe it had a 'code' resources. I don't think that
normal developers can develop ARM native applications, but apparently
the NetFront
Is there some particular reason for this?
Aaron Ardiri [EMAIL PROTECTED] wrote in message
news:111082@palm-dev-forum...
3rd party native wont happen.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile
Hello,
Does anyone know what's the easiest way to grab screenshots under OS5 (high
density)?
Is there a way to do this from the simulator (couldn't find it in the menu)?
thanks,
David
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
Is there some particular reason for this?
the core to OS5 is PACE.
developers program to API routines, and, they are handled by the
PACE layer on the ARM platform. building a native ARM application
would require knowledge of the native API locations (i dont see
header files available - do
Does anyone know what's the easiest way to grab screenshots under OS5
(high
density)? Is there a way to do this from the simulator (couldn't find it
in
the menu)?
[alt][prt scr]
standard windows(tm) shortcut :) if you did this on the emu, you'll even
get the skin *ooers* - something the menu
All,
I am getting the following error when I try to bring up a menu on my main
form.
- UIResource.c Line 231: Menu rsrc not found.
This particular menu worked fine before I upgraded to CW9. I changed my app
to an expanded app as well.
I verified that the menu is in fact in one of my
Thanks for the explanation.
(But what I don't understand is how licensees can build native apps then.
And if they can, what is the reason (be it technical or commercial) that
regular developpers can't).
David
Aaron Ardiri [EMAIL PROTECTED] wrote in message
news:111086@palm-dev-forum...
Is
Thanks for the explanation.
(But what I don't understand is how licensees can build native
apps then. And if they can, what is the reason (be it technical
or commercial) that regular developpers can't).
they can rebuild the rom - and, have full access to everything.
if you use the developer
Hi,
The SyncWriteRec Doc says..
You can overwrite an existing record by specifying its record
ID.
You can add a new record by supplying 0 as the record ID.
Note that the application on the handheld is responsible for
assigning new record IDs.
does it really mean there is no way to assign a
Susan wrote:
But if I want to get the last three number or the mid numbers of the string,
in CASL,I can use the right or mid function.
How can I accomplish this?
If you like using those functions, you should probably write
them yourself. eh, I'll get you started. left is just
functionizing
Sounds like splines or bezier curves...
Henk
DNR wrote:
Hi all
I'm working on a paint application in palm. To draw curved lines I get pen
move positions and link them with straight lines on a fly. But the lines are
not smooth as expected. Is there another stratergy to draw curved lines
Rodolphe Bréjaude wrote:
Is it possible to create file with VFS on the Palm itself,
not in the SD card?
No, not that I know of. VFS provides access to a file system on storage
cards, not what I call main memory.
Jeff
--
For information on using the Palm Developer Forums, or to
Hi,
Aaron Ardiri wrote:
be very careful using these API's i am sure someone at palm is
cringing in their seats for me even mentioning them here :) mis-use
of these API's (ie: wild pointers) can render a device useless.
I'm asking myself how it will work to render the device useless. Even
that
be very careful using these API's i am sure someone at palm is
cringing in their seats for me even mentioning them here :) mis-use
of these API's (ie: wild pointers) can render a device useless.
I'm asking myself how it will work to render the device useless. Even
that any hard reset
hm, I remember it is [prt scr] without [alt] also on my german
keyboard... Btw, the screenshot can then be found in the clipboard.
Henk
Aaron Ardiri wrote:
Does anyone know what's the easiest way to grab screenshots under OS5
[alt][prt scr]
--
Strange world, why didn't they put a small mask rom inside the flash-rom
devices just with a small flash-rom writing routine... But I guess you
could probably connect a killed device to SDS using the debug pins of
the dragonball?
Henk
Aaron Ardiri wrote:
mask rom devices are the only safe
Hi,
I'm just about to start writing an exchange library, and I have some
questions about getting started...
- I'm confused about the CW9 project settings for the library and app that
are built by the host transfer project. The project builds both a host
transfer library and host transfer test
I am hoping this is a newbie question in regards to the palm api.
two questions:
1)I am interested in having some words or phrases in controls
(grid,table,list,text,multiline) highlighted (either reverse highlight or
a specific color, color would be bst). Do I need to create a custom
control
1)I am interested in having some words or phrases in controls
(grid,table,list,text,multiline) highlighted (either reverse highlight or
a specific color, color would be bst). Do I need to create a custom
control to do this or is there something built-in for this already?
Have to do an owner
If I remember, alt prints the active window while the alt-less prt scr prints the
entire screen... or something like that
-Original Message-
From: Henk Jonas [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 10:09 AM
To: Palm Developer Forum
Subject: Re: simplest way to
Are there any RTF controls for the Palm? We don't want to have to write our
own if we don't have to.
Thanks
Todd
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
Thus spake David Janssens in news:111084@palm-dev-forum:
Hello,
Does anyone know what's the easiest way to grab screenshots under
OS5 (high density)?
From the device, there's at least Screenshot5 from LinkeSoft (no
affiliation other than being a satisfied customer). I'd guess there
are
On Wed, 29 Jan 2003, Matthew Henry wrote:
1)I am interested in having some words or phrases in controls
(grid,table,list,text,multiline) highlighted (either reverse highlight or
a specific color, color would be bst). Do I need to create a custom
control to do this or is there something
I have an application that can be used for 2 separate purposes depending on
how it is configured. Is there any way to have the app change its own icon
via code. I am trying to avoid having to compile one version, edit the
resource in Constructor, then compile another version for each release.
Lesse, digging through some of my code
on my form initialization function
TblSetCustomDrawProcedure(table, 0, CardList::DrawItem);
and later
// This is a static class function, but could just as easily be a global
function.
void CardList::DrawItem(VoidPtr table, Int row, Int column,
If I remember, alt prints the active window while the alt-less prt scr
prints the entire screen... or something like that
[ctrl]
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry
In codewarrior, create two separate targets. One includes the resource with
one icon. The other with the other icon.
David Webb [EMAIL PROTECTED] wrote in message
news:15@palm-dev-forum...
I have an application that can be used for 2 separate purposes depending
on
how it is configured.
Do a search for graphic gems, and you will find tons of routines for curve
smoothing. The palm may not be able to process them fast enough on the fly
though. What I ended up doing was just optimizing the hell out of the draw
capture routine which used a gadget which resutled in relatively smooth
does it really mean there is no way to assign a uniqueID to a record
within a conduit and send it to the Device then?
I don't think you can. You can, however, read the record index out of the
newly created record in case your conduit wanted to know what unique ID was
created on the HH side by
At 14:31 2003-1-29 +0100, you wrote:
Thanks for these asnwers but :
Is it normal that my palm reset when I kill de debuger on my PC ?
is there a way to stop debugging properly wihtout reseting?
Yes, it is normal. The debugger resets the device in order to get it to
leave debug mode.
At 18:09 2003-1-29 +0100, you wrote:
Hello,
Does anyone know what's the easiest way to grab screenshots under OS5 (high
density)?
Is there a way to do this from the simulator (couldn't find it in the menu)?
ScreenShotHack 5 is a new version of ScreenShotHack written to use Palm OS
5
At 18:24 2003-1-29 +0100, you wrote:
Thanks for the explanation.
(But what I don't understand is how licensees can build native apps then.
And if they can, what is the reason (be it technical or commercial) that
regular developpers can't).
The reasons are business related.
PalmSource doesn't
At 14:44 2003-1-29 -0500, you wrote:
I have an application that can be used for 2 separate purposes depending on
how it is configured. Is there any way to have the app change its own icon
via code. I am trying to avoid having to compile one version, edit the
resource in Constructor, then
The next big release of Palm OS will have the ability to support full
native ARM applications by any developer. There are tons of changes
happening in the lower levels of the OS; lots of things that
developers will be very excited about. Also new compilers, resource
tools, etc.
The
In my HandyShopper app, I was using 1bpp bitmaps to draw certain screen
elements. On various Clie devices that sometimes locked up the device. I
worked around the problem by defining a custom font with the images I needed
and using the custom font instead of the 1bpp bitmaps. A bit of a PITA
Thus spake Aaron Ardiri in news:17@palm-dev-forum:
If I remember, alt prints the active window while the alt-less
prt scr prints the entire screen... or something like that
[ctrl]
Either PrtScr or Ctrl-PrtScr will work for the entire screen.
Toby
--
NP: Live - Throwing Copper /
What does Power percentage parameter exactly means that retrieved from
SysBatteryInfo. Is it Remaining Power or Remaining Battery Capacity ?
Appreciate your help
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
I have an application that makes extensive use of the RS232 port. The
application runs just fine on Palm III's and Palm V's. For some reason,
RS232 communications become a bit dodgy when the application is run on a
Palm VII. I can find nothing in Palm's documentation to help me with this
Does i705 support the SDK for processing the mpak
packets for Mobitex network ? Currently I have an
account with IAS server, is it possible for me to
write apps to communicate with my server without
activating with Palm.NET ?
Thanks
DT
__
Do
At 13:23 2003-1-29 -0800, you wrote:
Does i705 support the SDK for processing the mpak
packets for Mobitex network ? Currently I have an
account with IAS server, is it possible for me to
write apps to communicate with my server without
activating with Palm.NET ?
No... there is no published
I have no problem doing that. Here's a snipet of code I use. notesPtr is a
global char*.
FormPtr frmP = FrmGetActiveForm();
UInt16 NotesLen;
case frmOpenEvent:
// Copy contents of notesPtr to the screen
NotesLen = StrLen(notesPtr);
FldSetMaxChars
I figured out what the problem is, just incase someone else runs in to it, I
will explain it.
When I opened my rsrc file and converted it to an rcp file (pilrc), it
trashed the relationship between my form and the actual menu bar. I just
re-associated it, and the problem went away.
Brad
Brad
Is there a definition of the values a hotsync ID can take? Presumably it can
have no latin characters on devices with a locale such as Japanese.
Usually strangeness is stripped from the hotsync ID to make the algorithm
more robust to user inaccuracies when they enter their ID (say in a
website).
David Janssens writes:
(But what I don't understand is how licensees can build native apps then.
And if they can, what is the reason (be it technical or commercial) that
regular developpers can't).
A licensee has source code to the ROMs, and thus can statically
link code to OS routines in that
For windows I prefer Capture, a free utility that saves into files instead
of onto the clipboard, no need to keep pasting stuff into a paintprogram.
http://www.analogx.com/contents/download/system/capture.htm
- Veronica Loell
--
For information on using the Palm Developer Forums, or to
If this question isn't appropriate for this forum I apologize in advance.
But, can somebody please point me to help for a very simple program I'm
trying to write for my Palm OS via Appforge for VB6.
Private Sub btnConvert_Click()
On Error GoTo ErrorHandler
txtOutput(0).Text = (txtInput(0).Text
In article 110716@palm-dev-forum, Ed Greenberg [EMAIL PROTECTED]
wrote:
--On Monday, January 27, 2003 1:58 AM -0600 Ben Combee
[EMAIL PROTECTED] wrote:
Yes, this is a purely promotional message, but I thought this would be
useful for some people.
If you're in the Atlanta or Chicago
In article 111051@palm-dev-forum, Stringer [EMAIL PROTECTED] wrote:
Subject: [off-topic] PEF-Talk mailing list?
From: Ron Nicholson [EMAIL PROTECTED]
Anyone here know what happened to the PEF-Talk mailing list?
(Palm OS Entrepreneurs Forum). Is it live? I haven't seen
anything in a couple
I'm interested in forming a Palm developers group that will meet from time
to time in Denver or Colorado Springs to share tips, network, etc. If
anyone is interested in talking with me about this please drop me an email:
[EMAIL PROTECTED]
David Beers
--
For information on using the Palm
Hi,
I have developed a web clipping application that was
running fine about 1 month ago but now when I again
tryied to run that applicaiton then my web clipping
applicaiton says Access denied 401
Actually my web clipping applicaiton is trying to
connect to my IIS Server that is resided on my
Hi,
I need help in developing a small application. Any
suggestions on how to do it, or pertinent functions
would be very useful. I need to have an app that
allows a user to make random marks using the whole
screen. I should then be able to retrieve the points
and write it somewhere temporarily
91 matches
Mail list logo