Thanks...I think I understand that part OK.
What I don't understand is how to store the 60 minutes (or other time) as a
numeric in the DB and table. I have a string saved right now and believe I
should have an int saved. This should also allow me to right justify the
displayed minutes.
Allan
if there are any parameters that I can pass along with the
launch code so that iw will sync over the IR port instead of the serial port.
Thanks.
Allan
[EMAIL PROTECTED]
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers
OK but I
am having a tough time with numerics.
Can someone fill me in on this within Palm OS or direct me to a good
discussion / article / overview?
Thanks,
Allan Lindsay
PS I was hoping for an easy way to carry the minutes field as an
integer.
--
For information on using the ACCESS
On the Simulators this is already built in.
Look for the Card1 directory in the directory where the Sim is located.
For the PalmSource 5.4 Garnet Sim the (simulated) card is called
4MRAMDISK.
For the Palm(One) simulators it is POSESlot1.
I found the Card1 directory within:
Thanks for the reply.
Since your target is a m125 use only the Emulator (POSE 3.5) with a
corresponding ROM. You can even download the ROM from your m125 and use
that. Instructions are in the POSE documentation.
My expectation is that an m125 will be too slow to actually be usable with
the
Definitely agree with Ton's observations. Our public library has both, and I've
looked at each (got the Professional Palm OS Programming on my desk as I
write).
I found it to be a helpful book ... you just don't need both.
--
For information on using the PalmSource Developer Forums, or to
I've been experiencing the same problem ... week or so? ... maybe since
mid-December?
Frustrating.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
I think the issue is that the groupNum parameter to the api calls is UInt8, and
the auto-generation of the #define by PilRC is over 1000 ... and the groupNum
ends up after the first PushButton.
I suppose a work-around is to turn off auto-generate of the #defines in the .h
file and use a small
I came across the file CompressionZlib file on my Tungsten E2 and wondered
whether it can be used by apps. Are there .h files (and other files?) to build
with? Sample code?
I did a search on CompressionZlib on this forum, and found two posts asking the
same how to use ... with no replies. But
alert comment=Palm newbie using CW9.3 /
I'm baffled about using a group of PushButtons in a Preferences dialog.
According to the Palm documentation, FrmSetControlGroupSelection should cause
the equivalent of mutually exclusive radio-buttons to happen. However, I
don't grasp what the second
I've been wrestling with the CPMLib calls, and more or less have it working. I
can start with a 4mb plain-text .pdb file comprised of about 1200 records,
encrypt it with an 8-byte key on the 5.4 sdk simulator, re-write it in place,
and export it to the desktop.
Then a separate .prc on the
I got the CW 9.3 update and proceeded as Ton suggested. Perhaps I did something
wrong, or left out a step, but I ended up with zilch/nada/zero/nyet
documentation.
The source code is there, with a .mcp to rebuild the library. There were
mentions of a .chm doc file and a tutorial, but I didn't
alert comment=newbie using CW9.3 /
I've got an editable field MyFindField that can be up to 80 characters long.
Also, there is a list with strings that can be used to replace the MyFindField.
These strings are typically shorter than the contents of MyFindField.
MyFindField:
alert comment=newbie using CW 9.2 /
I was looking around for sample code that would demonstrate how to use a
modeless dialog. All I found in the forum archives was a reference to
WinCreateWindow which has a parameter related to Boolean modal.
Is there sample code available that
Is it possible to have the equivalent of OnIdle background processing?
I would like to have the app start quickly and show a screen that showed info
that was cached from when it previously closed. In the backgound, a large
file would be unzipped into FeatureMemory (for example).
--
For
I was hitting problems but wasn't aware of them until app exit when I got
a warning message about incorrect chunk locking.
I've been avoiding MemHandles, and used FldInsert(FieldType*, char*, UInt16).
Looks like I've got to stare at the documentation some more :-)
I'm trying out your
This Palm newbie wasn't at all attempting to answer your question ... just
wanted to ask a related question.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
there is however, the ability to run true threads on palmos - the API is
system use-only, however, it is really supposed to be used for small, simple
tasks.
What is the actual API call? Undocumented? I looked around in the docs and
googled, but didn't find anything.
--
For information
Thanks I should use UInt16 for the type of the rec iterator.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
alert comment=newbie using CW9.3
The app I'm working on has a read-only 4mb .pdb comprised of about 1200
records. I used a tweaked version of the par utility to build the BigDb.pdb
and to give it the attribute of readonly (which is PRC_FLAGS_READONLY == 2).
When I did this, the
Thanks worked well (rather tedious to do each size and bit-depth by hand,
but such is most of development)
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
I'd appreciate a recommendation of websites to browse for app icons that can be
cloned from.
So far, I've been using the default CW icon. At some point, I should put
together a real one for the app I'm working on. This is for the App Launcher.
Ideally, it would have the various large and small
alert comment=newbie /
Is there a way to extract AppLauncher icons from Constructor to recreate the
original .bmp files, and use with PilRC?
I came across a sample project with an icon that is close enough to what I'm
looking for, but the project used Constructor rather than PilRC, and I'm
alert comment=newbie using CW9.3 /
I've been using ErrFatalDisplayIf calls, and wanted to check if I understood
the purpose of this call.
My impression had been that this call was ignored for Release builds. However,
it seems to be active during Release builds also.
I looked at the Palm docs,
alert comment=newbie using CW9.3 /
I'm developing an app that does a number of large memory allocations that it
uses during the life of the app. I've been using ErrFatalDisplayIf during
development, but my impression is that this is inappropriate for Release.
Is there a general guideline on
alert comment=newbie using CW9.3 /
I've got a 4mb .pdb file comprised of about 31,100+ records. Is the following
more or less the proper way to iterate thru them for read-only access?
Int32 dbType = 'DATA';
DmOpenRef dbRef = DmOpenDatabaseByTypeCreator(dbType,
FYI if someone is faced with doing something similar:
I tweaked par.c, renamed as TextLines2Pdb.c, and put together the Vc6 and VC7.1
project files. As David Williams describes it, par is a Swiss Army Knife
whereas TextLines2Pdb has the narrow purpose that I was looking for which par
doesn't
alert comment=palm and par newbie /
I've got a series of text files that I want to convert to .pdb's. They range
from a:
* 31 line file of about 4.2kb
* 1533 line file of about 190kb
* 31,000+ line file of about 4 mb
I tried par, but ended up with 1 record. This is the command line I used
Ton,
Thanks for the suggestion ... making progress, but still a ways to go.
I converted the unix program to Windows vc7.1. Vc7.1 doesn't have getopt(), so
I made my best guess at hard-wiring the options to:
- binary_opt = false;
- compress_opt = false;
- no_check_opt = true;
- verbose_opt =
Thanks for the suggestion. I'd been wondering if that might be a feasible
approach.
I heard from David Williams (developer of par ... nice surprise since ver 0.5.1
is from 2001) and got some info ... I was able to modify par.c to a custom
version to append a record per line from the text file,
alert comment=newbie /
The app I'm working on is primarily to do searches thru a good sized file
(about 4 meg comprised of 30,000 lines). I'd like to be able to implement the
equivalent of a drop-down combo-box most-recently-used m.r.u. capability.
To illustrate, the user might have done
Here is a stub of newbie code to handle this if the taps come within 50 ticks
on the same selection (and there are no doubt other/better ways to handle this)
static Boolean MainFormHandleEvent(EventType* pEvent)
{
UInt32 prevTick = 0;
case lstSelectEvent:
..Int16 curIndex =
Something I hadn't realized ... on the 3.5 POSE, create a subdirectory under
the Emulator directory called Autoload and put HostFS_Emulator.prc in it ...
for resources to be automatically loaded when POSE starts up.
[PalmInstallDir]\Emulator\Emulator.exe
alert comment=newbie /
I wasn't able to get the 5.4 sdk simulator to work with VFS, and ended up using
the Zire21 simulator (which is kinda odd because I don't think it has an SD
card slot). The simulator for the Tungsten T might be a better choice. I wasn't
able to figure out if they were
I'd appreciate a link to the Palm Garnet library for AES algorithms
that you mention.
BTW, if you don't need industrial strength certified-unbreakable
encryption, the SCOP crypto libary is much simpler, smaller, and
faster.
http://www.geocities.com/smaltchev/scop.html
I have found one
alert comment=newbie
The following code works fine with the 5.4 sdk simulator and the Zire21
Simulator, but crashes when using the 3.5 POSE emulator. The stripped down
code is just trying to scroll the MyField down by one line when the down-arrow
is tapped on the ScrollBar.
static void
Some more info:
* Code fails on actual m125 device (which has the 4.x o/s that is the target
for the actual app).
The FldScrollField call works ok if it is reached as part of MainFormInit, but
fails if it is reached from the handler. (The following code is mostly from the
skeleton generated
I've got a form that mostly consists of a ListType next to a multi-line
FieldType. I want to be able to hide the ListType and expand the width of the
FieldType to the full width.
To change the height, I've used FldGetBounds, adjusted the rect.extent.y and
then called FldSetBounds. This works
It's part of the standard C library,
I went ahead and used the standard C library. The debug .prc for a small proof
of concept program went from 43kb to 46kb.
NBD (no big deal). It doesn't seem worth it to wrestle with the MemSet (and
other?) oddities and lack of certain functions like
UInt32 baseOffset = 400;
UInt32 testOffset = baseOffset + (3 * 4); // 3988928
testOffset = baseOffset + ((UInt32)3 * (UInt32)4); // 412
testOffset = baseOffset + (3L * 4L); // 412
I'm using CW9.3 and seeing unexpected results when adding constants.
I'm using a 4.7 mb FeatureMemory buffer to hold the contents of a large file.
The intent is that this buffer will be preserved, so the slow file reading
won't be necessary each time the app is started.
I'd appreciate guidance on the appropriate way to do this. Now I'm using a
series of FtrSet
I'm using IE7 on a WinXp-SP2 computer.
I'm having to login each and every time I open a browser window for this
ListManager. Am I doing something wrong? Is there a way to have a cookie or
Favorites URL so this is avoided?
Thanks.
--
For information on using the PalmSource Developer Forums, or
Thanks ... I suspected I was proceeding incorrectly.
On the emulator, the first run after a reset takes about 1500 ms to read the
file, and then StrStr finds 57 matches of a test-string. On subsequent runs,
the read time is 0 ms and 57 matches are also found ... so it seems to be
working.
--
alert comment=newbie
I want to use a scroll bar to view the contents of a multi-line Field. It may
hold hundreds of lines.
My understanding is that this isn't automatic ... that you have to handle the
scroll-bar being dragged up and down, and all the other actions the end-user
can do
alert comment=newbie
Is there an alternative Palm routine for strcspn? I wasn't able to find it (or
strspn).
Returns the index of the first occurrence of a character in a string that
belongs to a set of characters.
/alert
--
For information on using the PalmSource Developer Forums, or to
I'm reading in the file in chunks of 10,000 bytes and merging the contents
together in a 4 meg feature memory buffer. There was a significant diffence in
time required between 1,000 and 10,000, but not between 10,000 and 30,000, so I
speculate that doing the read in one call wouldn't be that
etc.
strcspn was conspicuously missing, so I was checking.
- Original Message -
From: Jay Ts [EMAIL PROTECTED]
To: Palm Developer Forum palm-dev-forum@news.palmos.com
Sent: Wednesday, November 08, 2006 11:12 AM
Subject: Re: Alternative for strcspn?
Lynn Allan wrote
alert comment=newbie
I imagine this question has been asked before, but there are so many threads
related to comparisons of PPC and Palm that I didn't find what I was looking
for.
I've developed freeware apps for the Windows desktop and PPC that I've started
to convert to the Palm device. I
alert comment=newbie
I'm converting an app from Windows-Desktop and PPC that involves
reading and then repeated searches of a 4 meg text file that consists
of 30,000+ lines. (e.g. show the lines that have the word test in
them, then hello, etc.)
This newbie is very fuzzy on the best way to
alert comment=newbie
I want to do some timing tests on how long it takes to read and search
a large text file (4.7+ megs comprised of 30,000+ lines).
I'm using CW 9.3 on a WinXp-Sp2 computer, and have an older Palm m125
device. I have the 3.5 POSE, 5.4 Garnet Simulator, and 6.1 Cobalt
Thanks for the reply.
Since your target is a m125 use only the Emulator (POSE 3.5) with a
corresponding ROM. You can even download the ROM from your m125 and
use that. Instructions are in the POSE documentation.
P.S. My guess is that the speed on a real m125 is not going to be
very fantastic
alert comment=newbie
did you reset the emulator after instaling HostFS?
I hadn't done that (forehead meet palm :-) ...
and now it seems to be starting to work. I trying to modify a
program VfsTest from Lonnon Foster's book, Pro Palm OS Programming.
This test program indicates it found
/Palm/test.txt
/Palm/Launcher/test.txt)
Worked fine ... Thanks! ... shudda thought of that (duh)
(BTW ... from this, my impression is that the Palm filesystem doesn't
have a notion of relative paths and isn't case-sensitive ... and
accepts /Palm/ and /PALM/ ?)
I'm still fuzzy how to get
On the Simulators this is already built in.
Look for the Card1 directory in the directory where the Sim is located.
For the PalmSource 5.4 Garnet Sim the (simulated) card is called
4MRAMDISK.
For the Palm(One) simulators it is POSESlot1.
I found the Card1 directory within:
-Allan
From: Rebecca Todd
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 01, 2006
11:36 PM
To: [EMAIL PROTECTED]
Subject: Re: Image corruption
using Photo Library
Hi Allan,
Just wondering if you could post your code for the capture procedure, i've
written some to try and capture via
using the
display code.
Has anybody else run into this, or have any ideas? They'd be greatly
appreciated.
-Allan
Here is the code I use:
To Save:
Err PhotoWriteCallback(void *bufferP, UInt32 *size, void *userDataP)
{
PhotoCaptureInfo *captureInfoP = (PhotoCaptureInfo *) userDataP;
UInt32
sysTrapDmSyncDatabase
You need to include the 650 headers in your project, the older 600
headers don't have this defined.
Allan
Guilherme C. Hazan wrote:
Hi,
Can someone tell me the entry number of the function DmSyncDatabase so i
can call it directly from ARM using PalmOS5RE?
thanks
that I
can only change the background color if they are editable (from the UIColors
documentation). Anyone done this before or have any insight?
Thanks much
-Allan
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support
the hidden NVFS volume!
Using a treo650 - the confirmation now shows for me iff I save to VFS.
I can save to stream with no confirmation - and can't save to memory.
Other than using medium quality - my code is much the same as that
originally quoted
On Wed, 25 Jan 2006 07:10:20 -, Allan
Eric,
When I run this code, I don't get the standard single photo capture
dialog. I'm running on a Zire72 with version 2 of the Photo Library. Is
there something else needed to set this up?
Thanks
-Allan
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
interested in
reproducing the camera capture feature from the Zire 72 Contacts application
almost exactly.
Thanks.
-Allan
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
OS titles (due to being relatively
new to the platform) but can say that it compares very favourably to many other
programming books that I have read. I have been able to extract the information that I
have required without difficulty.
I hope this helps...
Allan D. McLeod
-Original Message
Is this post visible to anyone? I am not getting any replies. Hope the
question is not too stupid...
Allan Burgess [EMAIL PROTECTED] wrote in message
news:79390@palm-dev-forum...
Hi,
I am trying to set a table to access data. I can point a field to a point
in
a record, but I cannot do
Hi,
I am trying to set a table to access data. I can point a field to a point in
a record, but I cannot do the same to a table. The documentation indicates
that I should be able to use the same type of procedure to point the table
element to a record field in my database. I have tried to
of the plugin that had worked for
me in the past and seems to be working fine.
Thanks again.
Allan
On Wed, 25 Jul 2001 22:55:37 -0500, Ben Combee [EMAIL PROTECTED]
wrote:
Allan Bressler [EMAIL PROTECTED] wrote in message
news:57793@palm-dev-forum...
Sorry I wasn't more specific.
I copied the dll's
solutions.
Any ideas???
Thanks.
Allan
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
in the dropdown list.
I'm using CW for Palm OS 6 with SDK 3.5 and ide 4.0.1
Thanks
Allan Bressler [EMAIL PROTECTED] wrote in message
news:57748@palm-dev-forum...
Hi,
I've downloaded the VSS plugin to the Codewarrior IDE, followed the
directions and I do not have the VSS option in the IDE.
I did
if there are any parameters that I can pass along with the launch
code so that iw will sync over the IR port instead of the serial port.
Thanks.
Allan
[EMAIL PROTECTED]
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support
Thanks...I think I understand that part OK.
What I don't understand is how to store the "60" minutes (or other time) as a
numeric in the DB and table. I have a string saved right now and believe I
should have an int saved. This should also allow me to right justify the
displayed minut
to work OK but I
am having a tough time with numerics.
Can someone fill me in on this within Palm OS or direct me to a good
discussion / article / overview?
Thanks,
Allan Lindsay
PS I was hoping for an easy way to carry the minutes field as an
integer.
--
For information on using the Palm
Hello all,
I have the following function in a virtual driver:
static Err responseNotification(SysNotifyParamType *notifyParamsP)
{
Err err;
static UInt16 count = 0;
notificationBufferP data =
(notificationBufferP)(notifyParamsP-notifyDetailsP);
if
See additional note below
Craig Allan Jeffree wrote:
Hello all,
I have the following function in a virtual driver:
static Err responseNotification(SysNotifyParamType *notifyParamsP)
{
Err err;
static UInt16 count = 0;
notificationBufferP data
Hello all,
I'm trying to use the ErrNonFatalDisplayIf() function in a
virtual
driver. The documentation claims that the message box displayed will
contain a "continue" button but it only has a "reset" button. Not much
use as a NON-fatal message if you are forced to reset the palm. Does
Hello all,
I'm writing a virtual driver for the palm.
I would like to find a way to capture the hotsync signal from the
driver. The only way I have been able to get this notification is
through the application launch available through the preferences -
buttons menu. This is not able to
cause it to require a
restart by the user.
Regards,
Peter Easton
Pam Developer Support
Craig Allan Jeffree wrote:
Hello all,
I'm writing a virtual driver for the palm.
I would like to find a way to capture the hotsync signal from the
driver. The only way I have been able to g
Hello all,
I've been writing an app for the palm which uses serial
communications. I wrote all the serial comms as a seperate module and
got it working then wrote the actual applications to use it. The
application was able to use the code for a little while but then I
started to get
Neil Rhodes wrote:
[ Summary of the problem so far: Set a wakeup handler and then when it goes
off try SerReceiveCheck or SrmReceiveWindowOpen, and it returns 0, meaning
no data available]
I think I may have an answer.
If you post a key with EvtEnqueueKey, it'll cause any pending
describe in the reply to Neil Rhodes. The SrmReceiveWindowOpen
call works but then there is no data
available!!! Have you found any more help?
Christian Traber
"Craig Allan Jeffree" [EMAIL PROTECTED] schrieb im Newsbeitrag
news:15626@palm-dev-forum...
Hello all,
I'm wr
Craig Allan Jeffree wrote:
Hello everyone,
I'm trying to compile some virtual driver code but I'm having
trouble getting it to build the prc. After I compile the c file which
contains a bunch of functions I link the code telling the linker the
name of my entry point function
Hello everyone,
I'm trying to compile some virtual driver code but I'm having
trouble getting it to build the prc. After I compile the c file which
contains a bunch of functions I link the code telling the linker the
name of my entry point function. This function is the first function
80 matches
Mail list logo