On 3/24/06, cp [EMAIL PROTECTED] wrote:
What would be the values for red or blue to be set to rgb then ?
inColor = (depth==8);
is your problem - for starters. color can be 8bit (index) or 16bit (direct).
direct color for 16bit is current 565 RGB - and, you should be able to
find the appropriate
As Ben suggested, in 16 bit clolouyr I get depth = 4.
so, colour of text drawn was black
To make it work in lifedrive, what should be the depth ?
--cp
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
Hi all
How to obtain the ip address of a computer by passing it's name to
NetLibGetHostByName function.
Even when i pass a computer name in which my server application is running to
the palm os function NetLibGetHostByName which should have return the i/p
address of the computer but it
On 3/24/06, cp [EMAIL PROTECTED] wrote:
As Ben suggested, in 16 bit clolouyr I get depth = 4.
so, colour of text drawn was black
To make it work in lifedrive, what should be the depth ?
depth = 16
--
// Aaron Ardiri
--
For information on using the PalmSource Developer Forums, or to
I am trying to install support for a Grabba magnetic stripe reader into Palm OS
Developer Suite. I received an SDK from Grabba that was originally for PRC
tools and does not have a nice clean installation feature for Palm OS Developer
Suite.
Does anyone have any experience doing developement
How can I draw only the borders of a rectangle ?
WinDrawRectangle draws the whole inside of the rectangle
!
--
For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Jagat wrote:
How can I draw only the borders of a rectangle ? WinDrawRectangle draws
the whole inside of the rectangle !
Did you tried WinDrawRectangleFrame?
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
oops... thank you, somehow missed it...
- Original Message -
From: Borszczuk [EMAIL PROTECTED]
Newsgroups: palm-dev-forum
To: Palm Developer Forum palm-dev-forum@news.palmos.com
Sent: Friday, March 24, 2006 4:35 PM
Subject: Re: rectangle
On Friday 24 of March 2006 11:58 Jagat wrote:
I need to write a simple program for a Zire 72 which can recieve a bluetooth
signal from another device(phone) such as:
255,0,100
255,1,100
255,2,100
255,3,100
255,4,100
255,5,100
255,6,100
255,7,100
255,8,100
255,0,127
255,11,127
255,12,127
255,12,127
255,13,127
255,14,127
255,15,127
and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jim Cooper wrote:
64K records are teorethical I think.
They are, there is some space taken up with various bits and pieces. I
think the actual number is 65505 bytes, but that's off the top of my head
Yup, that's what's stated in the
Jeff
I'm not sure if I'm dreaming this, but I think I once had a problem with
empty strings.
FWIW try putting something inside the two empty strings just to rule out
my paranoia.
ie. FrmCustomAlert( MessageAlert, whatever, should be empty, should
also be empty );
Cheers
John
--
For information
John Sutton wrote:
Jeff
I'm not sure if I'm dreaming this, but I think I once had a problem with
empty strings.
I recall something like that too.
FWIW try putting something inside the two empty strings just to rule out
my paranoia.
ie. FrmCustomAlert( MessageAlert, whatever, should be
[EMAIL PROTECTED] schrieb:
I need to write a simple program for a Zire 72 which can recieve a bluetooth
signal from another device(phone) such as:
255,0,100
255,1,100
255,2,100
255,3,100
255,4,100
255,5,100
255,6,100
255,7,100
255,8,100
255,0,127
255,11,127
255,12,127
255,12,127
255,13,127
Thanks for the response, the very basic form will pretty much be a bridge, but
I want to add more functions to it at a later date.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
Are there any 2bit (4 gray level) or 4bit (16 gray level or 16 indexed
color) devices? If not, then maybe
inColor = (depth 1); (or 2, or 4)...
Jerome
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
65505 worked on the OS 4 and earlier devices, but IIRC, the header
size changed during the move to ARM, growing a little larger. When I
did the CW for Palm OS V9 linker, I chunked at 64000 bytes just to be
safe.
On 3/24/06, Pablo Montilla [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED
John Sutton wrote:
Jeff
I'm not sure if I'm dreaming this, but I think I once had a problem with
empty strings.
FWIW try putting something inside the two empty strings just to rule out
my paranoia.
ie. FrmCustomAlert( MessageAlert, whatever, should be empty, should
also be empty );
FWIW,
cp wrote:
I wanna store a few wav files from pc and play it in my palm device. What is
the best way to do ?
Put the WAV files in resources and use SndPlayResource. This, of
course, requires OS 5.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please
Thanks very much for the suggestions. I have not had trouble with empty
strings in FrmCustomAlert, and in fact, putting non-empty strings in
those parameters has not fixed my problem. As it happens, I have
developed a workaround for the moment, but I would still like to know
why this
Hi Ben,
Can you please explain how I can use both the resource files in one project ? I
used the wizard to create one with rcp file. Now I need stringlist and wav file
support. So I badly need rsrc file to be added to the project
please help, or atleast say if it is impossible
--Jagat
--
For
I have prc resource file. How can I make a wav resource file added to .rcp
file ?
- Original Message -
From: P. Douglas Reeder, aka Skapti [EMAIL PROTECTED]
To: Palm Developer Forum palm-dev-forum@news.palmos.com
Sent: Friday, March 24, 2006 10:40 PM
Subject: Re: wave
cp wrote:
I
Jagat wrote:
I have prc resource file. How can I make a wav resource file added to
.rcp file ?
You don't add it using the .rcp file; you add it using the post-linker.
Under prc-tools, just copy the .wav file to a file with a name like
WAVE0001.bin, which build-prc will incorporate as a
I use Codewarrior with .rcp file. And I dont write make file. CW does
automatically. So, how to hook this bin file in my scenario ?
jagat
- Original Message -
From: P. Douglas Reeder, aka Skapti [EMAIL PROTECTED]
To: Palm Developer Forum palm-dev-forum@news.palmos.com
Sent: Saturday,
String lists and wave files work in RCP files.
See http://cvs.sourceforge.net/viewcvs.py/*checkout*/pilrc/pilrc/doc/manual.html
Specificially, look for STRINGTABLE and DATA as ways to pull in your
info. The Wave resource in Constructor just copies the data from
the wave file into a resource and
When the user launches a sort on the list display of 30,000 records, it may
take some time, even on a fast device like a T3 (like 10 seconds). I would like
to offer the possibility of interrupting that sort by simply tapping on the
Please wait... message. But even if I check for a screen tap
Gah! Is there any way of turning off this extra functionality.
Using debug I've mapped the newer keycodes, so my app works similar to how
it used to, but the object navigation model is fighting my software.
I'm using codewarrior 9.3, but I'm seeing events that are undocumented or
(or at least
Thanks Ben,
I did that, but getting a null handle
recordH = DmGetResource(sysResTSound,mySound);
soundP = (SndPtr) MemHandleLock(recordH);
recordH is returned NULL and crashes..
why so ?
Jagat
- Original Message -
From: Ben Combee [EMAIL PROTECTED]
To: Palm Developer Forum
I solved it.
Sorry, I stored in 'data', How can I play this through stream callback ?
can I use SndPtr as a void* and use 4096 bytes from that pointer to copy to
playback buffer ?
--jagat
- Original Message -
From: Ben Combee [EMAIL PROTECTED]
To: Palm Developer Forum
Try passing flag to create separate stack while doing
sysapplaunch. I faced the same problem while handling
notification event and passing the flag in
sysapplaunch fixed it.
--- Jeff Ondich [EMAIL PROTECTED] wrote:
Thanks very much for the suggestions. I have not
had trouble with empty
I created a 8 bit bmp in paint and import it into my SDK and when it displays
on a Treo 600 it is dithered. I made sure the solid color was one of the color
choices that appears in the palette of the resource editor--what could be going
on, how come things keep getting dithered?
--
For
In my .rcp file I do something like this:
DATA WAVE ID MYSOUND_ID mysound.wav
Then in the source:
if ((memHandle = DmGetResource('WAVE', MYSOUND_ID)) != NULL)
if ((memPtr = (UInt8 *) MemHandleLock(memHandle)) != NULL)
SndPlayResource(memPtr, 800, sndFlagSync);
...yada, yada, yada
You'll
I imported a bitmap of 320x320 that had 24-bit colors, to an 16-bit RGB 1X
160x160, is there a way not to lose so much resolution when scaling the bitmap
downto 160x160 1X? What is the best ways to achieve high resolution and similar
colors?
Are all 16-bit RGB files supported by any 160x160
Look at bitmap families -- this is a way to have multiple resolution
vesions of a bitmap within a single resource. They're supported by
the RSRC, RCP, and XRD formats.
On 3/24/06, L [EMAIL PROTECTED] wrote:
I imported a bitmap of 320x320 that had 24-bit colors, to an 16-bit RGB 1X
160x160, is
Hi All,
I am using Palm Device-Visor with OS-3.5.
How can I debug my application using console?
Thanks,
Sanjib
--
For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Hi
to all
I am using code warrior and when I add the .prc file to
the project file it is not allowing .
1. So my question is it possible to use .prc file into the
project that using code Warrior .
2. Is there any special softwre I have to install for adding
.prc
Hi,
I am totaly new to palm os?
There is one big challenge...
Please help me in solving this.
Problem -I have more numbers of tables.And i donot have time to
create these tables in resource file(All tables are of different
Size).So is there any method to solve this
why you want to add a prc file to a project? maybe you need to use the command line tools to realize this.
On 3/25/06, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Hito all I am using code warrior and when I add the .prc file tothe project file it is not allowing .
1.So my question is it possible
Hi
to all
I am using PilRC designer to build the interface for
my project and I am in window platform .
so is it possibe to use .prc file in the mcp project .
All your help will be greatly appriciated .
Thanks
--
For information on using the PalmSource Developer Forums,
38 matches
Mail list logo