We're facing
a very similar problem. Haven't solved it yet. Can anyone shed some
light?
Miguel
Efrenk wrote:
Hi Jerome
We have a similar trouble. We have an app that needs to keep the current time and date (specially date). But we have discovered that sometimes (randomly) the information
I'm not sure,
but maybe you can use EvtEnqueueKey to enque the alt
key. I haven't used it, but maybe someone with more experience can shed
some light.
Mike
Michal Seliga wrote:
another day another problem :-)
now this is maybe obvious but i can't find any information anywhere. in
The table in
the PIM address book doesn't use scrollbars, but arrows instead. I
agree tables are well documented, but tables + scrollbars is another
story (maybe there is something out there, but I didn't find something
useful when I needed to do this).
Working with tables and scrollbars is a
Just make sure nothing is blocking the scrollbar. Maybe it's being
hidden by something you put unintentionally above (a label or something
else).
Miguel
Manish escribió:
Hi friends,
I am using Scrollbar in my form.
when i redraw form by using 'FrmDrawForm' during scrolling and try to
Maybe he uninstalled the library. We have almost 500 treo 650s using our
application. It uses pnoJpegLib and we haven't received any report of an
error with the library.
Good luck
Miguel
Doug Gordon escribió:
Anyone had issues with pnoJpegLib running on a Treo 650? I have a
customer who is
Hi all,
I'm using Exchange Manager to share some data between two palms. I'm
having this problem:
I'm using ?_beam;_btobex: as a prefix in the name of the file to be
sent so users can choose amongst beaming using IR or sending using only
bluetooth (no sms or mail or anything else). When I
everything. It now works fine on both, IR and bluetooth.
I hope this helps someone facing the same problem
Miguel
Miguel Angel Sotomayor Hernandez escribió:
Hi all,
I'm using Exchange Manager to share some data between two palms. I'm
having this problem:
I'm using ?_beam;_btobex
Hi all,
I'm trying to send some data from my application to the same application
in another palm.
The problem is when I call ExgSend. There is an error in the sending app:
On Tungsten E - Error: Hwr (0x002F)
On Zire 72s - Error: (0x006F)
On Treo 650 - Sorry, I ran out of battery, but is
Hi all,
I read about Web Browser 2.0 wich was created to replace WCA. I download
some examples but I don't know where to get the web browser app itself.
The ones suplied under the folder Simulator made my device crash and
reset (and crashed after every reset which led me to hard-reset two
If your getting the prc into the palm and have a pointer pointing to it,
you can use DmCreateDatabaseFromImage(MemPtr).
Hope this helps
Tinnus escribió:
Um, I think he's getting the PRC from the Internet to the Palm using
itself. So the question is: I DL a PRC from the Net directly to the
You might want to take a look at time manager's DateToAscii function and
DateFormatType structure. They help return a date in diferent formats.
Miguel
Kyle Dorian escribió:
Hi all,
I was wondering what function can be called from within an application that obtains the
date format that is
After hiding the object update the form with FrmDrawForm(FrmGetActiveForm())
Miguel
cbruner wrote:
I'm updating a label during a calculation, and then when the
calculation is done, I'm hiding the label, and showing a button.
The way I'm doing it now seems stupid. (writing blanks). There must
Logan Shaw wrote:
What about using DmSetDatabaseInfo() to rename the app's database
(and change its creator code), rather than trying to copy it and then
delete it?
I'm doing this and facing a problem in tungsten E and C. When I replace
the app by: 1. renaming existing App, and 2. deleting
that removes the backup.
Is there anything else I should do before removing the recently renamed
application? It doesn't happen on treo 650 or POSE 3.5 running Palm OS 4.1.2
Thanks in advance
Miguel Angel Sotomayor Hernandez wrote:
Logan Shaw wrote:
What about using DmSetDatabaseInfo() to rename
FtrPtrHeap allocates memory in the storage heap and I think that
MemHeapFreeBytes returns the free bytes in the dynamic heap. That should
be the reason the function returns the same value before and after
calling FtrPtrNew.
Miguel
ll wrote:
Hi,
I am using FtrPtrNew() to allocate a lot of
Miguel Angel Sotomayor Hernandez wrote:
FtrPtrHeap allocates...
Sorry, I mean FtrPtrNew allocates...
Miguel
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
David Fedor wrote:
Anytime I start thinking that a basic system service like MemMove() is
broken, it shows that I need to take a break :-)
I had to learn Palm OS programming from scratch (8 months ago) and had
to code a complete app which: stores several kind of records,
comunicates
I'm facing this problem:
I get a record from a database, then unpack it and copy (using MemMove)
into a pointer I receive in my function. It works fine on treo 600, but
not on the treo 650.
Here is the relevant part of the code:
/* Code starts here */
DBImagenesPkSC* registroActual;
problems
with encoding using the pnoJpeg lib. I know you must think that the
problem is very similiar to pnoJpegLib: 0-bytes length VFS-file
2005-05-01 09:03:00 Miguel Angel Sotomayor Hernandez. I have looked
at it and even tried encoding to a memhandle but the same problem
exists, the mem handle
if you just need to track the date and not the time (hours, minutes,
seconds) then:
DateType date;
UInt32 days;
date.year=2000 - 1904; /* The number of years since 1904 */
date.month=2;
date.day=23;
days=DateToDays(date);
days+=120;
DateDaysToDate(days, date);
remember the field year is the
another way, if you have a card reader (and a memory card), is to use
filez or fileprog (free, also) and copy the database to a memory card
and then read it from your card reader. But I guess Dr. Vasselin's
approach is easier.
Miguel
Chat2 Sai wrote:
Hi,
I was writing a file with
Don't remember very well, but I think you have to pass the bits of the
image, not the bitmap itself. However I had the same problem and I
switched to Stefan Stolz's pnoJpegLib library
(http://www.bin-people.de/pnoJpegLib/)
It worked better for me and IMHO it's better documented. Oh, yes, and
You can use feature memory to store your table wich has no limit other
than the available space. You can't write directly to it, you must use
DmWrite instead. However, you can have a pointer to your table in
feature memory and read directly from it.
You need something like this:
void *tableP;
check the same with the
pnoJpeg2QuickEncode-Function.
Stefan
Miguel Angel Sotomayor Hernandez wrote:
Good question... but I think it's not compreseed. I create the bitmap
with:
BmpCreate
acording to the Palm OS Programmer's API Reference, This function
creates an uncompressed, non
This should be a simple question. I googled and didn't find anything
relevant. Is there a function, like VFSVolumeSize, but to determine the
availbale space in storage ram? I need to let the user know when the
device is running out of space and calculate how much data (relevant to
my program)
it. So if I let the
user go very close to the limit the resulting xml and the compressed
data will be larger and wont fit in the available space.
Miguel
Chris Tutty wrote:
From: Robert Moynihan [EMAIL PROTECTED]
Miguel Angel Sotomayor Hernandez wrote:
relevant. Is there a function, like
with the
pnoJpeg2QuickEncode-Function.
Stefan
Miguel Angel Sotomayor Hernandez wrote:
Good question... but I think it's not compreseed. I create the bitmap
with:
BmpCreate
acording to the Palm OS Programmer's API Reference, This function
creates an uncompressed, non-transparent (...) bitmap
I
I'm sorry I'm posting this message again (I usually don't do this) but
maybe I posted it in the wrong thread and no one is reading it. I won't
do it again I just need you people to read it, maybe someone have an answer.
I'm facing a problem but since I've never used this library before I'm
Thanks for your reply!
Stefan Stolz wrote:
Hi!
Your Code-Part looks ok.
Where have you run your Programm? On a real Treo or in the simulator?
I'm running my program on a treo 600 because I can't get the camera work
on the simulator.
What are the Dimensions of the Image? How many kB are Free
Stolz wrote:
Ok, a 160x120 should be small enough.
Is the bitmap compressed? Unfortunatly i've never though about this, so
this could be the failure.
stefan
Miguel Angel Sotomayor Hernandez wrote:
Thanks for your reply!
Stefan Stolz wrote:
Hi!
Your Code-Part looks ok.
Where have you run
use StrIToA to convert the number to string. Then use WinDrawChars or
WinDrawTruncChars.
Miguel
Andre Augusto wrote:
Hello everybody!
I have a table and I use a function to draw some caracters taken from
a structure
...
case 1: //UnidadeColumn
WinDrawTruncChars( RecordPtr-Unidade,
I downloaded the library and started using it. I think I could help with
the documentation (examples storing images to VFS or something like
that) if I can make it work.
I'm facing a problem but since I've never used it before I'm not sure if
I'm doing something wrong. I want to store an image
Hi all,
I'm using Yves Piguet's JpegLib and I'm facing the following problem:
I capture an image with the treo's camera. Then I store it in a sd card
with JpegLibCreateDataVFS. The problem is: if I create the image
descriptor with JpegLibCreateImageDescrPtr using 3 as the number of
components
I think the problem is the way I'm feeling the pixels array. My
original image is 16 bit depth and the image to encode is stored in a
UInt8 array.
I'm sorry, I made a mistake. By I'm feeling I mean I'm filling, of
course (I don't feel any pixel ;).
--
For information on using the Palm
Hi everybody,
I want to use this library (JpegLib) in my project but I haven't found
any other documentation than the .h file itself and the sample program
(maybe this should suffice, but if there is something else out there it
would be great). Does anyone know if there is some other
Ingbert Grimpe wrote:
Anyway, usually the .h and the sample app is enough, even if you are
quite a newbie. I am a newbie and I made it working - that should
prove my words ;)
I would suggest the ARM port from Stefan Stolz if you want a high
speed solution for ARM devices.
Thanks Ingbert.
do you want to know if the cell is checked or not? or do you want to set
it programatically? you can use TblSetItemInt or TblGetItemInt (check
the Palm OS Programmer's API Reference
http://www.palmos.com/dev/support/docs/palmos/PalmOSReference/ReferenceTOC.html).
Archana Brahmankar wrote:
Hi,
I don't know how is it in other environments but with prc-tools you
create 2 or more files, depending on how big and complex your app is.
One file is your .c source code another is your resource definition file
(where you specify your forms, buttons, etc) and your header file (if
any). And the
Thank you very much, I moved more functions to another code section and
now my app is working again. I haven't had any problem with the linker
that I can't solve adding code sections (or moving functions from one to
another code section) but if I ever face this problem I will use the
filter
Hello everybody,
I use several tables in my app but I'm facing a problem that I didn't
see before. When I select a popup trigger it sets a variable and then
call a function that updates a dynamic array wich sets the row Id and it
is also used in may table drawing callback function to get the
I've searched in the forum archives and I've seen similar problems, but
I haven't been able to solve my problem yet.
I added a couple of functions to one of my source code file. Because of
the size, my application has 4 segments. After I added these two
functions to storecheckMain.c I noticed
on it.
The question is: why the assembler complains about the sections (not
explicitly)? or, with the information I'm giving, what the errors mean?
Thanks anyway for your help
Ton van Overbeek wrote:
On 2005-04-21, Miguel Angel Sotomayor Hernandez [EMAIL PROTECTED]
wrote:
I've searched in the forum archives
You have to put the folder into /opt/palmdev/include and then run
palmdev-prep. But you might have some problems like me (I'm using
palmone sdk 4.2). The folder names in the sdk doesn't match the name
used in the #include's in the .h files. Most of the folder names are
lowercase while in the
Adrien, thaks for you reply.
When a close button is tapped I do the following:
CameraLibPreviewStop(gLibRefNum);
CameraLibraryClose(gLibRefNum, OldLibrary);
SysLibRemove(gLibRefNum);
and switch to another form (depending on some conditions).
But... wait a minute, I just realized that removing the
IMHO, basically the NVFS is a step in the right direction.
I agree, maybe in the near future we will se palmone devices using ram
for dynamic heap and flash (and a better implementation) for storage
heap (and maybe a filesystem)... maybe not. But right now we are facing
the change process that
I hope someone can help me find out why I'm facing this problem, maybe
someone who understand how camera lib and windows work. Maybe I'm
missing something.
I added camera support to an existing application for treo 600. I
initialize the camera by doing the following:
- setting the screen mode
I don't know which memory costs more, but on higher-end models like the T5 and
650, I doubt the cost difference was the deciding factor. In fact, it wouldn't
surprise me if the net cost was higher using NAND. IMHO, the change to
non-volatile storage is actually very welcome and in the long term
I don't think non-volatile is a bad idea. Actually I'm pretty sure there
was a reason, backed up by a research, to start using it by palmone.
I'm not saying non-volatile memory is less or not reliable but what I
think is that many times the phrase you won't lose your data is
misused to improve
I'm doing the same with a jsp. I think there is a library in the palmone
sdk for implementing the http protocol in your app, But what I do is to
simulate an http request from my app sending some parameters along with
a file. Read about the http protocol. You might also want to read this
I think this question has been asked in the past but I haven't found an
answer to suit my needs. If this has been answered please point me to
the answer (maybe a link in mail-archive.com or something).
My app sends a compressed xml file over an http connection (I simulate
the http
What error code do you get when using www.xyz.com (or the real host
name). The error codes are very explicit.
It seems you are trying to connect to a webserver. If you are, then keep
reading, else, don't.
Since you are connecting to a web server (right?) You won't get any data
if you don't
It would be easier if you send some code snippet so we can figure out
what's wrong.
versha khar wrote:
hi all,
1)i am using NetMgr.h for my internet [client]application , i use function NetLibGetHostByName which Looks up a host IP address given a host name , i use a host name like
Fernando, I faced a versy similar situation a few months ago. The app
was for monitoring POS and it had to send and receive infotmation via
wi-fi using a tungsten C. Sice it was the first time I developed an app
for palmOS I had to learn a lot of palm os programming stuff.
First, I recommend
sure it will be hard. But you don't need to make things more complicated
than they are.
1. you don't need SQL in your palm os application. What you need is an
interface in your server to comunicate with your app. Make it as simple
as possible. This interface will handle all the sql stuff.
2. Do
Jennifer,
This app has another code section, called audio. It is necessary for
applications larger than 64KB. multiple code in Demo.ref tells what
the extra segments are. The __attribute__ ((section (audio))); in the
header file is to tell that this function belongs to another code
section. in
I don't know in ohther environments but with prc-tools it is done with
buidl-prc. Read the docs, because there are two ways to pass parameters
to build-prc.
I use:
build-prc -n My app Name -c (your app id) *.bin -o myapp.prc
If your using prc-tools I hope this helps
Miguel
Tony Janke wrote:
I
Download from:
http://www.zlib.net/zlib-1.1.4.tar.gz
By the way, to include it in your project using copera's port, you
should use the SysZlib.h file from the same source (copera). You
shohuld't get any errors from the compiler, I haven't had any issues.
Miguel
Henk Jonas wrote:
jo wrote:
You could also read Foster's Palm OS Programming Bile 2nd. edition, it's
always a good start point for building palm os applications, it's very
comprehensive and it covers the most popular development tools.
Aaron Hansen wrote:
Hi Marcus,
It sounds like you are wanting to know how to handle and
Hi Jo, there is not a downloadble palm version ready to compile, or at
least I haven't seen any. What I've found is a patch for the zlib
library written by Jean Loup Gailly and Mark Adler. Check this out:
http://palmzlib.sourceforge.net/ (Tom Zerucha's palmos port for 68k
processors)
I haven't had any problem neither, it's working just fine in my app and
it's extremely fast. Give it a try or patch the source code and modify it.
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/
I'm not sure, but maybe the button coordinates doesn't correspond to the
screen coordinates (they are relative to the form). I'm just guessing
but maybe that's your problem. You should substract the offset of the
form to the x and y of your pen event and you should get the right
values where
Read the thread static link library where Brandon Roberson gives a
detailed explanation on how to include a large prc file into multiple
resources using prc-tools and how to merge this resources into a single
prc. It's quite easy and the code included works just fine. Took me less
than 5
Hi Brandon, thanks a lot for your reply. The reason I link the library
statically is because my client wants what he calls a single product.
He didn't want two prc's because the product will be used for people
with none or very few knowledge of technology (I still don't understad
how 2 instead of
GrfSetState doesn't seem to work in treo 600, It works on tungsten C. I think
it's because treo 600 doesn't have grafitti 2 feature set, does it? is there
any way to have numlock in treo 600?
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see
there are conduits for linux, for programs such as jpilot, pilot-link or
gnome-pilot (and others), and because these are open source programs all
the source code is available, so it would't be difficult to write them.
Ingbert Grimpe wrote:
On Wed, 23 Feb 2005 15:33:44 -0300 (ART), Dorotéa
wrote:
On Wed, 23 Feb 2005 12:47:53 -0600, Miguel Angel Sotomayor Hernandez
[EMAIL PROTECTED] wrote:
there are conduits for linux, for programs such as jpilot, pilot-link
or gnome-pilot (and others),
Doesn't 'conduit' imply a certain interface and kind of invokation? I
have a TCP/IP sync
It's useful when using a keyboard, maybe that's why it's available again
Erik Rauch wrote:
So, it sounds like they changed their mind and then changed it
back again with 5.2.1. :-)
- Logan
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see
Brandon Roberson wrote:
Hope this helps.
Brandon
Man, sure it helps, and hepls *a lot*. Thank you for such a detailed
explanation. You covered every single step. I think it's clear enough
and solves my problem. I'm using feature memory in my app so it's easier
for me to understad your code.
Thanks. I read the example and modify my function. Now it works fine. I
had an error reading the compressed data (in the server) too. Now it all
works just fine. Thank you for your help.
Miguel
Ingbert Grimpe wrote:
On Mon, 21 Feb 2005 15:38:59 -0600, Miguel Angel Sotomayor Hernandez
[EMAIL
I hope someone has done this before. I need to include the zlib
compression library into my project. I'm using prc-tools and linux, my
app is multi-segment. Currently I load the library in my app when I need
it (I installed the library as it is available, as a prc) but I'd like
to include the
).
Anyway, if you have a hint I'd like to know
Thanks
Miguel
Miguel Angel Sotomayor Hernandez wrote:
I hope someone has done this before. I need to include the zlib
compression library into my project. I'm using prc-tools and linux, my
app is multi-segment. Currently I load the library in my app when I
I need to compress data using zlib in my app. I followed Ingbert
Grimpe's approach posted in another thread (thanks for your reply Ingbert).
What my app does is:
People capture some data based on information stored in databases. The
reports are saved in other databases and when the user is
Henk Jonas wrote:
Miguel Angel Sotomayor Hernandez wrote:
I need to compress data using zlib in my app. I followed Ingbert
Grimpe's approach posted in another thread (thanks for your reply
Ingbert).
What my app does is:
People capture some data based on information stored in databases
things right? am I doing deflate and using the values
returned right?
Thanks for your help!!! I really appreciate it.
Ingbert Grimpe wrote:
On Mon, 21 Feb 2005 14:11:48 -0600, Miguel Angel Sotomayor Hernandez
[EMAIL PROTECTED] wrote:
First, thanks for your reply. Now, my webserver is running jsps
Andre Augusto wrote:
Hello. I need to know where can I get information about wireless
programming, and since you are using Tungsten C (as I), I hoped you
could help me on that Thanks a lot!
if you mean wi-fi, then any network programming book (such as O'Reilly's
Palm OS Network
Hi everyone,
Has anyone used copera's or Tom Zerucha's port of zlib for compressing
data? I need to compress some data I send over tcp sockets. Because it
is a large amount of data I use feature memory. Has anyone done this before?
Here is a code snippet:
Char *destino;
Char *origen;
I'm facing a really strange problem. I'm initializing some variables and
pointers to work with a table wich has some lists. Here is the code
where it is not workin. I just don't understand why doesnt work.
i=0;
while(i gLibPreguntasVisibles){
UInt16 posi=i;
yeah, forget about posi, it was created when I noticed that i didn't
keep the value it should. posi was intended to keep the value, actually
it was only for debuging purpose.
Thanks anyway
Clive Walden wrote:
I am not much of a C/C++ person mainly using Pascal; but I will venture two
thoughts.
I'm new at palm programming (a couple of months) and I need to write a
program to take pictures from a camera. After looking for a while I
finally found the palmone sdk and the CameraLib-camL library. The docs
say that it is compatible with the treo and zire cameras but I want to
know if
I did this in my app. In my load data callback function:
FieldAttrType attr;
FldGetAttributes(campo,attr); //campo is the FieldType pointer I get in
my callback function
attr.justification = rightAlign;
attr.numeric = true;
FldSetAttributes(campo,attr);
However, justification doesn't work very
80 matches
Mail list logo