I did one test. I did a hard reset and installed ...
Maybe there's an older (or newer, or corrupt) version of MathLib on you
backup folder ?
---
J. Machado
[EMAIL PROTECTED]
Palmcon Consultoria (www.palmcon.com.br)
+55 21 9302-2794
--
For information on using the Palm Developer Forums, or
- http://www.nyctergatis.com/jpeglib/ (non-ARM)
- http://www.laubrass.com/doc/PUB/JPEG/ (non-ARM)
- http://www.dp.mcw.edu/palmImaging/jpegArmlets.zip (ARM-native)
Thanks Matthew, that sounds useful.
---
J. Machado
[EMAIL PROTECTED]
Palmcon Consultoria (www.palmcon.com.br)
+55 21 9302-2794
JPEG/GIF decompression library for Palm OS
(http://www.absoluteword.com/jpglib/) has been updated.
Well, is it free ?
---
J. Machado
[EMAIL PROTECTED]
Palmcon Consultoria (www.palmcon.com.br)
+55 21 9302-2794
--
For information on using the Palm Developer Forums, or to unsubscribe, please
Yes, if you are OK with nags it draws. Otherwise, no.
Sorry, but what do you mean by nags ? (sorry, my english is terrible.)
---
J. Machado
[EMAIL PROTECTED]
Palmcon Consultoria (www.palmcon.com.br)
+55 21 9302-2794
--
For information on using the Palm Developer Forums, or to unsubscribe,
Hi Régis,
My bet is that you're fragmenting memory a lot. PalmOS does a routine to
de-fragment the memory on reset, so the time that it appear freezed is
the time it's using doing the de-fragmentation.
Using a handle *could* (I don't really know) minimize the fragmentation,
but it's just a guess
I´m looking for a function like the TblSetRowSelectable but using COLUMNs
instead ROWs because just one column (with checkboxes) need be selected.
Hello Ricardo,
There's no way on PalmOS API that you can select an ENTIRE column. You must
do that by hand, iterating through all the enabled rows
Maybe you should be using the new serial manager ?
-- J. Machado
-- [EMAIL PROTECTED]
Alexandre Teodoro Guimarães escreveu:
Hi All,
I have one problem here. My codewarrior application that I make for the Zire
PalmOS 4.1 not work on new Zire 21 PalmOS 5.2.
The application is simple, and
sorry but I can not understand how I can find information searching...
http://www.escribe.com/computing/pcpqa/index.html
That should do it. :-)
-- J. Machado
-- [EMAIL PROTECTED]
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
I use codewarrior
resource editor or Rsrcedit in the palm but i would like to know anothers.
Codewarrior 9 is shipped with PilRC Designer. It works with PilRC (so the
files you create with the designer must be compiled with PilRC to work in
your program).
IMHO it's a good editor. Not s
You shall not pass empty strings do ^2 and ^3. Use a string with single
space instead ( ).
This is on the docs of FrmCustomAlert. :-)
Cheers!
-- J. Machado
-- [EMAIL PROTECTED]
Brian Preston escreveu:
Anyone familiar with this? I searched the archives and
couldn't find anything
The Palm OS Reference (which I did read before posting
this, btw) that I've been using says that is only
required for OS 2.0 and below. I was testing 5.0, so I
didn't think I needed to do that.
Hmmm... .I guess I missed that part of the reference...
However, that solved the problem! So thanks. I
but if I want to debug double value, how can I do?
Since I looked for the StrPrintF( ), the formatStr only supports :
%d, %i, %u, %x, %s, %c
Did you ever tried to port the Linux sprintf to the PalmOS plataform ? It
isn't hard to do. Only choose the right Linux version.
Get the vsprintf source
How can I create a PDB with more than 65535 records?
Well, in a short answer, you can't. :)
You may split your db into several files or pack the records to fit on that
limit.
Personally I use XML to do that.
[]'s
J. Machado
[EMAIL PROTECTED]
Palmcon Consultoria (www.palmcon.com.br)
+55 21
There's no malloc on the PalmOS libs. You must use MemPtrNew or define your
own malloc function.
There are some differences between the ANSI C libraries and the PalmOS
libraries. Take a time to look at the PalmOS Reference Guide and PalmOS
Companion to know these differences.
Basically:
There IS a function in the record adapter (it's not in the documentation
btw)
Well, would you mind to tell us which function is that ? :)
Cheers !
-- J. Machado
-- [EMAIL PROTECTED]
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
Régis Daniel de Oliveira escreveu:
and i what that the field apear like this:
Palm
OS
System
using 3 lines. How can i do this?
Try to add the string Palm\nOS\nSystem to the field.
The \n will add a linefeed/carriage return on it. :)
Cheers!
-- J. Machado
-- [EMAIL
For the record, under Palm OS it only adds a line feed and not a carriage
return.
Thanks Doug ! That's quite true. My fault. :)
-- J. Machado
-- [EMAIL PROTECTED]
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
I find sometimes the debugger simply won't tell me the true value of
variables to the point where I can't debug. And this is with all
optimizations off. I can understand the old bug in which you have many
instances of the same name and it doesn't know which one to show you, but
often, it
James Zatorski escreveu:
My question is what's the best method of allocating
space for the single HUGE record to be put in the
MemoPad database.
My bet is: Try DmNewRecord. It works.
If you wanna update it with a new size, then try DmResizeRecord.
Cheers!
-- J. Machado
-- [EMAIL PROTECTED]
Louis Wildschut escreveu:
What's the fastest, best and cheapest way to create a dummy application on
the handheld?
You can ask a friend to write it for you... :)
If it's just a dummy app with your creator id, I can write it to you, at no
costs.
If you're interested please contact me in PVT..
Or you could create a table with only one row.
That works fine for me.
Cheers !
-- J. Machado
-- [EMAIL PROTECTED]
[EMAIL PROTECTED] escreveu:
Hi Rangababu,
There is only one way I know to make full row selection in CodeWarrior...
Draw it on your own :)
Take a look at
rguevara escreveu:
Hi, i have four open databases and want write in the last position of one.
I don't know if dmMaxRecordIndex work...
Very short answer: Yes, it works. I use it all the time.
A little bit longer one: What's happening ? Are you having some trouble with
it or just asked without
ThuNguyet Nguyen escreveu:
handle. Tapping on the Reset button in the Alert doesn't work, I have to do hard reset.
Well, I usually don't have much problems using the cards, but let's see: You
have to do a *hard* reset ? Or reset the handheld by hand, using some kind
of paper clip to do it ?
Pablo Martin Vera escreveu:
i´ve created a graphic button and I assigned it two 16 color bitmap images.
When I start the aplication I see the in black and white not in color.
Please tell me how to solve it.
You could start the color suport in your startup code. There's some examples
in the
Todd Niec escreveu:
Is it possible to use DmAttachRecord with memory that was allocated with
MemHandleNew()? The documentation doesn't say you can't, but it seems
like I get weird behavior if I try this.
Short answer: No, you can't. Use DmNewHandle instead.
-- J. Machado
-- [EMAIL PROTECTED]
Aaron, that's with you. :)
its all about graphics programming primitives. loads of books on
the subject, i'd suggest reading some :)
Hehehehe... I'll try to make my homework and try to find some of these here
in .br :)
IMO that's the fascinating side of programming...
-- J. Machado
-- [EMAIL
Hmmm... Double post, sorry ALL...
I guess i just passed through your problem... My buttons are 256 (8 bit)
color buttons. I guess there's not a 16 color image in the Palm, rather
there's 16 shades of gray.
Try putting the button on the 8 bit color mask.
And sorry by the bad tip on the las
Khaki Wizard escreveu:
Hi, all:
Is it possible to use BmpCreate() to create a bitmap
larger than 64KB, say 640x480 8bpp, and use it to
build an offscreen window for double-buffer paint
purpose?
Actually you cannot create any resource larger than 64kb on PalmOS, unless
you do it on the memory
Ben Combee escreveu:
Is it possible to use BmpCreate() to create a bitmap
larger than 64KB, say 640x480 8bpp, and use it to
build an offscreen window for double-buffer paint
purpose?
Hey guys, look what I found:
http://www.cliedeveloper.com/spotlight/kinoma1.html
IMHO it's a good tutorial on
Carsten escreveu:
This is NOT good.
MemSemphore issues aren't even mentioned in the official Palm-OS sdk. (when
I remember right...)
Sony should care more about the things they publish, reading that article
sounds like MemSemaphore - used every day, don't care
about the consequences ...
H...
quote
Steve K escreveu:
You'll want to make sure that all of your push buttons are within the same
group. This will stop your program from highlighting each push button after
it is selected. When they are in the same group, when selecting a new push
button, the previous one will become un
Alan Ingleby escreveu:
Régis Daniel de Oliveira [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
How can i make a numeric field accept the minus (-) field?
Short answer : You can't. Use a non-numeric field, and filter the keydown
events.
Long answer: You can use a workaround for this.
Engi escreveu:
Hi,
If you go to http://aquapalm.free.fr , you could see my problem.
When my records don't have any note, all is fine.
But if I add a note, all the characters which are drawed after the note
indicator are weird.
Hello Engi,
Ahm, let's see: Could you provide more information on
Alan Ingleby escreveu:
All you need to check for is that the insert position is at the start of the
field, and that there isn't already a - after the insert position. The OS
will then handle all the other issues for you (Such as making sure you don't
enter more than one . for example.
You got it.
Aaron Ardiri escreveu:
UInt32 depth = 16;
while (WinScreenMode(winScreenModeSet, NULL, NULL, depth, NULL)
depth = 1;
*g* many ways to skin a cat
Heheheh, surely ! I liked this second ... Better than the first one.. :)
This would only have trouble if you wanna extend the display to 24 bit
Hi Ken,
kcorey escreveu:
The code works just peachy if I do a FrmGotoForm instead of
popup/return, though the logic isn't quite as clear in the program.
AFAIK, FrmReturnToForm only works well with the FrmPopupForm. They were
meant to be together... :)
Don't try to FrmGotoForm, because
Paul Johnson escreveu:
It's actually quite easy. You need to write a batch file and overwrite your
cl.exe with it. You can then get as clever as you like, but don't forget to
put it back again when you wanna write for pc again. I think theres also
somewhere to specify an external compiler and
Jim Cooper escreveu:
Not that strange. Hardly a week goes by on the Delphi newsgroups without
someone asking a similar question about Palm/PocketPC/...
Hehehe... It may be my lack of vision on this... :)
That's the reason that new blood exists.. These guys don't have any locks
on their heads...
kcorey escreveu:
If I use the PopupForm/ReturnToForm pair, it crashes.
Cool this one, huh ?? :)
Questions: Are you using modal forms ? I *think* the Popup/ReturnTo pair
only works with modal forms... Although I never used them to anything
not-modal... :)
If I change *both* of those to
My main question is how do I compile a program into a PRC in Visual Studio?
Is this possible? Pointers to tutorials gratefully received...
Heheheh... Really newbie and strange question... :) (well, strange to me...
)
Well, you could find out the SHARK develpment kit, with Aaron Ardiri, so
Hi Régis, greetings from Rio,
Well, since my first old days of PalmOS C programming, I do not assign
strings to the structs like you're doing:
/*Now, I'm changing the struct content...*/
theStructure.CodRca=8;
theStructure.NomeRca=Regis Daniel;
theStructure.Senha=saf;
I usually
Sorry by the offtopic message crew, but is anybody receiving some annoying
messages from a Palm-L stuff ? It seems to be a spam to me, and very strange
since they only tell things about some Palm Solutions...
Strange...
-- J. Machado
[EMAIL PROTECTED]
--
For information on using the Palm
Alexandre Barreto escreveu:
being email a MailAddRecordParamsType
Are you sure this is the correct type ? Shouldn't that be a
MailAddRecordParamsPtr ?
Cheers !
J. Machado
[EMAIL PROTECTED]
Palmcon Consultoria (www.palmcon.com.br)
+55 21 9766-8116
--
For information on using the Palm
MemPtrSetOwner(parametros, 0);
err = SysUIAppSwitch(cardNo,ClipID,sysAppLaunchCmdOpenDB,parametros );
return err; // ErrNone (0) means no error
}
I don't have the reference guide with me now, but shouldn't you pass the
parametros parameter as a pointer ? Something like:
err =
Alexandre Barreto escreveu:
if (!(parametros = MemPtrNew(sizeof(SysAppLaunchCmdOpenDBType {
return sysErrNoFreeRAM;
}
i tried that but i keep geting the erro in compilation
ilegal implicit conversion from 'void *' to 'SysAppLaunchCmdOpenDBType
*'
Typecast it.
if (!(parametros =
Hi Zhang,
Maybe you're a bit new to PalmOS programming, and here's a little tip:
PalmOS doesn't have a goot set for math functions, and in it's early days a
simple floating point add should be done through some complex API's.
Mathlib is a thirdy party lib that's have been incorpored to some
Hi Ken,
I had this problem once, with CW 6.0 (evaluation). This seemed (to me) to be
a bug of the compiler or just a settings effect on the properties of the
project.
Try to initialize your variables as:
UInt32 a = 1;
UInt32 b = 2;
UInt32 c = 3;
This will surely tell the compiler you're
Ben Combee only: Aren't you on vacation man ? Or already back ?
-- J. Machado
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
Aaron Ardiri escreveu:
for me, its normally an opportunity to do some more coding on
another project *g* today, it was a nice 31C here in stockholm
so i took my laptop to the swimming pools.. sick, very sick.
did some coding inbetween water dips :)
Hehehehe, REALLY SICK that... Man you should
Hello Marcio, greetings from Rio de Janeiro,
Take a look into the Palm Plugged In program (pluggedin.palm.com).
There's a specific SDK to use with the Zire71 camera.
Cheers !
J. Machado
[EMAIL PROTECTED]
Palmcon Consultoria (www.palmcon.com.br)
+55 21 9766-8116
Marcio Pacheco escreveu:
Hi David,
I guess, what I'm asking
is this: if in a year or two practically all PPC development is being done
with the .NET Compact Framework, is it possible that the ordinary Win32 API
could just go away? (Or is .NET still using the Win32 API under the hood).
Well, like Aaron said: you just
Aaron Ardiri escreveu:
even better is to rid the event loop totally. use a callback/listener
approach. let the DAL handle all the event specific stuff :)
This one (good) solution is how we implement it here in our company ! :)
Although there are some cases the developer may want a event loop.
David Beers escreveu:
OK, I'd like to figure this out and work on it as a long-term project.
Surely it is !! :)
My vague conception of this is that the DAL is an API that will make calls to
functions that are wrappers for parallel Palm and Win32 API functions.
YeP. That's the way. DAL is just a
Aaron Ardiri escreveu:
Lua means writing in a new language tho - and, unless you are doing
pre-parsing before installing to the device - it means you'll be acting
as an interpreter (even converting into a bytecode requires interpreter)
[ie: Java]
That's right. Although Lua has a very small
your API is C, but, how do you bind the Lua to C? via scripts (parsing)
in real time, or, you have some funky compiling process to make a .prc
or .exe so it runs 100% native?
Here we do a bind with the precompiled stuff. We do the parse at real time
(not good), but we create a 100% prc, without
Aaron Ardiri escreveu:
adding support for other platforms? (ie: non palm/pocket pc). have you
looked at doing native ARM version?
Hehehe, my applications doesn't need THAT kinda speed right now... :)
I'm still the burocratic
Well David, we do it here in Hands, at Brazil. :) That's the reason why i
suggested it.
I can't open the technology to the list (since it's private from my company)
but I can surely say to you: It works and works fine.
There's a port from Lua to PalmOS, named PLua, but it's not open source.
snip
Jose, for those of us who know nothing about Lua, can you summarize what is
/snip
Ooops, sorry David, my fault :)
Well, let's make a small brief:
Lua is a small scripting language that was born here in Brasil to solve some
development problems for our Oil company (Petrobras), and
Arpan Dalal escreveu:
I am using pInstaller to install the app on my palm.
Initially I tried using a xml file but I ran into
error: Problem calling initial library. Installation
archive may be incomplete or corrupted. I have no
clue what this means.
This is a little bit off-topic, but you should
Sadanandam O. escreveu:
Can anybody suggest me pdb viewer on desktop side. I have gone thru
several search engines. Could not find ny.
Try xPDF, freeware, great utility. You can find it on PalmGear, or with a
little googling.
For viewing prc files the PRCExplorer is the best, IMHO.
Cheers!
... you could also try Java to keep at least the business logic platform independent. The UI won't necessarily work nicely with Java as the UI offered by Palm is too poor.
Or you could move to Lua (there are ports to PalmOS and PPC) and keep all
your business logic, and also don't worry with the
Aaron Ardiri escreveu:
There are such tools, but they typically require programming in a
language that's a higher level than C or C++. I don't know of any
tools for C/C++.
while 'tools' may not exist at the moment to do this - it doesn't
mean that it cannot be done. we currently have a single
Hi folks,
Does anybody know to setup the Zire71 simulator to use a PPP connection to
access the internet ? I'm actually trying to test the new webbrowser, and it
would be good to share my PC Connection with the simulator.
Any points ? Ideas ? Docs to read ?
Thanks in advance.
J. Machado
63 matches
Mail list logo