I want to know if background Applications run in palmOS
thanx regards
Dinesh.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
Hi
To show or Hide a column you can always use TblMarkRowInvalid() to mark it
inavalid and then set the usable attribute.
And In this way the Horizontal Scroll bar or somthing like Grid Control is
possible. I have done that if anybody wants to do the same please free to
ask me.
With Regards,
Hi Bob
Thanks for that - as a test, I displayed the record Attribute, Local ID and
Chunk ID (which I guess can be displayed as a UInt32 - yes?) returned by
DmRecordInfo - it gives
64-1517652-26279116 when the Attribute is 0
and
65-1517652-26279116 when the Attribute is 1
If I then set the
Hi John
Try this:
attr = ~dmRecAttrCategoryMask;
attr |= cat;
Thanks for that but it makes no difference unfortunately.
It seems that the attribute is being set correctly.
Paul Sanders
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
Hi Bob
DmQueryNextInCategory will return NULL (0) if there is no next record. I
trust your loop looks for this and terminates in this case
I hope this is covered by the line
while ((mh = DmQueryNextInCategory(dbPtr, index, CurrentCat)) != NULL) {
I haven't written in C for quite a few years
In short:
No, they're not -- unless you're willing to do a tremendous amount of
complicated hacking.
On Thu, 11 Apr 2002, Dinesh Kumar wrote:
I want to know if background Applications run in palmOS
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
Many thanks for all these good hints.
Well, Glenn I already have quite a lot of comments in the code
before every function and on top of every .c or .h file.
As you guessed, I would like a tool to improve this kind of
documentation with a tool-generated overview... ..
so I'll test the proposed
Try grabbing a copy of the V8 demo and see if that works for
you. You
won't be able to build your current project, but some of the projects
that ship with it should be testable.
Hi again Ben
Ok - I download and tried version 8 with one of the sample apps (Switch)
- and it wasn't any better
hi,
i have two questions -
1) when i do hard reset, i know that the palm is erased, but is the
data realy erased or just the indexes in the database (like deleting
file in the PC) ?
2) is there any good (free?) programs to do a COMPLETE dump of the
palm's memory, not just a dump for a single
Hi fellas
I have this problem with filling a list box!!!
Can someone help me out
i have a delimited string
eg Water~Milk~Coke~Pizza##
and i want to store this in an array of strings
i.e ReadArray[0]=Water
ReadArray{1]=Milk etc.
ReadArray is of type Char**
i need this coz i have to
I have my visible items in Constructor set to zero. Is that what you are
talking about?
On 4/10/02 10:17 PM, in article 83464@palm-dev-forum, Matt Disher (TiBook)
[EMAIL PROTECTED] wrote:
Just don't show as many items...
If you have a list of 70 items but only have '5' visible then you'll
On 4/11/02 12:49 AM, in article 83472@palm-dev-forum, Steve Mann
[EMAIL PROTECTED] wrote:
I thought the system handled
these for you automagically? Do I need to handle drawing and implementing
those little scroll arrows?
The system should. Are you defining the lists just using
Man, there's a very little light at the end, I can see it, but very
little... hehe... in a new app, just having a form with these UIs, it
worked well. Now I'll debug my app, to search the problem... Let's debug
it...
Thanks for everybody,
FabrÃcio de Paula
- Original Message -
Hi,
I was just wondering how exactly i would go about putting a scroll bar in a
field??? in the constructor i have the Has scroll bar option selected and
the dynamic size option also selected. what else might i need to do, the
form is only displaying one large field and i'm using fldInsert to
--- Clifford Jones wrote:
The simulator will not allow a modal dialog box to be
displayed anywhere except at the bottom of the screen
without showing an error.
This type of artifical limitation ...
This is not an artificial limitation. The OS can not handle screen
updates properly
Hi
what ur telling is correct.
But i tryed like that and i did n't get it.
So i have gone in this way. and i got it.
Once you draw table, if you want to do insert a row or hide row
or
hide a column, you have to follow this way
On Wed, 10 Apr 2002 Rohit_Shankar wrote :
Hi ,
If I need to
--- Andy Black [EMAIL PROTECTED] wrote:
I have my visible items in Constructor set to zero. Is
that what you are talking about?
Try setting the number of visible items to something that will fit on
the screen (2, 5, 11, whatever there is room for).
I discovered what was the problem. Let me explain...
When you have an app that process ctlSelectEvents (who doesn't do it???),
you must set var. handled=true and execute break, to exit the switch (C
stuff...). Every app that I made still today I execute these two lines after
all code for
On Wed, Apr 10, 2002 at 10:29:08AM -0700, Clifford Jones wrote:
Now comes the PalmOS 5 simulator(don't tell me how
long it's been available, I know. It's irrelevant). The
simulator will not allow a modal dialog box to be displayed
anywhere except at the bottom of the screen without
showing
Ok - I download and tried version 8 with one of the sample
apps (Switch)
- and it wasn't any better I'm afraid. It still hangs the device
whenever it hits a breakpoint.
When you hit a breakpoint, what do you see in the IDE? Does the debugger window have
code in it? Can you step through
Dinesh,
Even though the PalmOS is a multitasking OS part of the licensing agreement
that Palm has with the licensor of the multitasking kernel limits them to I
belive 4 threads and they are not allowed to provide APIs to application
programmers to create them. I've heard rumors that in the
Hi Heather
The IDE does not change at all - the run window still looks as if it is
running and there is nothing in the log window. The only clue is that
the app on the device is hung. I can run the application again only if
I stop the debugger (Shift-F5) and reset the device manually. This
Mark,
See page 122 of the Palm OS Companion for a discussion of scroll
bars. Otherwise, there are several good books out that provide good
examples. Two of my preferred references (other than the PalmOS docs) are
Palm OS Programming The Developers's Guide 2nd edition from O'Reilly and
Palm
Shay,
The hard reset sets the device (or emulator) back to the factory defaults,
as far as I know this includes clearing the system memory.
As far as a good memory dump program, I'm not aware of any. You might
check on PalmGear. Why do you need such a thing anyway?
Richard
At 01:33 PM
Thanks to Richard, Dan, and Steve for the feedback and references to
documentation. I will dig in and see what I can learn.
One person mentioned using the Knowledge Base. I was not able to get into
the Knowledge base from Thursday through Monday. Was that a single instance
of downtime, or is
Maybe I didnt communicate what I was looking for well. Maybe no such
document exists.
But I'm looking for a 'Supporting Hi-Res 101 Document'. Something that
gives ideas of processes.
Do you simply case every Win* call based upon a gHiRes Global nd call the
HRWin* call ?
Do you/should you
bill wrote:
Tasks* TaskData[500];
// Get data from tasks database
OpenTasksDB();
UInt16 TotalRecords=GetSizeTasksDB();
for (int index=0; indexTotalRecords; index++)
{
TaskData[index] = new Tasks;
TaskData[index]-Description=GetRecord(index);
}
CloseTasksDB();
[snip]
At 06:22 AM 11/4/2002 -0700, you wrote:
--- Clifford Jones wrote:
The simulator will not allow a modal dialog box to be
displayed anywhere except at the bottom of the screen
without showing an error.
This type of artifical limitation ...
This is not an artificial limitation. The OS
I have scoured the google groups, mostly
pilot.programmer.codewarrior, for this error, and
found many relevant documents. Unfortunately, most of
the concentrated on C/C++ differences like whether or
not a typedef is required, and didn't help me resolve
my problem. I also searched the archives of
yep, that covers it.
I would bet serious money (maybe even five cents) that your problem lies
elsewhere. The code you use to change the category looks airtight and
independent investigation says that the records are in good shape after you
do it. But when you go to display things, they are
Hi Mark,
Thanks for the suggestion. I have tried that, but it does not work, and
causes a fatal bus error.
Any other ideas? Anyone?
David Thacker
have you tried calling it the same way you call the mail app built in with
most Palm devices?
just change the creator ID to 'asc3'
I am
On Thu, Apr 11, 2002 at 08:05:44AM -0700, Brian Preston wrote:
Error : ';' expected
scDataTypes.h line 3Byte Terrain;
Project: sc2.mcp, Target: Starter-Debug, Source File: sc.c
Probably it's trying to say what's a Byte?. Ace error message, eh?
Using the Preprocess only option or
This seems like it should not be a problem. However, in my code below, I
get an error Read From Unallocated Memory Chunk. The error happens with the
second StrCat(). The StrCat is attempting to read from a Char * szListField
which is allocated with the line szListField = MemPtrNew(textLen +
--- Brian Preston [EMAIL PROTECTED] wrote:
SNIP
#include scDataTypes.h // Structure Definitions
All that this scDataTypes.h file contains is this :
typedef struct {
Byte Terrain;
Byte X;
Byte Y;
My first question is where is Byte defined, its not a PalmOS type that I'm
aware of? Do you want to use an unsigned char?
Second and this is more of a recomendataion.
In my header files I start and end them like this
#ifndef MYINCLUDE
#define MYINCLUDE
// all of my declarations are in here
Bill,
I see that this post is almost a week old so perhaps you have solved this
already.
If I'm following what you are saying correctly you are losing your form
pointer and your table pointer?
The reason for this is that you are changing the data associated with the
table/form. The
To start with you should be checking if your MemPtrResize fails, which is
quite possible, since you call szListField=MemPtrNew() after calling
szString =MemPtrNew().
Also you should use StrNCat instead of StrCat just to make sure you arn't
going past the end of the string.
At 10:24 AM
At 10:24 AM 11/4/2002 -0500, you wrote:
szListField = MemPtrNew(textLen + 1);
szListField = FldGetTextPtr(fldListPtr);
if (szListField) {
MemPtrResize(szString, newStringLen + 1 + textLen + 1); //newtext + LF +
oldtext + null
Without looking through all your code, this bit looks
From: John Crouch [EMAIL PROTECTED]
When an alert box is being displayed via the
FrmCustomAlert() function call, my app does not
receive any events. We have a need to trap events
during this time. Am I missing something or is
this correct - we don't get events when an alert
box is
From: Borislav Kolev [mailto:[EMAIL PROTECTED]]
We didn't actually implement PPP server, we implemented a simple proxy
Thanks. So the answer to the original question is: no, nobody seems to know
of an available IP-over-PPP-over-USB-to-Windows solution.
-slj-
--
For information on using the
can any body tell me what is the problem with this code.This is common
signature++ application and i developing it using code warrior 8.0 for
PalmOS 3.2.,so that i don't have old libraries.But when i run it is giving
some memory falat exception.I have marked where it is giving problem.Please
help
If you call an OS API that presents a modal dialog and blocks until that
dialog is closed, you're effectively asking the OS to run it's own event
loop for that dialog. It can't very well run your event loop if it's not
going to return until the dialog closes.
If you use FrmDoDialog to present
This isn't really a dev question but you guys may be able to help out.
A friend of mine is looking for an app to essentially turn his Palm m515
into a Serial Cable to a Serial IR gateway. ie. to receive incoming data
from the universal connector and to spit it back out the IR port.
I hear the
Using the procedural alarms feature of the alarm manager, it is possible to
set up an application so that it gets a chance to run once a minute, even
when the device is off. You can run even more often while the device is
on. This is still just a single thread, but you're given a chance to do
On Thu, Apr 11, 2002 at 01:25:41PM -0400, Will Lau wrote:
This isn't really a dev question but you guys may be able to help out.
A friend of mine is looking for an app to essentially turn his Palm m515
into a Serial Cable to a Serial IR gateway. ie. to receive incoming data
from the
In article 83500@palm-dev-forum, [EMAIL PROTECTED] says...
Hi Heather
The IDE does not change at all - the run window still looks as if it is
running and there is nothing in the log window. The only clue is that
the app on the device is hung. I can run the application again only if
I
while ((mh = DmQueryNextInCategory(dbPtr, index, CurrentCat)) != NULL) {
[snip]
I am testing with a list of 50+ items and changing item 2 - so it
shouldn't
return NULL, just skip to the next record.
Are you changing the records as you iterate through them? Doesn't this
cause problems for
why not go the extra step and simply *ask* the user what
machine s/he has? It would be trivial to present a popup list of known,
supported suspects.
No, you misunderstand. There's no problem if it's a known, supported
device. You don't have to ask the user anything in this case, because you
Hi all,
I'd like to run Hotsync from an application. I can do this nicely using
UIAppSwitch, which means my application quits.
When I try to run Hotsync using SysAppLaunch, HotSync crashes with a fatal
error.
Any information will be appreciated.
Eric
--
For information on using the Palm
Eric,
all you need to do is stuff the hotsync virtual key into the event
queue. I'm not sure exactly how right off the top of my head but thats
where you need to be looking.
Richard
At 08:45 PM 4/11/2002 +0200, you wrote:
Hi all,
I'd like to run Hotsync from an application. I can do this
DmRecordInfo (dbP, rec, attr, NULL, NULL);
attr |= dmRecAttrDirty;
DmSetRecordInfo (dbP, rec, attr, NULL);
Can anybody see a reason why this code would not set the dirty bit
assuming that dbP is an open DB, rec is a valid record number in that DB
and attr is a UInt16?
I set it, and then I check
The cleaning up dialog used during HotSync is for most users in the
Netherlands not that interesting.
It is a bit vague, but for many users, this is the appropriate level of
detail.
After advice of a reader I use InsertionSort instead of QuickSort to keep
my
database in order.
You should
Please don't crash the user's device, even if s/he is impatient; it only
serves to further frustrate the user.
I don't agree. IMHO, this logic is desirable when:
1. There's a very good chance the library will work.
2. There's only a small chance it will crash.
3. There's no chance the crash
Are you seriously considering to release an app that may reset the customer
device until the right controler is found ?
I would; first of all, you don't have much better choices anyway. You could
(and will) make best guess based on some feature values, but you may still
need to do it.
The above approach is like asking someone for directions who also has no
idea how to get where you're going. Keep in mind
that not all Palm OS devices are as forgiving as others with regard to
reading-from/writing-to inappropriate memory addresses. You very well may
cause the user catastrophic
At 1:25 PM -0600 2002/04/11, C. B. Schofield wrote:
1. There's a very good chance the library will work.
2. There's only a small chance it will crash.
3. There's no chance the crash will harm the device or data.
4. The user is informed in simple terms of the possible minor inconvenience
of the
Unfortunately, your arguments are based on wildly invalid presuppositions.
Jim,
As I said, the logic is desirable under the conditions I described. I did
not claim that those conditions exist. If, in fact, you can render a Palm
inoperable by _reading_ from an invalid memory location, then
Resetting the device is NOT that bad thing, if you know it won't cause
You and I know resetting a device isn't a bad thing, but our customers
sure think it is. A crash (good or bad) means a lost sale for us.
When my Dad (for example) incoulters a Fatal Exception on his device he
calls up tech
At 2:32 PM -0500 2002/04/11, Borislav Kolev wrote:
Can you *fry* device or cause data loss by *reading* from an illegal address?!
Only in certain cases where reading an address resets a hardware timer (which could
cause starvation if performed at the wrong time or in a very tight loop for
DmRecordInfo (dbP, rec, attr, NULL, NULL);
attr |= dmRecAttrDirty;
DmSetRecordInfo (dbP, rec, attr, NULL);
This is a no-op, at least on Palm OS 4.0. (I haven't checked other
versions.) DmSetRecordInfo can't be used to modify the system use only
attributes. There is only one of these
From: Aaron Ardiri [mailto:[EMAIL PROTECTED]]
problem is that you can NOT detect [...] the display controller
Well, there's always that undocumented system-use-only function called
HwrDisplayAttributes starting with OS version 3.5. A few of its operations
have been semi-documented in the forum
Hi All,
I have two fields on a form. When a problem occurs,
I do a FrmCustomAlert() with the error message, which
only covers the bottom field when it pops up. When
the pop-up goes away I get a frmUpdateEvent.
In the frmUpdateEvent I re-do the fields text labels,
and try to clear the contents
Hi Bob
I suspect that the error is caused by code other than that you posted -
how very true !!
Sorry to have wasted your time - but sometimes you need to be told you are
looking in the wrong place !!
Thanks again
Paul Sanders
--
For information on using the Palm Developer Forums, or
From: [EMAIL PROTECTED]
On Thu, Apr 11, 2002 at 01:25:41PM -0400, Will Lau wrote:
A friend of mine is looking for an app to essentially turn his Palm m515
into a Serial Cable to a Serial IR gateway. ie. to receive incoming data
from the universal connector and to spit it back out the IR
Disregarding the 'bad idea' comments and such... :)
Has anyone done a software implemented hard reset? I have seen the
SysColdBoot function in the OS4.0 code, but i only have 3.5 and
earlier OS's to test on. I assume they are the same, but trying
SysColdBoot(Null, 0, NULL, 0, 0) on my 3.5.2
At 9:25 AM +1200 2002/04/12, Chris Tutty wrote:
More importantly, why document them at all if an undocumented
set of common operating system functions will throw them away.
It's similar to having a function call mechanism that will
randomly fail to action the function call. I really can't see
--- Andy Black [EMAIL PROTECTED] wrote:
Thanks, that fixed it. However, in constructor those five
items are always showing. Is that normal? Makes it a real
pain to have to change all my lists to display 0 when I
want to move things around. Just wondering.
Constructor is designed as a
At 2:42 PM -0700 2002/04/11, Ryan Dugan wrote:
Disregarding the 'bad idea' comments and such... :)
Okay... I'll pretend I just stated the usual disclaimer. ;o)
Has anyone done a software implemented hard reset?
It's not implemented in any Palm OS version; the API is only pre-defined for
I would agree that Symbol probably should have used virtual character events
that go in the key queue rather than custom events that go in the general
event queue.
--
Peter Epstein
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
Richard,
thanks, maybe my message wasn't clear enough, I want to call Hotsync WITHOUT
quitting my application. By the way, the virtual key method doesn't work, so
currently I'm using UIAppSwitch which works nicely, but quits my
application.
Eric,
all you need to do is stuff the hotsync
At 1:58 AM +0200 2002/04/12, Eric VERGNAUD wrote:
thanks, maybe my message wasn't clear enough, I want to call Hotsync WITHOUT
quitting my application.
That's not how it works. When HotSync runs, your app *must* exit. It cannot continue
executing.
This makes perfect sense when you think about
Will Lau [EMAIL PROTECTED] writes:
A friend of mine is looking for an app to essentially turn his Palm m515
into a Serial Cable to a Serial IR gateway. ie. to receive incoming data
from the universal connector and to spit it back out the IR port.
Will,
I haven't had a chance to try it, but
The SysColdBoot function is defined in the SystemMgr.c file available as
part of the OS 4.0 'selected source' downloadable from Palm.
The function IS implemented, however, the hard reset function in the
reset vector of Card 0 does not seem to be. (After stepping through the
SysColdBoot
You could start by reading the section entitled Scroll Bars in
the Palm OS Companpion (one of the standard developers' documents).
At 03:38 PM 4/10/2002 -0500, you wrote:
Wow! I'm surprised that nobody has responded to my message on
scrollbars.
I thought this was a pretty common topic that I
Aaron Ardiri [EMAIL PROTECTED] wrote in message news:83588@palm-dev-forum...
On Thu, 11 Apr 2002, Borislav Kolev wrote:
Can you *fry* device or cause data loss by *reading* from an illegal
address?! Gee, I must have indeed missed something big.
nah.. if anything worst you'll get is a
I have a menu bar with two menus on it. In the app, when I tap the
silk-screen menu button, the menu appears correctly, but when I tap one of
the menu items and it redraws (to invert color), it draws the wrong menu
item. E.g., I tap Cut and it repaints Copy with inverted colors. I
figured out
Hi fellas
I am again posting this problem with the hope that someone somewhere might
come to my rescue
I have this problem with filling a list box!!!
Can someone help me out
i have a delimited string
eg Water~Milk~Coke~Pizza##
and i want to store this in an array of strings
i.e
In article 83594@palm-dev-forum, [EMAIL PROTECTED] says...
At 1:58 AM +0200 2002/04/12, Eric VERGNAUD wrote:
thanks, maybe my message wasn't clear enough, I want to call Hotsync WITHOUT
quitting my application.
That's not how it works. When HotSync runs, your app *must* exit. It cannot
Hi all,
I'm using the metrowerks stationery and realised that the AppStart()
function doesn't has a function prototype. Why is it so?
Thanks
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
79 matches
Mail list logo