Re: Colored Text

2006-03-24 Thread Aaron Ardiri
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

Re: Colored Text

2006-03-24 Thread cp
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/

How to use NetLibGetHostByName function

2006-03-24 Thread saran_mani1980
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

Re: Colored Text

2006-03-24 Thread Aaron Ardiri
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

Installing SDK for Grabba Mag Stripe Reader

2006-03-24 Thread Joel Henderson
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

rectangle

2006-03-24 Thread Jagat
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/

Re: rectangle

2006-03-24 Thread Michal Seliga
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/

Re: rectangle

2006-03-24 Thread Jagat
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:

Simple program help needed!

2006-03-24 Thread comaboy
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

Re: Palm database size limits?

2006-03-24 Thread Pablo Montilla
-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

RE: FrmCustomAlert failure after SysAppLaunch

2006-03-24 Thread John Sutton
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

Re: FrmCustomAlert failure after SysAppLaunch

2006-03-24 Thread Robert Moynihan
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

Re: Simple program help needed!

2006-03-24 Thread Thomas Damme
[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

Re: Simple program help needed!

2006-03-24 Thread comaboy
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/

Re: Colored Text

2006-03-24 Thread Jerome Chapdelaine
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/

Re: Palm database size limits?

2006-03-24 Thread Ben Combee
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

Re: FrmCustomAlert failure after SysAppLaunch

2006-03-24 Thread P. Douglas Reeder, aka Skapti
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,

Re: wave

2006-03-24 Thread P. Douglas Reeder, aka Skapti
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

Re: FrmCustomAlert failure after SysAppLaunch

2006-03-24 Thread Jeff Ondich
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

Re: problem adding rsrc to mcp project

2006-03-24 Thread Palmman
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

Re: wave

2006-03-24 Thread Jagat
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

Re: wave

2006-03-24 Thread P. Douglas Reeder, aka Skapti
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

Re: wave

2006-03-24 Thread Jagat
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,

Re: problem adding rsrc to mcp project

2006-03-24 Thread Ben Combee
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

Aborting a SqsQSort upon user screen tap

2006-03-24 Thread Luc Le Blanc
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

Re: Fw: Tungsten E vs Tungsten E2 (5 way button problem)

2006-03-24 Thread Chris Bruner Compulife
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

Re: problem adding rsrc to mcp project

2006-03-24 Thread Jagat
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

Re: problem adding rsrc to mcp project

2006-03-24 Thread Jagat
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

Re: FrmCustomAlert failure after SysAppLaunch

2006-03-24 Thread Krishna prasad
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

Palm Palette

2006-03-24 Thread cg
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

Re: wave

2006-03-24 Thread David Oldis
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

bitmaps supporting 160x160 and 320x320 displays

2006-03-24 Thread L
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

Re: bitmaps supporting 160x160 and 320x320 displays

2006-03-24 Thread Ben Combee
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

Console debugging in Palm

2006-03-24 Thread sanjib mohanty
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/

problem adding rcp file to project

2006-03-24 Thread niranjan
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

Big Challenge!

2006-03-24 Thread sangita . dalei
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

Re: problem adding rcp file to project

2006-03-24 Thread Luis Cordova
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

Re: problem adding rcp file to project

2006-03-24 Thread niranjan
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,