You have to track the x,y co-ordinate within the eventloop.
screenX and screenY gives you the x and y co-ordinates for the pen.
(i.e )EventPtr eventP;
eventP-screenX and eventP-screenY
you can also use EvtGetPen(Coord *, Coord*, Boolean*); to get the
current status of the pen if
Does anyone know an easy way to POST binary content type HTTP requests
through INetLib from a Palm to a web server? Right now it treats content
as
type application/x-www-form-urlencoded, instead of a binary type.
INetSettingEnum has inetSockSettingContentType, but it's read-only.
I do not
You'll have to setup POSE to allow network hotsync...
check out..
http://oasis.palm.com/dev/kb/faq/2069.cfm
-vc
- Original Message -
From: Dave Lippincott [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Friday, June 08, 2001 6:42 PM
Subject: Re: Installing PDF-files to
hi john,
i did call FrmUpdateForm, but it still does not work. There is no effect
after i added in frmupdateform command .
rgds,
ailee
From: John Leung [EMAIL PROTECTED]
Reply-To: Palm Developer Forum [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Subject: Re: frmreturntoform
Hi,
Could any one please tell me how to develop a simple conduit that would update a four
field database and how long it will take to do it?
Thanks and regards,
Joe
__
Get your own FREE, personal Netscape Webmail account today at
Hi,
First of all I'd send this question to conduit-dev-forum, which may be a bit
more on topic.
But since you asked, a simple conduit could be created based on examples or
the one of the conduit generating wizards (you'll need the CDK 4 and Visual
studio), and shouldn't take too long (hopefully
i do not know why. Is it i did not call frmsetactiveform() when i back to
the last form?
Yes. You would have gotten this answer more quickly by just trying :-)
With kind regards / Mit freundlichem Gruß
Holger Klawitter
--
Holger Klawitter
[EMAIL PROTECTED]
I am not really sure what I am doing wrong. Can someone please fix my code and tell me
what they did so it will help my learning the palm OS programming platform? Thanks!
GOD Bless!!!
case penMoveEvent:
int x,y;
int penX,penY;
Boolean penDown;
EvtGetPen(penX,
Oh, my error I keep getting says illegal implicit conversion from int to short*
case penMoveEvent:
int x,y;
int penX,penY;
Boolean penDown;
/* Here is the error*/ EvtGetPen(penX, penY, penDown);
penX=x;
penY=y;
WinDrawLine (penX,penY,x,y);
Hi
I found an example which captures signature and converts it into a
Bitmap. It also has conduit example for transferring the signature to the
desktop and converting it into a BMP file. I went thru the code and found
these datatypes
BITMAPFILEHEADER
BITMAPINFOHEADER
RGBQUAD
where these
You are passing same point values for start point and end point of line.
You should rather have somewhere your last coordinates saved and after pen
is moved you draw a line from last pen position to the current pen
position...
Also declare your variables of type Coord so it will
Your problem doesn't seem to do much with Palm programming but with
programming.
You're passing an integer where a pointer is expected.
The Declaration for EvtGetPen is:
void EvtGetPen (Int16 *pScreenX, Int16 *pScreenY, Boolean *pPenDown)
so your code should be
case penMoveEvent:
int
Hi All,
I have 2 applications and i want to integrate the two.(Calling these 2
applications from menu of a different application(third application)). I
came to know that SysUIAppSwitch function can be used for the same. But
can some body give the details about its parameters like
card no
I am developing an app for the palm that I am debugging using the POSE 3.2
I get memory leak errors even when I have reduced the code down to a small
stub. I have several global data structures declared using 'static'. Does
any one know if global data gets moved around by the Palm OS. I get the
EvtGetPen(penX, penY, penDown);
here you are passing int in place of an Int16 *.
So your code should go like this:
EvtGetPen(penX, penY, penDown);
Ritesh :)
[EMAIL PROTECTED] wrote in message news:52481@palm-dev-forum...
I am not really sure what I am doing wrong. Can someone please fix
Maybe I'm missing something, but it also looks like you never give any
values to x and y, yet you assign their values to penX and penY later. I'm
guessing you want to reverse those assignment statements, so you're
assigning the valuesof *penX and *penY to x and y, respectively. Also, when
you've
I just fixed the erroneous part in the mail sent, so the code has been cut
pasted from the originator's mail. By erroneous, I mean the part giving the
compilation error. As my mail mentions, I too thought the assignments made
weren't what the code *wanted* to do.
-vc
- Original Message -
I have gone through the examples in the CDK for the conduits and all works
great. I am now trying to modify the textcond.java example to read through
a different database then the MemoDB.
I have changed the remote database using CondCfg.exe but when I look at the
output file that it makes on
How can I distinguish or detect a Symbol modem cradle and an Symbol ethernet 4-slot
cradle programatically when I put the Palm Device on ?
If I succeed how can I change network preferences ?
___
Bastien CHANSON
Support Technique
Département Identification
I am trying to take advantage of the hardware discounts from Palm and I'm
having troubles. I'm hoping someone can help me.
I first go to the Resource Pavilion area on Palm's site
(http://www.palmos.com/alliance/resources/), where it does talk about the
hardware promotion program. After I log
ok that was a little vague, I want to put a reference to an object into the
data field of a gadget object. I have tried,
...
FrmSetGadgetData(frmP,8088,myObject);
...
however when I try to get the object with the following code ...
...
CompositeImage compositeImage;
...
compositeImage =
In article 52436@palm-dev-forum, Jun-Kiat Lam
[EMAIL PROTECTED] wrote:
Off the top of my head, you would be missing the debugger plugin, updated
runtime sources for Palm OS 4.0 SDK, pref panel, updated fixes in the linker
specifically for Palm (fixes the 'uMWC' warning). Also, while CW Pro 6
I must be missing something. If you have the address of the first
string in the list (for the tAIS case), that gives you the address of
the chunk. If you've got the address of the first indexed string in a
tSTL resource, and you control the contents of the resource (e.g. the
prefix is always
I get memory leak errors even when I have reduced the code down to a small
stub. I have several global data structures declared using 'static'. Does
any one know if global data gets moved around by the Palm OS. I get the
memory leak errors when I enter and immediately exit the application...
card no (Specs says it should be 0)
db id, How to get the value of the same, They say it is ID of the new
application. I wish to know is it the creator id that we specify in
codewarrior or something else.
No, dbID is not the creator ID.
Use DmGetNextDatabaseByTypeCreator() to get the
Karanjit Siyan [EMAIL PROTECTED] wrote in message
news:52491@palm-dev-forum...
I am developing an app for the palm that I am debugging using the POSE
3.2
I get memory leak errors even when I have reduced the code down to a
small
stub. I have several global data structures declared using
Greetings,
I am using Symbol SPT1740/46 with Satellite Forms to collect plant data in
real-time. Sometimes the user moves out of radio coverage, and I have found
the the OpenNetLib() call does not time-out if the unit is not in the
coverage area.
This results in the user having to hit the
I have a real obscure error. An employee was doing a HotSync operation.
During the HotSync, he got the famous error msg, MemoryMgrNew.c, Line:4164,
Invalid handle. So now I have the device and I am trying to debug it. It
seems that DmOpenDatabase is blowing up.
With this code
look for the Hardware Discount Program link. The only thing I can think
of is its for US developers only. (but that doesn't look like a problem for
you)
- Original Message -
From: Mike Walters [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Monday, June 11, 2001
From: Rochester, Dean
I have gone through the examples in the CDK for the conduits
and all works great. I am now trying to modify the
textcond.java example to read through a different database
then the MemoDB.
I have changed the remote database using CondCfg.exe but when
I look at the
I am trying to target the Kyocera SmartPhone, which is running PalmOS
3.5.1.
* How do I get the keycodes generated by moving the jog-dial up and
down? Are they the same as for the Sony jog dial?
* Is there any way to get the press-in of the jog dial? It seems to
bring up a special telephone
I don't think this is accurate. HTTP doesn't care what type of data it
transports, and doesn't handle it itself. Most of the internet media types
specified in HTTP are binary. The important thing is that both client and
server applications (not the web server, but the application that handles
From: Mike Walters
I first go to the Resource Pavilion area on Palm's site
(http://www.palmos.com/alliance/resources/), where it does talk about the
hardware promotion program. After I log in, it takes me to a page
(http://spp.palmos.com/pavilion_menu.html) that doesn't mention
Isn't
Dave Lippincott [EMAIL PROTECTED] wrote in message
news:52525@palm-dev-forum...
look for the Hardware Discount Program link. The only thing I can
think
of is its for US developers only. (but that doesn't look like a
problem for
you)
Since a few days, the Hardware Discount is available for
I haven't looked through them yet, but there's some things to download from the
Kyocera web site for develoers:
http://www.kyocera-wireless.com/partner/partner.htm
Steve Cochran
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
I don't really have too many ideas on this subject... :(
One things thing that I've seen work is to use DebugPrefs.prc (one of the
links below) to force serial debugging so that the system doesn't rely on
polling the UP button to determine which port to open.
Mike
-Original Message-
From: James Carlson
I want to put a reference to an
object into the data field of a gadget object. I have tried,
...
FrmSetGadgetData(frmP,8088,myObject);
...
however when I try to get the object with the following code ...
...
CompositeImage compositeImage;
...
compositeImage =
Didn't I say in your formA's event handler, you'll need to respond to
frmUpdateEvent ?
That means you'll need to update your form yourself when you respond to
that event. Look up FrmUpdateForm in the SDK and read the comments section
to get more info.
At 03:00 PM 11/06/2001 +0800, you
Hi John,
For what it's worth...
My understanding is that the 10ms timing is derived from a couple of
registers in the CPU. At a hardware level, the CPU increments a register
every clock cycle (say 30 or 60ns on a 16.5 or 33MHz system, respectively).
There is a prescaler that then causes a third
Any idea when we'll be able to build on OS X? POSE is now carbonized and
I have the latest and greatest Mac tools as well as Palm OS Release 7.0.
This is one of the biggest problems with me moving to OS X.
My understanding is that Palm is currently working on Carbonizing PalmRez and
the pref
Well that is a thrid-party tool, I would rather implement something into my
app.
I contacted them for info, but they have not replied.
I just need to install, but if I could sync my conduit by itself as well,
that would be a plus.
Thomee Wright [EMAIL PROTECTED] wrote in message
Hey! I am trying to make it so that one form will go to another and I got that to
work but when I try to make the form return a white screen appears with nothing on it.
Also, I tried writing an Exit option that I need to go back to the home screen
The screen where you go to when you
Hi,
I want to modify a hack that I have so that a form
from my resource file pops up. Does anyone know how
to do this? I've tried FrmGotoForm(myForm) and
FrmPopupForm(myForm) without any luck.
Thanks for your suggestions.
Mike McCollister
__
This is what I do:
static void GotoPage(FormPtr pForm, Int16 selection)
{
if(currentForm == (UInt32)(formID_first +
selection))
return;
FrmEraseForm(pForm);
FrmDeleteForm(pForm);
FrmPopupForm(formID_first + selection);
}
Where currentForm is a global that holds the
The structure piece I understand. I just want to read the bytes that make
up the record, so that I can read any palm database record. I have gone
through the Palm OS Programming from the ground up book and have put the
contacts database into my Palm Pilot. I now want to write a conduit to read
Hi,
I would like a field formatted for Password, e.g. encrypted password. Can
someone help? Thanks.
-Elizabeth
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
Since this thread touches on the timers, anyone know an answer to my previous
question, namely, if I do use the Dragonball timing
registers, will that screw up the PalmOS? Or conversely, how does the PalmOS make use
of the timers?
- Jeff
[EMAIL PROTECTED] wrote:
Hi John,
For what it's
a) just use frmgotoform, don't use frmreturntoform
b) have the user tap the home button, it already there why duplicate it?
- Original Message -
From: [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Monday, June 11, 2001 12:46 PM
Subject: I need some help with some Ui
I have changed to the ToDoDB and it reads the records out of there fine and
writes them out to a file. Is there something that one needs to know about
creating databases using CodeWarrior 6 Lite as far as the record structure
goes? The record should consist of a series of bytes since I am using
I made up my own media type, since none of the existing
ones seemed to be suitable. The HTTP protocol is flexible enough to permit
handling new types of data.
So, to put the original questioner out of his misery (and satisfy my
own curiosity), how do you do it? :-) Thanks.
Regards,
Steve Mann
Merging CW Palm 7 and CW Pro 6 isn't a good idea since there was a folder
reorganization of the Metrowerks installation between the two releases, not to
mention the MSL and runtime changes (which may break your Mac code if merged
incorrectly). If you want to merge, you should do it by hand, but
I'm a bit confused as to when I would want to use a
offscreen window
(created via WinCreateOffscreenWindow).
When creating games on desktop systems, it makes
perfect sense to
buffer the graphic in system memory (as opposed to
paging it directly
from disk). On the palm, it doesn't seem like
Yeah, I get all of the items that you get - *except* the Hardware Discount
Program. And I am a US developer. I guess I will keep trying to get in
touch with Palm to see why that option does not appear. Thanks for your
help.
Mike
-Original Message-
From: [EMAIL PROTECTED]
James,
After trying to use gadgets to store data, and wasting a LOT of time trying
to get it to do what I needed it to do, I finally gave up. Not that there
aren't legitimate uses of this capability - I'm sure there are - but I found
the following limitation to be too limiting for my purposes:
I am having troubles implementing NetLibSelect in my main event loop in
order to handle both data from a socket and user input. The problem I am
experiencing is that NetLibSelect seems (it's a little hard to tell for sure
since I can't debug on the emulator) to not set the FD for the socket even
Are there any tools available that will let me view, upload, and manipulate
Palm Files from the PC while the Palm is in the cradle?
Alan
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
Is there an easy way to search the built-in address book database to
find a field containing a key word (probably the note field)? Or am I
going to need to learn the record format for the address book and
search it myself? I want to find the first occurence of a key word
in the address book
int x,y;
int penX,penY;
Boolean penDown;
/* Here is the error*/ EvtGetPen(penX, penY, penDown);
penX, penY, penDown
...
// az
[EMAIL PROTECTED]
http://www.ardiri.com/--- free games!
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
I upgraded to 3.1, but still get the line error... I get a bus error
as well. I am a bit clueless as to why... any more ideas?!! thanks much!
sasha
---
Jun-Kiat Lam [EMAIL PROTECTED] wrote in message
news:51645@palm-dev-forum...
Sasha,
You may to make sure you
Thak Dave
I'm try use this OCX.
Do not directly copy the file(s) to be installed to the user install
directory. That will not work unless you modify some registry entries.
And
you don't want to mess with that. Palm has provided InstallAide dll
routines
that are included in the CDK to do
When my application calls DmOpenDatabase,
it get MemoryMgrNew.c, Line:4164, Invalid handle.
This is what I see on the stack
0x10C192A6( DmOpenDatabase )
0x10C19426( DmResetRecordStates )
0x10C14F5C( MemLocalIDToLockedPtr )
0x10C14B24( MemHandleLock )
0x10C15AB8( PrvHandleCheck )
0x10C15AB8(
Alan
YES! I have been having problems with NetLibSelect as well. I posted a
problem on Friday where NetLibSelect works for a while and then stops
reporting that there is data available in the socket. The system events
keep working. We have done some troubleshooting and this is what we
Thanks for your response. Unfortunately we don't use HotSync on the PC side
so there was no backup. Fortunately, I do use a library version of JackFlash
and had a back up in flash memory. So I did that hard reset, got my database
and make another customer happy. Go JackFlash! I had a feeling that
hi derek,
you find the sample program from the address book in
palm develpor site. download the program and modify
accordingly.
thanks
srini
--- Derek May [EMAIL PROTECTED] wrote:
Is there an easy way to search the built-in address
book database to
find a field containing a key word
Now that I have been able to reformat the code so I could read it ( the post
messed it up on my PC ) it looks like you are falling into your EvtGetEvent
processing without checking to see if netFDIsSet(sysFileDescStdIn,
readFDs)so you get stuck there.
spike
From: Alan hand [EMAIL PROTECTED]
I agree...the only problem is that I have a timeout value of one tick if I'm
busy posting...shouldn't this prevent EvtGetEvent from blocking until an
event arrives?
-Original Message-
From: John Stephenson [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 11, 2001 3:36 PM
To: Palm Developer
Also, my guess is that you want x and y to be globals, so they're remembered
when the next event comes along... Better rename them too... gLastX gLastY
sound good to me.
Regards,
Alan Ingleby
Systems Developer
ProfitLink Consulting Pty Ltd
309 Burwood Road
Hawthorn
Victoria 3122
Australia
Aaron
Make sure you are setting/clearing g_bBusy in the right places and at the
right time. Could it be that the first time it falls through with g_bBusy
== TRUE and the EvtGetEvent times out, like it should, but then you are
setting it FALSE, thinking you are done before you are?
You could also
Thanks Ben...
I was missing the FrmCloseAllForms() in the AppStop() routine. It fixed
one of the memory leak problem I mentioned. I am now working on another
memory written problem
- Original Message -
From: Ben Combee [EMAIL PROTECTED]
Newsgroups: palm-dev-forum
To: Palm
PalmOS does a great job, and no other OS could replace it (IMHO), but
wouldn't it be cool (and *very* nerdy) to see Linux running on the Palm...
to Telnet to your Palm??
I've been looking into this over the weekend, and have found that someone is
currently trying to make this a reality... have a
Hi all:
This may be a novice question, but I'm getting a link error because I
have more than 64 kb of global data. The error reference says to
Select the Far Data and Far Strings checkboxes in the 68K Processor
settings panel.
So, I try the fix, and the program still doesn't compile. What am
Can anyone tell me if it is possible to load a bitmap resource from a
database and then assign it to a form bitmap resource object? I've browsed
through the APIs but couldn't quite figure out how to do this.
John Leung
[EMAIL PROTECTED]
http://persweb.direct.ca/jleung
--
For information on
Are you looking to expand to Asia? In particular Australia?
At 01:54 AM 12/06/2001, you wrote:
Dave Lippincott [EMAIL PROTECTED] wrote in message
news:52525@palm-dev-forum...
look for the Hardware Discount Program link. The only thing I can
think
of is its for US developers only. (but
Developers' Nation is offering a Free 14 Day Trial of our technical support
service. If you register at http://www.devnation.net you'll get access to
our kB and you'll get to post a question to our tech. support engineers.
They'll get an answer back to you within 72 hours...Guaranteed!
If
Has anyone managed to get these two to work together? I'm thinking of buying
CW Pro 6. Any advice would be appreciated ...
Stephen Best
Bitware Australia
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
Has anyone managed to get these two to work together? I'm thinking of buying
CW Pro 6. Any advice would be appreciated ...
Stephen Best
Bitware Australia
My solution:Disk Images
Install CW for Palm on one, CW for Mac on the other.
Mount the one that you want to use.
Also useful if you
My solution: Disk Images
Install CW for Palm on one, CW for Mac on the other.
Mount the one that you want to use.
I currently use CW6 for Palm on my Mac and Visual C++ on my PC. I need to be
able to work on two things at once (the Palm app and the database build
program).
Is there no
Stephen Best [EMAIL PROTECTED] wrote in message
news:52597@palm-dev-forum...
Has anyone managed to get these two to work together? I'm thinking of
buying
CW Pro 6. Any advice would be appreciated ...
CW Pro 6 uses the CodeWarrior 4.1 IDE, while CW Palm 6 uses the older CW
4.0 IDE. On
Arek Jaszcz [EMAIL PROTECTED] wrote in message
news:52593@palm-dev-forum...
Hi all:
This may be a novice question, but I'm getting a link error because I
have more than 64 kb of global data. The error reference says to
Select the Far Data and Far Strings checkboxes in the 68K Processor
So.. I guess the real question is this: is there a
speed penalty to be had when directly copying a bitmap
from storage memory to the screen (via functions like
WinDrawBitmap) rather than drawing from an offscreen
window?
On the Palm IIIc and Visor Prism, screen memory is separate from main
CW Palm 7 is tested in a merged installation
with CW Pro 6, and works quite nicely on both platforms.
The way I see it:
CW6 Palm + Palm SDK 4 + CW Pro 6 == CW7 Palm + CW Pro 6
Everything identified by Jun-Kiat as new in CW7 Palm would appear to be
included the latest Palm SDK. What
On Mon, 11 Jun 2001 [EMAIL PROTECTED] wrote:
Hi,
I would like a field formatted for Password, e.g. encrypted password. Can
someone help? Thanks.
-Elizabeth
There have been quite a few discusions about this in the past. You'll
probably do pretty well by searching the archive for password
82 matches
Mail list logo