Hi All,
Can any one please tell me, how to implement 5 way navigation in a Palm OS
application.It would be of great help if any one can provide me following
details,
1.Where can i get the Palm OS SDK documentation
2.And the required header files and libraries if any
3.Any sites containing sample,
Sorry about the subject... couldn't think of a shorter one.
I run my application, stretch the display, hide the grafitti area, slide the
display closed again, open the display again, and the grafitti area is back.
This does not happen with the built-in applications. What am I missing?
--
For
First, my makefile relys on GNU make for some special features including
automatic source listing. Secondly, it also relies upon common
understanding of how to compile various objects. For example, compiling
.c->.o, Make understands that it can use $(CC) $(CFLAGS) -o $(INPUTFILE).o
$(INPUTFILE).
You have to hide the graffiti area yourself... If the slider is pulled
down you'll get keyDownEvent with eventP->data.keyDown.chr == 1285.
(Of course, hiding the graffiti area when the slider is pulled up is
handled by the OS).
Good luck,
Caspar
-Original Message-
From: [EMAIL PROTECTED
When I (re)test my app on a T3 simulator, the T3 simulator
hangs up when my app exits.
Then I run the app again in debug mode, the error occurs
at SysAppExit (in StartupCode.c, not my app).
Is there hint to debug this problem of why the error occurs
in the T3 simulator _only_?
The problem does n
Hi,
I'm looking for a way to start my Application after the installation
without intervention of the user. Is there an Notification, a Launchcode
or someting like this? I have looked in the PalmOS Reference but haven't
found anything.
Best regards
Stefan Stolz
---
mailto:[EMAIL PROTECTED]
ht
I have a similar product (uses a static array vs. application resource, but
I'll be adding resource support now that you've mentioned it) in the works
which will be released under it's own dual-license. Free for non-commercial
use, licence required otherwise. The DIA support, however, is only a m
Gah. I was really, really hoping there'd be some way to have it
automatically return to the state it was in previousally - it quite
surprised me when it didn't do this automatically.
- Matthew Bevan
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
The error in debug-mode simulator is:
"systemmgr.c Line 3996, Minor error while existing app: un-freed chunk at
0x00F044D8, size 40 (ownerID 2)
Where should I pay attention to?
Thanks
horace
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.pal
There's a chunk of memory that you allocated, most likely with
MemPtrNew, that hasn't been freed. So look at all your allocations and
see if there's a 'matching free'.
Good luck,
Caspar
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Horace
Ho
Sent: Thur
That, I already checked as there are 'only' 4 MemPtrNew's in my app.
Besides, nothing I allocate is the size (40) reported in the debug message.
Thanks
horace
"Caspar Heiden, vd" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
There's a chunk of memory that you allocated, most likely
I'm studying POL programming under CW9. Up to now, there are always warning
messages as below:
Warning : inline function call 'POL::CForm::CForm()' not inlined
StarterApp.cpp line 103
Warning : inline function call 'POL::CControl::CControl()' not inlined
StarterApp.cpp line 103
Warning : inline fu
hello
something similar was already in thread 'Is that a Palm OS 3.5 bug???'.
Unfortunately there were two conditions mentioned and my case doesn't
apply for any of them
I have menu bar resource with 4 menus, with actually only 3 of them are
visible on the screen because of width of their texts
Hi All,
I wanna show a Alert with custom message, but FrmCustomAlert isnt work.
Actually FrmCustomAlert show the Alert but dont change any message.
FrmCustomAlert(4000,"test", NULL, NULL);
thanks
Wendel B Silva
--
WebMai
> I have a similar product (uses a static array vs. application resource,
> but I'll be adding resource support now that you've mentioned it) in the
> works which will be released under it's own dual-license. Free for
> non-commercial use, licence required otherwise.
> The DIA support, however,
When I remove the FrmDeleteForm, I receive bus errors any other
suggestions?
-
These leaks are due to having "save behind" set on a form that isn't
properly closed. Are you calling FrmCloseAllForms() in your
ApplicationStop routine? The other memory leaks may be related. Oddly,
Oh, and I am calling FrmCloseAllFrms() on appStop.
---
At 02:21 PM 4/21/2004, Ornstein, Adam wrote:
>Hi, I have a form with a bitmap on it as a splash screen (all specified in
>the resource file). I thought that this wouldn't be a problem, that the
>system should automatically take car
At 10:30 PM -0700 4/21/04, Ben Combee wrote:
BTW, I think this preference is mainly intended for supporting
landscape mode in future versions of the OS -- this setting would
determine the side of the screen to expand the input area into. If
you want a handedness preference that's used by a num
Wendel wrote:
I wanna show a Alert with custom message, but FrmCustomAlert isnt work.
Actually FrmCustomAlert show the Alert but dont change any message.
FrmCustomAlert(4000,"test", NULL, NULL);
FrmCustomAlert() parameters 2, 3 & 4 replace strings ^1, ^2 and ^3 in
the alert message. Does your ale
I am trying to determing if double-density mode is enabled. Before calling
WinScreenGetAttribute, I make sure I'm running OS 4.0 or later. However,
using the emulator (with a 4.2 rom) it crashes when WinScreenGetAttribute is
called with a SysReserved40Trap1 error ("This routine does not exist in
Hi
I'm not an expert, but I'll try to help you, if I can. I work with
CodeWarrior 8 and Constructor 1.6 as resources editor. Did you put "^1" in
the Resources Editor you use? In my case, it's the way to do that. You can
add "^2" and "^3" if you have more arguments (text) to pass to the Alert
re
turn of inlining and no more annoying warnings
"DongDong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm studying POL programming under CW9. Up to now, there are always
warning
> messages as below:
>
> Warning : inline function call 'POL::CForm::CForm()' not inlined
> StarterApp
Ben Combee a écrit :
> [snip]
> If you want a handedness
> preference that's used by a number of apps now, look for "Lefty" on
> PalmGear, a freeware app that sets a pref and has support from several
> applications.
>
> -- Ben Combee, senior DTS engineer, PalmSource, Inc.
> Read "Combee on Pa
Lazar, just a lot of inlining warning only, no any other warnings.
Any way to remove such warnings as well?
Thanks.
"Lazar Otasevic" <[EMAIL PROTECTED]> ¦b¶l¥ó news:[EMAIL PROTECTED] ¤¤¼¶¼g
...
> turn of inlining and no more annoying warnings
>
> "DongDong" <[EMAIL PROTECTED]> wrote in message
> n
At 10:10 AM -0400 4/22/04, Luc Le Blanc wrote:
Is there a quick trick to move scrollbars to the left or must I
explicitely fiddle with FrmSetObjectBounds everywhere?
There is a public-domain code module that makes things like swapping
a scrollbar and its content into a one-liner. It's very tiny
I recall having trouble with this in the past too. I recall that the
best solution I found, at the time, was to pass not a null string "",
but a blank string " ". Bob.
Ariel Ayala wrote:
Hi
I'm not an expert, but I'll try to help you, if I can. I work with
CodeWarrior 8 and Constructor 1.6
You'll have to resize your form to take up the extent of the display when
the DIA is minimized. After this, it should be within the clipping bounds
and you shouldn't have a problem.
--
Tim Kostka
http://www.nuprograms.com
"LionScribe" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
You're checking for the wrong thing. WinScreenGetAttribute is "Implemented
only if the High-Density Display Feature Set is present." So check for that
instead of OS 4.0+. For OS 5.0+, the HDD set is always present.
err = FtrGet(sysFtrCreator,
sysFtrNumWinVersion, &version);
Upon return, if ver
How do you skip a line in a field object?
Obviously it needs to be embedded into the text "\r" does not work...
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
i told you - TURN off the INLINING - it is an option in CW you will see
options are like:
auto inline
dont inline
etc ...
"DongDong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Lazar, just a lot of inlining warning only, no any other warnings.
> Any way to remove such war
I'm using the Treo Simulator (OS 5.2.1). I select a field's contents and
then select a graphic button on my form. The button handler attempts to get
the current focus object to grab the field content but FrmGetFocus returns
nofocus instead of the field object index. The same app works fine on
vanil
In the Compatibility Guide, it says:
"You can verify that this feature set is implemented by checking the version
of the Window Manager. If the Window Manager version is 4 or greater, the
High-Density Display feature set is supported. To check the version of the
Window Manager, use this call:
err
> Obviously it needs to be embedded into the text "\r" does not work...
May be "\n" ?
Pascal
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
Lol, yeah that worked I swear I tried it b4.
> Obviously it needs to be embedded into the text "\r" does not work...
May be "\n" ?
Pascal
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
--
For information o
Maybe he wants inlining enabled (e.g., for other function) and doesn't
understand why this one isn't being inlined.
This can happen if you declare a function inline and then it can't be
inlined, possibly because inlining is turned off, or the function is too
complicated to inline, or you are using
At 07:35 AM 4/22/2004, you wrote:
It's my guess that none of the emulator rom's support the HDD set.
The POSE for the Tungsten W and its included ROM support High
Density. It's available from http://pluggedin.palmone.com/
-- Ben Combee, senior DTS engineer, PalmSource, Inc.
Read "Combee on Pa
At 04:30 AM 4/22/2004, you wrote:
I'm studying POL programming under CW9. Up to now, there are always warning
messages as below:
Warning : inline function call 'POL::CForm::CForm()' not inlined
StarterApp.cpp line 103
This warning can be safely ignored and disabled in the C/C++ Warnings
panel. It
So will the error message only come up on POSE and not real 4.x units? If
so, I can sense POSE and not do the call. Basically, I'm trying to find out
if they ARE in double-density mode, not only if it is supported.
Thanks.
"Ben Combee" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I am using Pilrc 3.0 and trying to use a hires application icon of size
64x44. When the application is installed on either the simulator or a
Tungsten E the icon is shifted slightly (maybe about 10 pixels) to the right
of it's normal position above the application name. If I crop it down to
44x44 t
"Joseph J. Strout" a écrit :
> [snip]
>
> I think a typical reaction to Lefty is to just use LeftySwapByID to
> swap a scrollbar and its list or field, but it's well worth examining
> other places in your app to look for places where the left-handed
> ergonomics are poor.
Like inverting checkboxe
Hi,
The only OS4 device i know to have Hi-density is the Tungsten|W
and this test works fine on emulator/simulator.
What code are you using exactly ?
Chris
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
I've had crashing when I used a straight bitmap instead of a bitmpa
family id.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
My original post shows the code I am using.
Basically, I need to know if the device the app is running on is in
double-density mode. It works when running on the Simulator (i.e.,
correctly notes when it is, or is not, in dd mode). However, on the
emulator using, for example, platform41_m505_Dbg_
Ok,
Here is an example :
// err returned if the feature doesn't exist, but it exist on all device
err = FtrGet(sysFtrCreator, sysFtrNumWinVersion, &version);
// so you need to test the version, (not the version of the OS but the
Window Manager)
if (version >= 4) {
WinScreenGetAttribute(win
At 11:35 AM -0400 4/22/04, Luc Le Blanc wrote:
> I think a typical reaction to Lefty is to just use LeftySwapByID to
swap a scrollbar and its list or field, but it's well worth examining
other places in your app to look for places where the left-handed
ergonomics are poor.
Like inverting check
Perfect, thanks. I was checking the ROM rather than the Window Manager
version.
"Chris Apers" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Ok,
>
> Here is an example :
>
> // err returned if the feature doesn't exist, but it exist on all device
> err = FtrGet(sysFtrCreator, sysFt
I'm added support for double-density graphics to our app (using bitmap
families). Wow! It was so easy. I modified about 10 of the bitmaps and
it was working wonderfully.
However, when I added another bitmap, the app crashed with "...called
SysFatalAlert with the message: "MemoryMgr.c, Line: 436
How are you adding bitmaps ?
Did you try a step by step debugging to know where this error occured ?
- Original Message -
From: "Steve A" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, April 22, 2004 5:59 PM
Subject: MemoryMgr
"Praveen.P.L" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi All,
>
> Can any one please tell me, how to implement 5 way navigation in a Palm OS
> application.It would be of great help if any one can provide me following
> details,
> 1.Where can i get the Palm OS SDK documentation
I think I better just turn off this warning, instead of spending so much
time to find exactly why this warning occurs.
Thank you for advice.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
I am adding bitmaps using the Constructor (pasting in the image).
It happens when I call FrmDrawForm() with any form except my main form (even
forms with minimal bitmaps, and none of the app uses the recently added
bitmap it was simply added as a resource).
My hunch is that I've exceeded some bou
The inline keyword is only a hint to the compiler, and the compiler can choose to
ignore it (See 7.1.2 of the C++ standard).
Your options are:
1. Turn it off in the project setting as previously posted here.
2. Remove the inline keyword (it obviously isn't getting inlined anyway)
3. Use #pragma wa
I use a tungsten C (which means a res. of 320x320) and I believe that
means that I must use Double-Density bitmaps. My bitmap is 44x44, and the
appIcon family is set to 22x22. It will display the appIcon, except that
it is aligned to the left, rather than centered over the application name.
My implementation is also cleanroom - we had major problems using the PDF
documentation by itself (the DIA resize down then automatically resizing
back problem).
Our slogan is "Re-inventing the wheel, every time" for a good reason. ;)
- Matthew Bevan
--
For information on using the P
As I stressed, I am trying to draw on the actual Dynamic Area when it is NOT
minimized.
LionScribe
"Tim Kostka" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> You'll have to resize your form to take up the extent of the display when
> the DIA is minimized. After this, it should be
At 08:34 AM 4/22/2004, you wrote:
I am using Pilrc 3.0 and trying to use a hires application icon of size
64x44. When the application is installed on either the simulator or a
Tungsten E the icon is shifted slightly (maybe about 10 pixels) to the right
of it's normal position above the application
At 08:31 AM 4/22/2004, you wrote:
So will the error message only come up on POSE and not real 4.x units? If
so, I can sense POSE and not do the call. Basically, I'm trying to find out
if they ARE in double-density mode, not only if it is supported.
First, determine is double-density mode is suppo
At 09:20 AM 4/22/2004, Hays, Jonathan \(GE Infrastructure\) wrote:
The inline keyword is only a hint to the compiler, and the compiler can
choose to ignore it (See 7.1.2 of the C++ standard).
Your options are:
1. Turn it off in the project setting as previously posted here.
2. Remove the inline ke
At 09:41 AM 4/22/2004, you wrote:
I use a tungsten C (which means a res. of 320x320) and I believe that
means that I must use Double-Density bitmaps. My bitmap is 44x44, and the
appIcon family is set to 22x22. It will display the appIcon, except that
it is aligned to the left, rather than centered
Thanks for the create help i now found a way, to solve this.
"Hays, Jonathan (GE Infrastructure)" <[EMAIL PROTECTED]> schrieb im
Newsbeitrag news:[EMAIL PROTECTED]
>You cannot store handle or memory pointer on app pref
>because the system free all handles/memory blocks when you exit your app
>you
I'm writing an application for medical use using the new beta PilRC 3.2 and
PRC-TOOLS make. In it I need to display tables that display a fair bit of
text, much more than can be squeezed in using the standard font. On the
PocketPC that's easy enough, I just set the font to a smaller size. But on
th
here is the list of errors ...
(.text+0x292):CPP_NAJ.cpp: undefined reference to `start(void)'
/usr/m68k-palmos/lib/crt0.o(.text+0x50): In function `start':
crt0.c:64: relocation truncated to fit: DISP16 __do_bhook
/usr/m68k-palmos/lib/crt0.o(.text+0x5a):crt0.c:67: relocation truncated to
fit:
DIS
This must have been done a million times, but I am stumped.
I need to add a new form, which will take my code over the 64k limit.
So I need to convert my app to multi segments. I have studied
everything I can find for the past two days, and I think I need just a
few more clues.
I am using C
Hi,
Im trying to add a scrollbar to a field (textbox-esque), only when I specify
in the resource file that it should have a scrollbar, it doesn't show up.
Also I set the text dynamically, but if I set no text still no scrollbar
Below is contained in my resource file...
Thanks
FIELD ID TXT
There are a couple of gotchas that I always have to remember the hard way:
1. The runtime library that you are using (use PalmOSRuntime_2i_A5.lib) must be in the
first segment.
2. Your PalmMain function must also be in the first segment.
3. If you aren't worried about code size too much, set your
At 12:28 PM 4/22/2004, you wrote:
This must have been done a million times, but I am stumped.
I need to add a new form, which will take my code over the 64k limit.
So I need to convert my app to multi segments. I have studied
everything I can find for the past two days, and I think I need just
I'm making a program(in the CodeWarrior 8 demo) which will have it's own
preferences panel.
I started from the Formats source and changed it(mostly removing the
Formats-specific stuff).
So far, it runs fine, except that it gives me a
SpeedControl (1.0) called SysFatalAlert with the message: "Form.c
Hi,
i m using MemPtrNew like in the following pseudo code:
char** temp;
temp = MemPtrNew (size * sizeof (char*))
for ( int i = 0; i < size; i++)
{
temp[i] = MemPtrNew (10);
}
Do i have to free it like the same way, or is a call of MemPtrFree(temp)
enough?
So does MemPtrFree(temp), also free t
You need to free it the same way, and no, there is no built in garbage collector.
-Jon
Jonathan Hays
Palm OS Certified Developer
http://hazelware.luggle.com
-Original Message-
From: [EMAIL PROTECT
At 12:36 PM 4/22/2004, you wrote:
Hi,
Im trying to add a scrollbar to a field (textbox-esque), only when I specify
in the resource file that it should have a scrollbar, it doesn't show up.
Also I set the text dynamically, but if I set no text still no scrollbar
You need to actually add a scrol
At 01:05 PM 4/22/2004, you wrote:
I'm making a program(in the CodeWarrior 8 demo) which will have it's own
preferences panel.
I started from the Formats source and changed it(mostly removing the
Formats-specific stuff).
So far, it runs fine, except that it gives me a
SpeedControl (1.0) called SysFa
Where is the bitmap datastored for DirectColor bitmap? The Palm OS companion
and helps files do not help... niether doe sthe bitmap.h header.
Any clues?
Thanks
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
I tried opening an RSRC file of mine (it is about 300K) - but when it opens, there are
no resources in it. I cannot add any to it. I double checked that it's in the .FRK
folder and that there's a 0KB file in teh root folder.
Is there anyway to recover this, or do I need to start over?
Thanks,
Is starting over even an option? ;) Backup anywhere?
Are you trying to open it in Constructor? Which version?
Do you have a hex editor around that you can look at the contents of the
file in the .frk directory? Does it look like the data is still there?
If the resource map in the .frk file gets
Hello Eric -
First of all, thank you for the _very_ detailed suggestions.
>Is starting over even an option? ;) Backup anywhere?
I have a backup from a couple of days ago. I am trying to determine if it's quicker
to attempt to fix the RSRC file or just start from the last backup.
>
>Are you tr
At 03:13 PM 4/22/2004, Eric Cloninger wrote:
Is starting over even an option? ;) Backup anywhere?
You can also try decompiling it to Rez using the CW IDE and instructions
I've posted at
http://www.palmoswerks.com/stories/storyReader$26
A DeRez tool is also available as part of the QuickTime
You beat me to the punch there Ben. Thanks.
-E
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Ben Combee
> Sent: Thursday, April 22, 2004 6:41 PM
> To: Palm Developer Forum
> Subject: RE: Corrupt RSRC file
>
>
> At 03:13 PM 4/22/2004, Eric C
As always Ben (and Eric), your advice is much appreciated.
I've used the steps in that article before so this shouldn't be too teribly difficult.
Thanks again...
Ed
>
>You can also try decompiling it to Rez using the CW IDE and instructions
>I've posted at
>
> http://www.palmoswerks.com/
There is an advantage to storing the resize data in resources rather than in
an array, namely that one can then distribute alternate skins that include
not only new form layouts but also new ways for forms to resize, and
moreover it's easier for clever endusers to make changes to stuff
in a separa
I know this is an OLD post I'm replying to, but has this been resolved yet??
I need info out of the DlkUserInfo struct, but on a Zire71, it's all
screwed up!
Alan
"Jeff Ishaq" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Hi folks. I'm toying with the HotSync info on a PalmOS
Hi All,
Im trying to write an app which will serve as a server. Im trying to bind a
port and ip so that i can listen for socket connections from client. But
when i call 'listen' i get an error 'netErrSocketBusy' . It doesnt matter
which port number i choose. It always returns the same error.
Also t
81 matches
Mail list logo