Hi,
I want to use 'WinDrawBitmap' to draw several
applicatins' icons dynamically.I used
'SysCreateDataBaseList' to get the
SysDBListItemType,but the member "BitmapPtr iconP" in
the structure is always NULL.Does anybody have good
idea of this problem?Thanks!
Regards,
Pan
> Also, I should mention that the codebase with which I am working is
from the
> CW7.0 release - under
> palm 3.5 examples. I've 'backported' some stuff to 3.1 so I can get
the thing to
> work on my PalmV
> while I wait for the 3.1 Datebook source from Palm. Could this be an
issue with
> RSRC fil
> > Yet Another Newbie: I'm using paint to make a red on white
> > bitmap that is 12x12 pixels. I use a Visor, so it supports color.
> > When I use MS Paint, I have tried every output type, 16bit, 256bit,
> > 24gazillion, etc and yet I get B&W onscreen.
>
> You must be creating a BITMAP instead o
> From: Nullife
> Yet Another Newbie: I'm using paint to make a red on white
> bitmap that is 12x12 pixels. I use a Visor, so it supports color.
> When I use MS Paint, I have tried every output type, 16bit, 256bit,
> 24gazillion, etc and yet I get B&W onscreen.
You must be creating a BITMAP inste
On Fri, 17 Aug 2001, Nullife wrote:
> Yet Another Newbie: I'm using paint to make a red on white bitmap that is
> 12x12 pixels. I use a Visor, so it supports color.
>
> When I use MS Paint, I have tried every output type, 16bit, 256bit,
> 24gazillion, etc and yet I get B&W onscreen.
BITMAP <--
Yet Another Newbie: I'm using paint to make a red on white bitmap that is
12x12 pixels.
I use a Visor, so it supports color.
When I use MS Paint, I have tried every output type, 16bit, 256bit,
24gazillion, etc and yet I get B&W onscreen.
Based on your pleasant response (below) I'm sure you'll be
hi,
i have a selector trigger on my main form that I click to popup a edit
category list.
but after a couple of selections parts of the background are getting
overwritten by
some of the values I select.
any clue why it's happening and how I can prevent it??
thanks,
vm
--
For information on
Watchpoints are available in PalmDebugger ('ss' short for step spy). David
Fedor described how to use this in the last PalmSource. It's slow, but it'll
tell you any time that variable is written to.
Another approach is to temporarily replace all writes to the variable with
function calls to a sim
At 13:21 2001/08/17 -0700, you wrote:
>I'll take your comments as a vote for a new date format on ARM.
Sure. As I mentioned in an earlier post, Borland C uses a datum of 1970. If
you want to stick to 32 bits for the time stamp, then you are limited to
135 years or so. The trick then is to decid
> From: Greg Wilson
>
> The Developer Documentation page on the Palm OS Developer
> website (http://www.palmos.com/dev/tech/docs/) has been
> refreshed with the latest documentation.
>
Thanks for the info, Greg.
I noticed that several file names have been changed, apparently to protect
the innoc
I've been using Gremlins to test a rather large, multi-segment app. One
problem occurs when a global variable suddenly gets a ludicrously high
value. How can I find out exactly where this global gets assigned that
value? I've been playing with breakpoints, but that requires me to know
where in
The Developer Documentation page on the Palm OS Developer website
(http://www.palmos.com/dev/tech/docs/) has been refreshed with the latest
documentation. Much of this documentation has been updated since the Palm OS
4.0 SDK was produced, so even if you've recently installed the Palm OS 4.0
SDK yo
Never mind ... there aren't any pretty icons for them, but the links are
there at the bottom ...
--
-Richard M. Hartman
[EMAIL PROTECTED]
186,000 mi/sec: not just a good idea, it's the LAW!
"Richard M. Hartman" <[EMAIL PROTECTED]> wrote in message
news:60125@palm-dev-forum...
>
> Usta wuz that
Usta wuz that the reference & companion in HTML were available for download
in a zipped archive. W/ SDK 4 the only downloadable are PDF ... the HTML
version is available on-line, but not in a downloadable archive. I could
write something to parse all of the href tags and download everything
rele
> You're calling PrefGetAppPreferences, asking for the "preference record"
> with ID 0. You're getting back a "preference record" with ID 0 and version
> 1.
Yes, that makes perfect sense.. somewhere along the way, my mind fuzzed over
and blurred the line between ID and Version for the preference
At 10:47 AM -0500 2001/08/17, Bradly J. Barton wrote:
>I could not get a simple example to show this problem.. other than the size
>of the real application (my test was created under a large code model, just
>like the real application), my test made all the same initialization calls..
>my get pref
> That still doesn't answer the rest of the question.. why does the Get Pref
> call return something other than the version number passed to it or
> noPreferencesFound? I call it with a version number of 0 and get back 1..
> doesn't that contradict the documentation?
PrefGetAppPreferences doesn't
> I'd guess that you used a version number of 1 in your
PrefSetAppPreferences
> call at some point in the past, and that's when the session got created.
I'm not sure how that's possible since I use and have always used a #define
for that value.. but I suppose I'll have to accept that logic since
--On 17 August 2001 13:21 -0700 Danny Epstein <[EMAIL PROTECTED]>
wrote:
> I'll take your comments as a vote for a new date format on ARM.
(Old) Vax format:- __u32: MSB {relative = 1, absolute = 0}, other 31 bits:
data
IM
--
For information on using the Palm Developer Forums, or to unsubs
> The first four bytes are 00 01 00 00
>
> The last two bytes look like the beginning of my structure (an Int16 that
I
> would expect to be 0 in this case)... the 5th byte is the beginning of a
> character string, also expected.
>
> These first two bytes evaluate to a 1 .. is that the version num
> So look at the first two bytes in the resource to find the version that
the
> pref was saved with.
The entry for my creator idea when I run par on "Saved Preferences.prc" is:
JTIx 76 text data
The first four bytes are 00 01 00 00
The last two bytes look like the beginning of m
> (its actually a saved session that I *thought* was a fresh session..
That explains a lot.
> However, this data is still resource number 0 (which is the parameter I'm
> passing in to my Get call).. so why is it that the return value from Get
is
> 1 when I ask for 0..
My bad. I misremembered t
At 4:08 PM +0800 8/16/01, [EMAIL PROTECTED] wrote:
>
>Now, my problem is when the clock popup is dismissed, my screen is not
>restore from memory and not receive frmUpdateEvent, and the clock popup
>form remain there in non-active state. Anyone know why?
There are problems with the clock popup.
You've got me, but clearly if the APIs are being messed with for any reason,
updating them to handle this Y203x problem should be done at the same time.
--
Peter Epstein
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/
At 13:15 2001/08/17 -0700, you wrote:
>. Remember that the PalmOS was
>bootstrapped on a Mac, and bootstrapping is easiest when the host and new OS
>agree on things. Today, we've got little reason to match the Mac standard,
>or to be quite so space efficient.
Thanks Peter,
Again, a reasonable expl
I'll take your comments as a vote for a new date format on ARM.
-
Danny @ Palm
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
At 14:58 2001/08/17 -0500, you wrote:
>hi,
>
>im trying to implement the please wait dialog in my app. This is what im
>doing with my code, here are two snippets of my code, I call
>FrmPopupForm(PleaseWaitForm) and that goes to the PleaseWaitForm Event
>Handler. The PleaseWaitForm waits for a n
When the very first Palm OS device was released, things were a lot tighter
than today. The Pilot 1000 had a total of only 128K of memory. That meant a
very small dynamic heap, and not much storage heap either. Space efficiency
was therefore very important. By using a 16 bit DateType, Datebook reco
> If the new allocation fails, it ErrDisplayIf's a message.
You're treating allocation failures as a system error rather than a user
error. This is appropriate if you're pre-flighting, but, as I said,
pre-flighting isn't recommended. For your pallet example, the concern is
that a hack may be allo
I've got some code which calls FrmCustomAlert from within a form handler
function. The problem is that the call does not return to the following
line of code. Instead, it restarts the handler function.
I caught this aberration in execution order only because a call to
DmReleaseRecord was getti
At 04:05 2001/08/14 -0500, you wrote:
> > I'm curious as to the datum chosen - why not Jan 1, 1970 like C (at
>least
> > the Borland implementation)? That will last until the 22nd century -
>I'll
> > be dead :(
>
>As other people have mentioned, the 1904 date comes from the Macintosh,
>which also
At 13:39 2001/08/13 -0700, you wrote:
> > Prefs won't let you enter anything past 12/31/2031.
>
>The year field in DateType is an unsigned 7 bit numbers counting from 1904,
>so the last year we can represent in 2031. DateTimeType uses a full 16 bits
>for the year, so it's not a problem. According
hi,
im trying to implement the please wait dialog in my app. This is what im
doing with my code, here are two snippets of my code, I call
FrmPopupForm(PleaseWaitForm) and that goes to the PleaseWaitForm Event
Handler. The PleaseWaitForm waits for a nilEvent, when it occurs I call
FrmReturnToFo
From: "Danny Epstein" <[EMAIL PROTECTED]>
> Have you looked at the PreferencesDB to see if there is indeed an app pref
> with your creator ID and resource number 1?
Ok.. this looks like we're getting somewhere. This POSE session (its
actually a saved session that I *thought* was a fresh session..
Hai all,
How to implement anti aliased fonts in apalm application? thanks for any
help
regards
P
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
>Subject: Ir Printing and Symbol...
>From: Igor Mozolevsky <[EMAIL PROTECTED]>
>Date: Thu, 16 Aug 2001 23:37:09 +0100
>
>Apparently Symbol SDK has an example of ir printing, and I am really
>struggling to find it. Can anyone point me into the right direction??? For
>starters, which SDK is it, th
Sounds like you might want to use transparency when drawing bitmaps on top
of the background, so some portions show through to the background. When you
want to erase the bitmap, you do need to manually redraw the portion of the
background image that is exposed. You might want to use
WinCreateOffsc
Thanks Danny,
I have a simple memory allocation routine which I am in the process of
redirecting all my allocation requests ( MemPtrNew,MemPtrResize,etc) to
MemPtr OVMemResize(MemPtr pMem=NULL, UInt16 uNewMemSize=25);
if pMem=NULL it assumes a MemPtrNew, else it tries to MemPtrResize. If t
Hello everyone!
Does anyone know how to place a bitmap on the background of the palm so
that it won't be erased when other bitmaps are drawn on top of it? I'm
writing a game and I'd like to have a bitmap as the background for other
bitmaps of the gamesimilar to "wallpaper" on a Windows mach
> From: Bradly J. Barton
>
> Ah, but I'm not saving the prefs.. this only happens on
> the very first time the application is installed on POSE
>
One thought -- does it behave differently if you drag your app onto Pose
instead of loading it with the CW debugger?
--
For information on using the
Have you looked at the PreferencesDB to see if there is indeed an app pref
with your creator ID and resource number 1? You could use a
preference-viewer utility or, perhaps, the debugger console to check this.
When you install an app in Poser, it doesn't get a sysAppLaunchCmdSyncNotify
sublaunch,
> I have coded a MinMemoryCheck routine to place at the beginning of
PilotMain
> startup and various process intensive functions. How can I determine what
> the minimum available should be to allow the program to startup?
I've used pre-flighting, both in the dynamic heap and in the storage heap,
> Do you have an old version of the docs? The 4.0 docs say the following
> about the return value:
Nope, that's what my version of the docs (3.5, I think) says as well.. which
is why when I passed it a 0, I was expecting a 0 or a -1 back...
> So... I bet when you save the prefs, you specify ver
> now one
> problem is I can't figure out how to use DmSetDatabaseInfo() to tell
> the palm to change the backup flag so it will back up when I hotsync
Go to the Knowledge Base.
Search for "backup".
Click on the second link: http://oasis.palm.com/dev/kb/faq/1103.cfm
> Now by using the palm emula
> I am quite familiar with datebook, but just don't understand your post.
>
> (1) You say "However, when I select 9, 10, 11, or 12 and hit the details
> button".
> Where, exactly, are you doing this selection? Day View?? If so, do you
> mean that you are tapping on a time that has an event at
Thanks a lot for pointing to other options!! I looked in to the DB one..but
thought it was over kill also!
Jim
Robert McKenzie <[EMAIL PROTECTED]> wrote in message
news:60072@palm-dev-forum...
>
> There are (at least) three ways to accomplish your goal:
>
> (1) create a database (DmCreateDatab
I am quite familiar with datebook, but just don't understand your post.
(1) You say "However, when I select 9, 10, 11, or 12 and hit the details
button".
Where, exactly, are you doing this selection? Day View?? If so, do you
mean that you are tapping on a time that has an event at that time,
> When i set the Read-Only bit attribute in a .pdb file, when i use
DmGetAppInfoID the return is
> null or there are an AppInfo block in the database. I have this problem
only with the Read-Only
> bit and not with others.
You should be able to access the app info block of a database with the
dmHd
Hi all
I'm running into a problem I think some other people may have had. I
wrote a palm app and I got the impression form the book I was using
as well and the documentaion from palm.com that using the palmOS
database storage model is the best choice for data storage. now one
problem is I can't f
There are (at least) three ways to accomplish your goal:
(1) create a database (DmCreateDatabase), open it (DmOpenDatabase), create a
record (DmNewRecord), store the value in the record (MemHandleLock, DmWrite,
MemHandleUnlock), release the record (DmReleaseRecord), close the database
(DmCloseDat
>From: "Richard M. Hartman" <[EMAIL PROTECTED]>
>Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>Subject: Re: BeOS for the Palm?
>Date: Thu, 16 Aug 2001 17:04:59 -0700
>
>"John Stephenson" <[EMAIL PROTECTED]> wrote in message
>news:59996@palm-d
I'm writting a Palm App and want to store the status of a Boolean variable.
I've been hitting my brains and searching the archive or a simple way of
creating a record to save and modify in the future.
However, all i can find is memory allocation for input text and even then
it's not easy to unde
When i set the Read-Only bit attribute in a .pdb file, when i use DmGetAppInfoID the
return is null or there are an AppInfo block in the database. I have this problem only
with the Read-Only bit and not with others.
Please, some body know how to short-cut my problem?
Thanks a lot,
Marc.
PS: I t
The HandEra 330 has a built in microphone and records in WAV format. The
SDK is very nice for this. www.handera.com
>From: [EMAIL PROTECTED]
>Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>Subject: Can I record sound on Palm?
>Date: Fri, 1
>In Summary... unless someone can tell me why the call:
>
>Int16 pv = PrefGetAppPreferences('MYID', 0, &RegPrefs, &wSize, true);
>
>might return to me something OTHER than 0 or -1 (noPreferencesFound)...
Do you have an old version of the docs? The 4.0 docs say the following
about the return val
Thank you Richard,
I've checked the launch code, it really is sysAppLaunchCmdNormalLaunch. I am not
using any other launch code in my app yet.
I can give some further details:
Indeed the address of an object is assigned to a global pointer (to make access
easier - it's a database's table).
Obj
I could not get a simple example to show this problem.. other than the size
of the real application (my test was created under a large code model, just
like the real application), my test made all the same initialization calls..
my get preferences call is the first function called, so I don't see
I'm trying to add functionality to the Datebook. I've got the thing built and
sort of working. Basically, what I've done it add a button to the 'DateDetails'
dialog. The code works fine except for one very odd behavior. When I select a
'record' on the 'day view' and hit details my button works fin
Hello,
I have coded a MinMemoryCheck routine to place at the beginning of PilotMain
startup and various process intensive functions. How can I determine what
the minimum available should be to allow the program to startup?
Thanks
--
George Aslanis
[EMAIL PROTECTED]
--
For information on us
* Create the 4 bit Bitmap/icon in constructor
* Name the bitmap/icon starting with /-2/ [e.g /-2/Splash]
* Add this, preferably in AppStart()
UInt32 scrDepth = 2;
UInt32 scrWidth = 160;
UInt32 scrHeight = 160;
WinScreenMode(winScreenModeSet,&scrWid
--On 17 August 2001 12:23 +0200 Juergen Schwister
<[EMAIL PROTECTED]> wrote:
> Do i have to implent something like:
> New Serial Manager -> Open Port, write bytes , recieve bytes, close port ?
Yes
IM
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
htt
> From: Werner Poschenrieder
>
> Whithin a debug session in metro's ide I downloaded
> an application to POSE.
> The download progress window indicates download to
> 100% but the app doesn't start: There is no more
> response from the ide
>
I'm not positive, but this may be the problem:
After an
Dear reader,
Could you please help:
===
Whithin a debug session in metro's ide I downloaded an application to
POSE.
The download progress window indicates download to 100% but the app
doesn't start: There is no more response from the ide
The messages window of the debugger is at "gc
From: "Richard Burmeister" <[EMAIL PROTECTED]>
> Since you never create any app preferences, the only value it should be is
> noPreferenceFound (-1).
Yes, I know.. that's why I was confused.
> I get -1. (I did change your code to use the new data types, however.
Why
> are you still using the o
> From: Bradly J. Barton
>
> Ok.. I've given up trying to figure this one out, so
> I am turning it over to the brain trust of the list...
> consider this code (Yes, I know there is no event loop,
> don't fret that.. that's not where the problem is):
>
> DWord PilotMain(Word cmd, Ptr cmdPBP, Word
Fill out the form at:
http://www.symbol.com/services/downloads/download_mobile_spt1500_form.html
and then get the sdk200.zip file. That has the Symbol Print SDK w/ sample
apps, docs, and linkable libraries.
Cheers,
-DGA
--
For information on using the Palm Developer Forums, or to unsubscr
Hi,
YES, there is the HandEra 330 (www.handera.com) with exactly what you're
looking for!
... Collin
At 08:26 17.08.01 -0400, you wrote:
>Does anybody know some models of Palm device with built-in microphone?
>Whether some API exists for sound recording?
>
>
>
Does anybody know some models of Palm device with built-in microphone? Whether some
API exists for sound recording?
__
Your favorite stores, helpful shopping tools and great gift ideas. Experience the
convenience of buying online
> In most of the cases this information is confidential and
> never disclosed to the public hence getting such kind of information is
> difficult.
Actually, many of the vendors are pretty up front with this sort of
info, in my experience.
Can't hurt to ask, and a search of the support databas
As far as I remember :-) this functionality is already provided by Palm :-D
with almost every unit they have sold till date :-D. Have you ever used the
Mail application present on palm pilot along with it's conduit. The conduit
is capable of snchronizing with many different type e-mail clients inc
Hello
I want to create a program which will takes mail from my outlook express and
transfer it to my palm. So let me know the follwing points
1. Whether I have to convert all my mails in to the Palm database? Is it
possible to convert the mail into pdb format?
2. Whether I will be able to write
:-) No problem
I would write very similar in French :-D
You can do whatever you want using Codewarrior as your development tool.
However, you need to know the structures of records created by other tools
(MobileDB etc.). In most of the cases this information is confidential and
never disclose
U can create your own database at the same time u can
use existing databse's from the handheld. I dont know
exactly abt the tutorials but u will get the idea from
the sample codes.
--- "philippe.vallade" <[EMAIL PROTECTED]>
wrote:
> I must create a application with a Datababe with
> CodeWarrior.
Hi,
i like to send AT+... commands to a GSM Phone recieve the answers within a
applicationand (so a Terminal program will not fit my needs, except for
testing ).
Can somebody give me a good starting point (i already searched the knowledge
base without affort, may be i asked the wrong question).
I must create a application with a Datababe with CodeWarrior.
I can use the instruction of Code Warrior for create my own database or use
a Database who already exist (MobileDB ,Handbase)
So I want read or write this database from CodeWarrior.
My question is : somebody know how if possible
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
"Ai Lee Tang" <[EMAIL PROTECTED]> writes:
| I got an error msg when i tapped on a table, the msg as below:
|
| "Product(1.0) just wrote to memory location 0x295C,
| which is in the 'attr' field of the frmtableobj starting
| at 0x00
Well, the whole thing is not too serious anyway:
I made a type cast UInt->Int16 of my database record position. This is actually not
so concerning, because I will hardly try to show more than 32767 records in my
list.
Still I try to understand why you used an Int16 for the list position, which d
77 matches
Mail list logo