hi evrybody,
i am using InetLow example to post some data to a web page(JSP page.
If include my data as part of the URL(in the URL field in the INetlow Main
Screen starting with "?") & do a GET Request, i am able to read the sent
data in my JSP page.
The problem i am facing is if i POST the sa
I am facing a adddress arror when i try executing this code
please help me out
#pragma pack (1)
struct Record
{
char A[25];
Int16 B;
Int16 C;
char T;
};
int x = sizeof(Record);
LocalID ld;
DmOpenRef tst;
ld = DmFindDatabase(0,"Test_pdb");
tst = D
Ben,
Works like a champ. Thanks again.
Gary Gorsline
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
Ben,
Absolutely. That is probably it. I will test and let you know. Thanks for
quick response.
I couldn't find anything that addressed this in the archives (by my search
criteria). I hate asking questions that are already covered. Do you know
where I should have looked?
Thanks again
Gary
"Sam Trimble" <[EMAIL PROTECTED]> wrote in message
news:61597@palm-dev-forum...
>
> > Read the latest version of the Palm OS Reference, the update to the
one
> > that shipped in the 4.0 SDK. It indicates that using
> > PrefSetAppPreference with a NULL source pointer and a zero source
length
> >
"Danny Epstein" <[EMAIL PROTECTED]> wrote in message
news:61623@palm-dev-forum...
> > The library will actually be placed whereever you specify it in the
> > segment list. It is important to make sure it is in segment 1.
> > However, you could move it to be in the middle of the segment if it
> >
"Gary Gorsline" <[EMAIL PROTECTED]> wrote in message
news:61672@palm-dev-forum...
>
> Here's one I can't seem to find. This is a follow-up to the
"Philosophy of
> Forms VS Dialogs" thread. Dave Feddor indicated that for the
situation that
> a dialog would be fine.
>
> Problem. Main Form has but
This message was cancelled from within Mozilla.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
I have two very lenghty lists in one of my forms. I have a Popup
Trigger that is currently set to the List ID of one of these lists. In
my app it would be much more efficient to change the List ID than to
clear out and refill a single list over and over. Is there a way to
change a Popup Tri
Hi,
Are there any ways to edit some of the paramaters of the Connection
Profile Info?
The documentation only stated the functions below:
CncAddProfile
CncDeleteProfile
CncGetProfileInfo
CncGetProfileList
Thank You
>
>IN HONOR OF THE BLESSED
>VIRGIN MARY on HER BIRTHDAY
>
>Please do not Ignore . . . .
>
>In honor of the perpetual help, please help our
>parents, brothers,
>sisters and the people of the world, let us pray to
>the Mother of
>Perpetual
>Help.
>--
>For information on using the Palm Developer
Here's one I can't seem to find. This is a follow-up to the "Philosophy of
Forms VS Dialogs" thread. Dave Feddor indicated that for the situation that
a dialog would be fine.
Problem. Main Form has button that starts a Dialog. Main Form and Dialog
have their own event handlers. Main Form doe
>> I want my application to start automatically when palm starts.Can i
>> program the application in such a way.Can we do it by notification.Please
>> suggest
>
>You mean pressing the "on" button I guess. You would need a hackmaster
>extension to do this. There are probably some out there with sou
You need to call FldRecalculateField after calling FldSetTextPtr with a
multi-line field.
I was caught by this gotcha a little while ago. The docs do say to do it...
-David Fedor
Palm, Inc.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.
>I'm trying to set the text of a multiline field that is not editable.
>My question is: how do I send newline code to this field?
0x0a should work in a multi-line field.
Regards,
Steve Mann
--
Creative Digital Publishing Inc.
1315 Palm Street, San Luis Obispo, CA 93401-3117
I suggest putting the string in a string resource rather than using a string
literal. If you enter the string using Constructor, it should use the proper
line end convention for Palm fields, and it should "just work".
--
Peter Epstein
--
For information on using the Palm Developer Forums, or to
On Tue, 4 Sep 2001, Richard M. Hartman wrote:
> So the guy (Eisenman) ties them up in court while at the same time
> going off to start a competitor?
pretty much :)
> In the article there he said something about not taking proprietary
> information. Big deal, that's not the issue. The issue
I'm trying to set the text of a multiline field that is not editable.
My question is: how do I send newline code to this field?
For example:
I have the string:
Char message[100]="This is\n a three lined \n message";
And then I want to store this message in my field. I have already done this
task
According to the article, he was not just a director, he was involved
in the discussions w/ Kenny West.
--
-Richard M. Hartman
[EMAIL PROTECTED]
186,000 mi/sec: not just a good idea, it's the LAW!
"Dave Carrigan" <[EMAIL PROTECTED]> wrote in message
news:61292@palm-dev-forum...
>
> Borislav Kol
So the guy (Eisenman) ties them up in court while at the same time
going off to start a competitor?
In the article there he said something about not taking proprietary
information. Big deal, that's not the issue. The issue is business
practices.
Aren't there penalties for lawsuits of that natu
The 68000 core of the Dragonball processors requires 2 and 4 byte objects to
be aligned to an even address. It does not require 4 byte objects to be
aligned on 4 byte boundaries. Therefore, if you put all your 2 and 4 byte
objects first, followed by 1 byte objects and variable length objects, you
Hi all,
Hoping you will give me some feedback, as objectively
as possible, of course, on your opinions concerning
enhanced text formats, such as adobe pdf, html, ebooks,
etc. for use on the palm OS platform.
I have some fairly static clinical reference data to
present, and I'm thinking that it
Thanks a ton. This really helped. It works! Also, I understand why it works
and why what I was doing before didn't work. I also understand why putting
my ints first would help. Everything of known length would start at an even
address then. Just out of curiousity how would this work with doubl
At 9:14 PM -0700 9/4/01, Salma Saad wrote:
>I wrote:
>>You have to read the 4 bytes on at a time, and assemble the long yourself.
>>
>> range->startRange = *s++ & 0x00FF; range->startRange <<= 8;
>> range->startRange |= *s++ & 0x00FF; range->startRange <<= 8;
>> range->sta
Ah, you're right! Stupid me. It clearly stated in the error message and I
missed it.
At 02:00 PM 04/09/2001 -0700, Marshall Clow wrote:
> >What you suggested makes a lot of sense and I think it should work. It
> still doesn't work for me though, am I doing something else wrong as
> well? No
Can anyone suggest an elegant way to simulate hypertext? I would like to
output scrollable text. A "link" would be identified by an underline, or by
bold font, or by its unique color. When a "link" is tapped it inverts, and
then an action occurs.
--
For information on using the Palm Developer
If you want to avoid shifting stuff around, arrange your fixed length
components before your variable length ones. For example, put the Int32
before the string.
--
Peter Epstein
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/
Thanks for the help. I am a java programmer with little expereince shifting
bits and doing things at that low level. I would very much like to
understand the code before I use it though. I assume that
range->startRange = *s++ & 0x00FF;
puts the first byte into range->startRange at the ri
>What you suggested makes a lot of sense and I think it should work. It still doesn't
>work for me though, am I doing something else wrong as well? Now I get the following
>error
>
>"application1.0 just read from memory location 0x10024AA7 causing an address error.
>An address error means that
The "hack" works as follows. Both Datebook events and To Do tasks are
encoded as vCalendar objects. The vCalendar spec also supports collections
of events and tasks, including heterogeneous collections (a mix of both
types), although Palm devices won't generate such vCalendar objects.
Datebook reg
Couldn't help you on this one without looking through the rest of your code
more carefully. For instance, when you pack your data, did you made any
mistakes? Did you allocated only 2 bytes instead of 4 bytes
etc? UnpackRange is the function that gives you the error message, but the
error co
What you suggested makes a lot of sense and I think it should work. It still
doesn't work for me though, am I doing something else wrong as well? Now I
get the following error
"application1.0 just read from memory location 0x10024AA7 causing an address
error. An address error means that the a
> How to turn on and off the Beam receive setting of the Preferences menu?
and in a separate post:
> I have tried to retrieve the preference setting by
> PrefGetPreference(prefBeamReceive)
See:
http://www.escribe.com/computing/pcpqa/m32080.html
http://www.escribe.com/computing/pcpqa/m32013.
I don't think you can connect an m500 or m505 to the Metrowerks debugger (or
the PalmDebugger for that matter) over a USB connection. You need a serial
connection for debugging. Either a cable or cradle will do.
--
Peter Epstein
--
For information on using the Palm Developer Forums, or to unsub
Hi all,
I am using CodeWarrior 7.1 and Palm m505 (usb).
I get a "connection attemps failed. Please try again" error every time
I try to start debugging.
These where checked :
- Palm has power
- Palm in the cradle
- Palm in debug mode (shortcut . . 2)
- Palm is able to hotsync properl
At 07:32 PM 04/09/2001 +, Salma Saad wrote:
> packedRange->startRange = (Int32)*s;
Your problem is here. In your code, "s" is defined as const char *. So,
*s will give you a char variable. Your type cast only cast the char
variable to Int32. What you want is re-cast the pointer type i
Hi!
My app use a large DB that doesn't need to be backed up. How may I deny it
be backed up? What is the opposite attribute of dmHdrAttrBackup?
Thank you,
Farzin
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/fo
My conduit is in java and my handheld program is in C. I have had no
problems reading packed records which contain strings but integers are all
zero when I fetch them. I am wondering if my unpack routine hasa problem? I
can't see one though. My handheld C code looks like:
static void UnpackR
> > I see conflicting developer info on many points, and makefiles that
> > go in every direction..
>
> It's actually not my fault if other people's developer info and makefiles
> are wrong. If you have specific URLs in mind, perhaps you could tell us
> so that modifications can be suggested to
> I think Pose 3.2 is hard-coded for a max 1000 char ClipBoard size even
when
> there are some ClipBoard extenders activated.
Yup. You can see it for yourself: just look at the source. Poser trims the
host clipboard to 1000 characters when it copies it to the clipboard in the
emulated Palm device
Sam,
I just found out that I needed to add dbHack =
DmOpenDatabaseByTypeCreator('HACK', MYCRID,
dmModeReadOnly); (and close it when I am done).
Thanks,
Mike
--- Sam Trimble <[EMAIL PROTECTED]> wrote:
> >pNewForm = FrmInitForm(PleaseWaitForm);
>
>
> It is the hack that is running... not y
Thanks, Ben, for setting the record straight. :)
> Interesting -- I'd not realized the compiler would generate a long math
> call for indexing operations. I'll check with our compiler engineer...
A pragma would be cleaner than casting to an array type. :) BTW, my
experience is with older versio
John Marshall <[EMAIL PROTECTED]> wrote in message
news:61587@palm-dev-forum...
> I would appreciate it if someone could explain to me why they think this
is
> nightmarishly difficult. (I understand that some people find adding the
> annotations *annoying*, but that is a different thing from *dif
Johnathan Smith wrote:
> Can someone please tell me why my table is not getting
> displayed?
>
[source code]
This is all great, but I don't see that you've registered a
callback to load your data into the table.
You need to use TblSetDataLoadProcedure() to do this and then
write the callback fun
>pNewForm = FrmInitForm(PleaseWaitForm);
It is the hack that is running... not your app. There is no access to your
resource file.
Samuel Trimble - Extended Technology Systems
"Extending Information Via HandHeld Computer Technolog
What Palm OS you are using? For my experience, it need use function
FrmDrawForm on rom version 3.3 Palm or before...
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Johnathan Smith
Sent: Wednesday, September 05, 2001 1:47 AM
To: Palm Developer Forum
Subje
I got an error during by s/w download to visor Edge ( PalmOS 3.5 ), but this
is not found in others PDA ( Palm V, Palm Vx, Palm 505, sony Clie, all those
PDA is tested with no problem found ). During my prc download, the Palm
Pilot show "Fatal Error" after prc download and starting the "Clean Up
P
Can someone please tell me why my table is not getting
displayed?
static void MainFormInit(FormPtr frmP)
{
TablePtr table;
table = (TablePtr)FrmGetObjectPtr(frmP,
FrmGetObjectIndex(frmP, MainDataTable));
for (int row =0; row < 11; row++)
{
You should patch the SysAppLaunch, and call your app (instead of ToDo)
when needed.
The patch can live while your app lives (i.e. while it is a running
application)
or you can write a "real" hack so your app will be called regardless if it
is
currently running or not.
Regards
Bozidar
> I need
I need to be able to intercept a beam from the PalmOS ToDo application
but I'm having a problem. It seems (according to line 348 in
'ToDoTransfer.c' of the sample ToDo application) that there is a hack in the
OS to redirect the beam to the Datebook application. I have been unable to
receive an
Hi friends:
Could you, please, explain me what is the difference between TxtFindString
and StrStr commands? And which of them are faster?
Thank you,
Farzin
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
"Heiner Litz" <[EMAIL PROTECTED]> wrote in message
news:61554@palm-dev-forum...
>
> Sorry for bothering with these questions:
>
> why is my main file called starter.c and not Hello.c ??
starter.c is more appropriate for a wide range of projects.
You can always use the "Save As..." menu to save t
> Read the latest version of the Palm OS Reference, the update to the one
> that shipped in the 4.0 SDK. It indicates that using
> PrefSetAppPreference with a NULL source pointer and a zero source length
> will delete the pref.
Will this work in PalmOS 3.1 or just in the later OS versions? Thank
"RedStar" <[EMAIL PROTECTED]> wrote in message
news:61558@palm-dev-forum...
>
> Hello All,
>
> >1) don't use large model, smart is much better (and small is the
best)
> > (it is for the size of application (and speed too))
>
> i dont agree there: i use large model and have about 10% increase of
>
"Sam Trimble" <[EMAIL PROTECTED]> wrote in message
news:61592@palm-dev-forum...
>
> Is there a way to delete an apps preferences? I need to be able to but
I
> didn't see anything having to do w/ it in the 'PalmOSReference'. Does
anyone
> know how to do this? thanks.
Read the latest version of
Is there a way to delete an apps preferences? I need to be able to but I
didn't see anything having to do w/ it in the 'PalmOSReference'. Does anyone
know how to do this? thanks.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev
There isn't a hardware forum but this one will come close. Although there
should be. And a hardware certification program to boot (not that I haven't
been trying to inspire one for the past 4 years)
- Original Message -
From: "Tommy Ko" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To:
On Mon, Sep 03, 2001 at 07:58:22AM -0700, Joe Siebenmann wrote:
> Could you please think about replacing your 'multiapp' multiple code section
> example? It's a "toy" program, and a more "realistic" example app would
> help people through multiple code section problems much better. Something
> w
http://oasis.palm.com/dev/kb/papers/1148.cfm
the 'Animation Timing' section can give you an idea of how to use nilEvents
as timers.
- Original Message -
From: "Gaurav Palvia" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, September 03, 2001 11:55 AM
Subje
I am new to the Palm, however the "...Bible" seems to be a good
reference. It states that in order for HotSync to automaticall backup a
DB, the DB Type cannot be "DATA" and the backup bit must be set
(dmHdrAttrBackup). I am doing that (and I checked the value of
attributesP - it is 8 after the i
There are several caveats to using variable length labels. You may be
better off using a field and setting it to read only or even drawing the
text directly to the screen with WinDrawChars.
- Original Message -
From: "Heiner Litz" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PR
Werner -
I am very new to the Palm, and as such, I am trying to learn the "flow"
of coding for certain aspects of Palm apps. My text is the "Bible" and
I do understand opening a single DB. What I want to do now is have a DB
support a Popup List and have the List contain "" and "" in
addition to
Interesting!!!... Now I have 12.000 records. :(
Farzin
- Original Message -
From: "Gilsoni Lunardi Albino" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Tuesday, September 04, 2001 9:10 AM
Subject: RES: Increasing TX speed
Hi,
I have data base (3,3mb), to sen
Johnathan Smith wrote:
>
> Can someone please look at the following code and tell
> me why my table is not display?
That's way too much code (and comments for that matter) for me, and the
lines wrap in a reader-unfriendly way. Please the preferences and
everything else that is unnecessary for de
Hi,
I have data base (3,3mb), to send to palm almost 6 minutes.
The problem is quantity records, no quantity bytes.
Try group the records and send.
Gilsoni/Tub/Brazil
-Mensagem original-
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Em nome de Farzin
Ashraghi
Enviada em: Terça-feira
Fat,
Take a look at my McPhling source code from
http://MikeMcCollister.com/palm/#McPhling.
Mike
--- Fat Terry <[EMAIL PROTECTED]> wrote:
> How should I detect the pen being moved from one
> silk screen button to
> another,
> for example from the CALC button to the FIND button,
> also within a
Hi,
I have a hack that I want to have a "Please wait"
dialog pop up when data is being accessed from a VFS
device. This is while trapping
EvtProcessSoftKeyStroke. To pop up the form I try to
do something like this:
pForm = FrmGetActiveForm();
// ??? dies on this next line
pNewForm = Fr
Does anyone have any sample code or pointers on coding:
One database containing lookups into another?
One-to-many relationhips between databases?
Filtering databases (e.g. displaying a subset of a database in a
table)?
Thanks...
--Bruce
Bruce Vander Werf
mailto:[EMAIL PROTECTED]
--
For info
Too many records
Contin
Curitiba/PR/Brazil
- Original Message -
From: "Farzin Ashraghi" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Tuesday, September 04, 2001 10:48 AM
Subject: Increasing TX speed
> Hi friends:
>
> I have a large data base (265kb), I cr
Hi friends:
I have a large data base (265kb), I created it using csv2pdb tool, but it is
taking too much time to send to Palm device, almost 30 minutes. Why app
(*.prc) of the same size are sent in 4 minutes but a DB (*.pdb) takes this
amount of time? Maybe because an error control mechanism? H
So why don.t you transform String to const CharPtr and then use
it? :)
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
how can I copy a variable string into a label? FrmCopyLabel needs a const
Char :-(
use FrmCopyLabel function when handling ctlSelect event.
Anton
> hi!
>
> I would like to display text in a label when the user press a button.
>
> How do I do that??
>
> thanx,
> Maria
>
> ___
use FrmCopyLabel function when handling ctlSelect event.
Anton
> hi!
>
> I would like to display text in a label when the user press a button.
>
> How do I do that??
>
> thanx,
> Maria
>
> _
> Hämta MSN Explorer kostnadsfritt på h
For changing the network service parameters from a program I use the library
from the Knowledge Base (V1.1). It all works fine, but: If i change the
phonenumber via the library and start a network connection, the 'old' number
is dialed. If I exit the program I see the 'new' number in the network
hi!
I would like to display text in a label when the user press a button.
How do I do that??
thanx,
Maria
_
Hämta MSN Explorer kostnadsfritt på http://explorer.msn.se
--
For information on using the Palm Developer Forums, or to
How should I detect the pen being moved from one silk screen button to
another,
for example from the CALC button to the FIND button, also within a HACK
?
Obviously I should look at the Event buffer, but it's not immediately
obvious to
me which fields I should be examining. To just detect a "norma
hi
I need a non editable 10 chars wide noneditable text field to display
different text stings in it depending on what button a user presses on the
form. It dont has to change dynamically, but only by pressing a button.
Whats the easiest way to do this?
can i somehow just display chars in the t
Can someone please look at the following code and tell
me why my table is not display?
/**
*
* Copyright (c) 1999 Palm Computing, Inc. or its
subsidiaries.
* All rights reserved.
*
* File: Starter.cpp
*
**
This usually means that you have used uninitialized variable.
Debug the application and chack which variable is not initialized.
This might help.
> Hi,
>
> I tried to use the emulator in Falch.net but when I run I get this error
> message:
>
> Test just read from memory location 0x008E003E, c
Hi,
I tried to use the emulator in Falch.net but when I run I get this error
message:
Test just read from memory location 0x008E003E, causing bus error.
A "bus error" means that the application accessed a memory location that is
not in RAM or ROM, nor corresponds to a memory-mapped hardware r
Segment size has maximum value 64 kb. If your app exceede 64
kb you need to separate into several segments.
Anton
> > whats the difference of a file, segment and target and their different uses?
>
> A file is an entity from the viewpoint of your disk.
>
> A segment is a group of functions and/
> whats the difference of a file, segment and target and their different uses?
A file is an entity from the viewpoint of your disk.
A segment is a group of functions and/or variables.
A file may consist of more than one segment.
A target is somthing you want to create,
seen from the viewpoint
Hello All,
>1) don't use large model, smart is much better (and small is the best)
> (it is for the size of application (and speed too))
i dont agree there: i use large model and have about 10% increase of
size - this is better for guard (i think). Speed...still very hight
> 2) use more segment
check for keyDownEvent with chr in structure KeyDownEventType equal to
vchrKeyboardAlpha
"geeta more" <[EMAIL PROTECTED]> wrote in message
news:61519@palm-dev-forum...
>
> Hi ,
> whenever we tap on graffiti area for system keyboard
> which event get generated ? i want to handle that
> event.An
You may rename it. F.e. exclude it from the project, then rename it
and include to the project again. See archives of this forum.
Anton
> Sorry for bothering with these questions:
>
> why is my main file called starter.c and not Hello.c ??
>
> Why does codewarrior not automatically make a right
On Fri, Aug 31, 2001 at 04:59:40PM -0400, Kelly Morrison wrote:
> 1. Make sure that you include the header files for functions that you call
> that are marked as being in a different section. I accidentally left one
> out, and it caused several spectacular crashes until I noted the omission.
> For
Sorry for bothering with these questions:
why is my main file called starter.c and not Hello.c ??
Why does codewarrior not automatically make a right shift when I write a "{"
??
thx again
--
Mit freundlichen Gru?en, Heiner Litz.
blauton.com
Kastellweg 11
d- 69120 Heidelberg
tel: 0179 244002
Hi
whats the difference of a file, segment and target and their different uses?
PLease give me a short description. thx
--
Mit freundlichen Gru?en, Heiner Litz.
blauton.com
Kastellweg 11
d- 69120 Heidelberg
tel: 0179 2440020
fax: 0721 151287068
web: www.blauton.com
--
For information on u
Do any body know :
How to turn on and off the Beam receive setting of the Preferences menu? and
make it visually changed on the General Panel of Preferences?
Thanks in advance.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech
You can create multiple databases with DmCreateDatabase, which takes the
CreatorId and the DatabaseName (and ..) as arguments.
You can search them with DmFindDatabase, which takes the DatabaseName (and ..)
as argument and returns the ***DatabaseId***.
You may open them with DmOpenDatabase then,
90 matches
Mail list logo