Hi I have a popup trigger which should show a dynamically loaded list. I get
lot of errors when trying to display the list.
Note : List visible items are set by the code. So initially visible items
are zero.
How can i stop the list dispalying when form loads up. It should only show
when
I think it could be hard, but not impossible. I would try to turn the
columns usable or unusable, as my HScroll goes left and right. For example,
when my app comes at first time, I can see my first column. If user clicks
at right arrow of the HScroll, I turn my first column unusable
Try replacing
Char *encDate = 34857384573498573498;
with
Char encDate[] = 34857384573498573498;
Also, have you try the following before?
StrCopy(record.Date, 34857384573498573498);
On 1 Apr 2002 at 19:02, Ed wrote:
With the code below, I get the following error:
just read from
But when I run make from the example 'multiapp sdk
can't be found ?
is there a special variable setting on w2k ?
can someone give me a web site which is up to date and
efficient ?
Because there is a lot of good web sites about palm
but out of date or working with IDE but not with prc !
regards
Subject: Re: Cradle event as a custom notification
From: Dave Lippincott [EMAIL PROTECTED]
Date: Mon, 1 Apr 2002 13:58:28 -0500
Run the Prefs app, select buttons from the drop down list then
tap the button labeled 'Hotsync...'
- Original Message -
From: Jatin Sethi [EMAIL PROTECTED]
Subject: How much it's take for XTNDConnect server
From: Pham Nguyen Tung [EMAIL PROTECTED]
Date: Fri, 8 Mar 2002 08:51:46 +0700
I try installing and using XTNDConnect server.
I think that I need it for my work. Can you tell me how much it's take?
Thank you very much.
A lot of time and money,
Go to http://www.peekpocket.com/article.php?sid=162mode=order=0
I think you could find how to do it.
Jatin Sethi [EMAIL PROTECTED] a écrit dans le message news:
[EMAIL PROTECTED]
Thanks Dave:
I am aware of this. The problem in doing this is that the application
would
not get the event. It
You could always write a small stub program who's only job is to launch your
app with a custom launch parameter. Then link the stub to the cradle
button.
Thanks Dave:
I am aware of this. The problem in doing this is that the application
would
not get the event. It would be launched but
Hi I have a popup trigger which should show a
dynamically loaded list. I get
lot of errors when trying to display the list.
Of course, no one can help you with those without
more details.
How can i stop the list dispalying when form
loads up. It should only show when poptrigger
is
hi there,
this is a repost from handspring-forum, sorry for this but it seems
not to be used so much. :-\
I'm interested on Treo developing and I'm currently working on a
freeware app. what I need is in one word: *documentation*
I'm studying the Handspring headers, I finally got some GSM
I am trying to write my first Palm application. I am having some trouble
with reading values from a PDB file I created from a database. I have 7
Fields and they are all character strings in the database. Every time I try
and read one I get a bad memory reference error. I am getting the memory
Petr,
1) May I something simulate internet
connection over Palm Emulator?
Yes, you can tell the emulator to use your
desktop's network connection. Select
Settings-Properties and make sure the
Redirect NetLib calls to host TCP/IP
checkbox is checked.
2) How can I control data which come
Kade:
You have a basic C misconception here.
A DB record should (can only) contain that actual strings themselves, NOT
pointers to them.
-bob mckenzie, palmsource pdx.
-Original Message-
From: Kade P. Cole [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 7:35 AM
To: Palm
Is it possible to create a font resource and not have it connected to a
certain project? Can I have an independant resource on the palm device that
can be accessed from several different apps? If this is possible, how could
it be accomplished?
Lance Gregory
--
For information on using the Palm
I must not have explained it well. The Databse record in the PDB DOES
contain the character strings. The struct that I am using to access the DB
record is the one with the pointers in it.
Kade
On 4/2/02 9:51 AM, Robert McKenzie [EMAIL PROTECTED] wrote:
Kade:
You have a basic C
Can somebody please shed some light on the subject of converting an MSAccess
db to Palm. What I'm trying to implement is hot syncing my palm to read a
calendar db I made in Access on the web.
Any ideas?
Ed.
--
For information on using the Palm Developer Forums, or to unsubscribe, please
Your structure uses char pointers. You can't do that and load/unload the
structure directly into the PDB. You're only saving the address of the
Char* in the PDB file which will become invalid as soon as you release the
memory they use.
If you plan to load/unload the structure directly, try:
Kade:
Perhaps the following snippet will give you some ideas:
// note that this function leaves the record locked
// if and only if it returns 0 (no err)
Err YourUnpack(
DmOpenRef pDb,// IN database reference
UInt16 index, // IN record index
MLSDB * pRec) // IN/OUT pointer to
hi ,
i tried aking changes you suggested. but it gives the
same old errors .
i.e.bus error and address error.sometime it gives
errors likethe application just wrote to an
unallocated chunk of memory
my code is 39k.
so i made a sample code with these functionalities
which is only 11k.
still the
--- Lance Gregory [EMAIL PROTECTED] wrote:
Is it possible to create a font resource and not have it
connected to a certain project?
Yes
Can I have an independant resource on the palm device
that can be accessed from several different apps?
Yes
If this is possible, how could it be
--- siddharth saxena [EMAIL PROTECTED] wrote:
i tried aking changes you suggested. but it gives the
same old errors .
i.e.bus error and address error.
...
case showbutton1:
{
char *buffer;
...
while(! FileEOF(streamshow))
{
count=FileRead(streamshow,buffer,sizeof(Char),1,NULL);
You did
Hello,
I am quite new in Palm programming. I have tried to build a small
application to be familiar with the platform. The application runs OK
with Rom Images from 3.3 to 4.0. I tried to run it with Rom Image 3.0 or
3.1 and I have problem. I got a warning as the following:
The application
This is what you are supposed to do, as long as you realise that the
pointers in your struct point to memory in the database record. If you do a
MemHandleUnlock in the //etc etc, then your struct will no longer point to
valid memory.
You can use StrLen on the pointers to find the length of
Does anybody know if there's a way to run an application with the LCD
(display) turned off to conserve power? I've heard that the LCD drains
a lot of power and the application I'm writing doesn't need any
interaction from the screen and may be up and running for a long period
of time. I
Hello,
I am wondering if there is a way to lock applications so that they can't be
beamed, or unlocked by Beam Crack. I know there is a security bit in
codewarriour that locks the application, but it seems that Beam crach will
unlock it and it will be able to be beamed. is there any other
Rania Saymeh [EMAIL PROTECTED] writes:
is there any other tricks??
No. You have to assume that if someone has full access to a device, they
will be able to circumvent any kind of protection you can conceive. The
copy prevention bit is pretty easy to circumvent, but even if PalmOS had
a
Joe -
Thank you for your response. First, let me say that I am quite new to
the Palm, so I do not have a great depth in knowledge about the inner
workings.
What I have created is a dynamic Popup List. That is, I get data from
a DB and populate the list.
+++
procedure
Does anybody know if there's a way to run an application with the LCD
(display) turned off to conserve power?
A search of the archives for procedure alarm turned up this post by Jim
Schram:
http://www.escribe.com/computing/pcpqa/m12458.html
I would add another option to Jim's list: lock
I always was under the impression that flash memory is part of RAM? please
correct me. I tried to search for anything on flash memory on the palmOS
website, no luck, any documents or manuals around I can read about this?
about the locking of application. does that mean there is no way this can
We are trying to develop an application where we would like 2
POSES running on two different machines to talk.
These machines are on a network,and we have created sockets using Netlib.
But seem to be getting errors with the Serial Manager like
SlkReceivePacket.
(The redirect netlib calls to
If I set an alarm using AlmSetAlarm() and then the user deletes the
application before the alarm is triggered, does the alarm manager handle
this gracefully?
If I create a feature using FtrPtrNew() and then the user deletes the
application, does the feature manager clean up the feature
Hi,
I have been developing an application which dynamically constructs its UI
based on passed in data.
I have been developing with POSE 3.4 with the 3.5 color debug ROM and with
the ROM from my Visor Neo.
I dynamically create a popup trigger along with a list. This works fine on
both ROMs
Its not perfect, but have your app check the beam bit on startup, set it if
its been cleared. It won't prevent them from clearing the bit and
immediately beaming it but it would make it more annoying.
If the device has Flash ROM (not an expansion card) copy your app into
Flash. It will survive
Also, have you made your list popup save
behind itself? This should redraw
the hold in your form, and suppress the
update event. However, a robust app
does not rely on this.
Do you really need to do this? Can you even?
In Constructor, the Save Behind checkbox
only exists for forms, not
Hi all
Is it possible to open an existing palm database file??
I tried this code...
fileHandle = FileOpen
(0,addressdb.pdb,sysFileTFileStream,sysFileCAddress,fileModeReadOnly
,errp);
and fileErrNotFound is returned.
thanks
rayesh
_
I like Dave's second suggestion i.e. of a small application that monitors
the cradle and launches the application with a custom launch code.
Thanks,
Jatin Sethi
Stringer [EMAIL PROTECTED] wrote in message
news:82403@palm-dev-forum...
Subject: Re: Cradle event as a custom notification
From:
At 11:56 AM 2/4/2002 -0800, you wrote:
Also, have you made your list popup save
behind itself? This should redraw
the hold in your form, and suppress the
update event. However, a robust app
does not rely on this.
Do you really need to do this? Can you even?
In Constructor, the Save
Good questions...
If I set an alarm using AlmSetAlarm() and then the user deletes the
application before the alarm is triggered, does the alarm manager handle
this gracefully?
The docs don't say; they probably should. When your app is deleted, the
system automatically deletes any alarms that
This works StrCopy(record.Date, 34857384573498573498);
This fails = StrCopy(record.Date, encDate);
It says that Application just read from memory location X which is the unused portion
of the stack. The stack is the area of RAM
used to contain function parameters and
Ed == Ed [EMAIL PROTECTED] scribbles:
Ed This works StrCopy(record.Date,
Ed 34857384573498573498); This fails =
Ed StrCopy(record.Date, encDate); It says that Application just
Ed read from memory location X which is the unused portion of the
Ed
Looks like you are passing the variable instead of its address for the
second parameter. StrCopy expects a src and dst string address. Try passing
(Char *)encDate.
Regards,
Charu
-Original Message-
From: Ed [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Date: Tuesday,
Danny,
Thanks for the great references.
It seems the easiest and (unfortunately) sneakiest approach would be to call
the (undocumented) sysTrapHwrDisplaySleep which before OS 3.5 was
sysTrapHwrLCDSleep. This way I wouldn't have to change the overall way my
application runs.
I'm using alarms
Is it possible to open an existing palm database file??
In Palm OS, we use different terminology. A database is not a file. In
fact, it's sort of the other way around. A file stream is a kind of
database. Both are completely different than VFS files which live on
expansion cards.
I tried this
I can see why
Char *encDate = 34857384573498573498;
might fail. Because you're assigning a pointer to some temp variable. It
depends on when that temp variable decides to go out of scope, that pointer
may no longer be valid. (Although I could be wrong. I'm not a C expert.)
However, I'm
Jake == Jake Donham [EMAIL PROTECTED] asserts:
Jake What is the real declaration of Record? Sounds like you are
Jake writing off the end of the array, and hence the stack.
Um, retract :).
Jake
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
Ooops... resolved the popup trigger problem. (Don't ask.)
Still have the pixel problem though. Can anyone use WinDrawPixel in POSE?
Ellen
From: Ellen Dash [EMAIL PROTECTED]
Reply-To: Palm Developer Forum [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Subject: dynamic UI
hi guys
i am having trouble using this
function. the program runs
properly on the emulator but
hangs on palm as soon as this
function is executed. can anyone
suggest what may be the problem?
thanks,
amit
__
Do You Yahoo!?
Yahoo! Tax Center -
--- Ellen Dash [EMAIL PROTECTED] wrote:
Still have the pixel problem though. Can anyone use WinDrawPixel in
POSE?
I can, so I assume many others can, too.
WinDrawPixel, which works only on 3.5 and later (3.5 New Feature Set),
draws in the current draw window using the current foreground
From: Ed [EMAIL PROTECTED]
This works StrCopy(record.Date, 34857384573498573498);
This fails = StrCopy(record.Date, encDate);
It says that Application just read from memory location X which is the
unused portion of the stack. The stack is the area of RAM
Need to
Is there a function that takes in an ASCII value and spits out the character? Sort of
like the Chr$() function in VB... Maybe
I missed it.
Ed.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
Is there a function that takes in an ASCII
value and spits out the character? Sort of
like the Chr$() function in VB...
Ed,
Assuming we're talking about C here, check out the
char datatype in any C programming book.
If by spit out you mean printing on screen,
check out, for example,
--- Ed [EMAIL PROTECTED] wrote:
Is there a function that takes in an ASCII value and spits out the
character? Sort of like the Chr$() function in VB... Maybe
I missed it.
In C there isn't much difference between an int and a char, so you can
do something like this:
int i = 80;
char c =
Are there any things that a replacement launcher app has to do that may
not
be obvious?
These may be obvious, but I'll let you decide...
Register for and handle incoming beamed databases. You'll need to register
for extensions prc, pdb, pqa, and oprc, as well as MIME types
application/x-pilot
Greetings,
Before I get too involved with my development project(s) would anyone like
to share their opinions or experiences when dealing with CodeWarrior versus
the other 'free' choices for application tools?
-Pete
--
For information on using the Palm Developer Forums, or to unsubscribe,
I've written a simple application that views some files on mounted VFS
volumes. It registers callbacks for the sysNotifyVolumeMounted and
sysNotifyVolumeUnmounted notifications. When the memory card is inserted,
it shows appropriate widgets; when the card is removed, it hides all of the
widgets
What is the proper way of saving a Bitmap to a resource? I remember
someone from PalmSource mentioning that one can't copy the Bitmap directly,
because the bitmap header and the bitmap data may not be contiguous in
memory. I've looked in the eScribe archives, but I guess my search-fu
is
Hi,
Can someone explain me how to configure the Syncing of Palm Address book
with Desktop? I mean, how to specify which records from Address book to
Sync? I dont want to completely sync the complete Address book.
In other words, I want to apply filters while Syncing address book. Please
help.
Hi,
I have a dynamically generated list which is assigned to a popUp trigger .
This is the way how i display the list .
// The ListID is attached to the PopUpTrigger at Design time.
case MyPopTrigger:
InitMainForm(); // This func populated the list dynamically.
frm =
58 matches
Mail list logo