RE: Detect Palm color

2002-06-14 Thread Tribble, David
First check your ROM for OS 3.5 or better, then use WinScreenMode . See the sample code ColorDeal or the Knowledge Base entry http://oasis.palm.com/dev/kb/faq/2109.cfm for more info. dave --- David Tribble, Northrop Grumman IT

Re: Direct Screen Access in Palm OS 5

2002-06-14 Thread Aaron Ardiri
On Thu, 13 Jun 2002, Nicholas Pleis wrote: Kind of making a habit out of these semi-personal attacks aren't we? not at all - the way it is done in palmos 5.0 is the same way you were supposed to do it in palmos 3.5 and later. there is no difference in the way you handle direct screen

Re: online emulator for Palm OS

2002-06-14 Thread Aaron Ardiri
On Thu, 13 Jun 2002, Hal Mueller wrote: This sounds like the Genisar idea--see it on Handango's web site. there was a Java based Palm emulator way back :) might still be on the web somewhere - google.com doesn't seem to bring it up anymore but, someone here might remember it :P // az

Re: Detect Palm color

2002-06-14 Thread Aaron Ardiri
On Fri, 14 Jun 2002, quennie wrote: Does anyone know how to programmatically detect the palm whether is a color palm or non-color palm? there is a parameter to WinScreenMode() API call to do this. // az [EMAIL PROTECTED] http://www.ardiri.com/ -- For information on using the Palm

Re: Direct Screen Access in Palm OS 5

2002-06-14 Thread Aaron Ardiri
On Thu, 13 Jun 2002, David Fedor wrote: So unless you're willing to implement a lot of special cases and don't mind doing frequent software updates, it is far safer to directly twiddle the bits in an offscreen window, and then copy that offscreen window to the screen with WinCopyRectangle et

Re: POSE Does Not Reload Software Image After Rebuild?

2002-06-14 Thread Ben Combee
In article 88810@palm-dev-forum, [EMAIL PROTECTED] says... I'm not entirely sure what you mean by relaunch and restart, Ben. What I'm talking about is simply making a change to the program and hitting F5. Then I see the please wait dialog. Of course, I would've done this once already since I

Re: JPEG display

2002-06-14 Thread Marco Pantaleoni
On Thu, Jun 13, 2002 at 11:18:19PM -0700, Steven Fisher wrote: Chris DiPierro wrote: More like 80x64. I'm safe. :) Though this brings up a larger issue. If you're using 80x64 images, might you not be better off converting them to Palm bitmap format? I'm not sure what your app is

Re: JPEG display

2002-06-14 Thread Ben Combee
In article 88845@palm-dev-forum, [EMAIL PROTECTED] says... Okay, so if I wanted to treat them as a block of memory I'd have to read them into main memory first? That doesn't seem too bad as long as the JPEGs are relatively small. One suggestion: use FtrPtrNew() to allocate the memory block

HotSync comConduit Error In Event viewer

2002-06-14 Thread parth
Hi I have developed one comConduit using CDK 4.02 for my Palm App. And it works fine, gets invoked properly and does what it needs to do but.. while syncronization In the event viewer following entries are launched --- Unable to start a DCOM Server: {149EE4A1-EE69-11D2-AC32- 006008E3F0A2}.

RE: Direct Screen Access in Palm OS 5

2002-06-14 Thread Aaron Ardiri
On Fri, 14 Jun 2002, Idries Hamadi wrote: asking such questions doesn't really give your credibility to be an author for such a thing now does it? maybe you should have read the palmos 5.0 docs and attended the sync'ups instead of writing your book *g* His book will probably

Re: online emulator for Palm OS

2002-06-14 Thread Alessandro Zummo
On Fri, 14 Jun 2002 09:26:19 +0200 (MEST) Aaron Ardiri [EMAIL PROTECTED] wrote: On Thu, 13 Jun 2002, Hal Mueller wrote: This sounds like the Genisar idea--see it on Handango's web site. there was a Java based Palm emulator way back :) might still be on the web somewhere - google.com

Re: online emulator for Palm OS

2002-06-14 Thread Aaron Ardiri
On Fri, 14 Jun 2002, Alessandro Zummo wrote: On Thu, 13 Jun 2002, Hal Mueller wrote: This sounds like the Genisar idea--see it on Handango's web site. there was a Java based Palm emulator way back :) might still be on the web somewhere - google.com doesn't seem to bring it up

Re: Direct Screen Access in Palm OS 5

2002-06-14 Thread Marco Pantaleoni
On Fri, Jun 14, 2002 at 11:37:03AM +0200, Aaron Ardiri wrote: On Fri, 14 Jun 2002, Idries Hamadi wrote: asking such questions doesn't really give your credibility to be an author for such a thing now does it? maybe you should have read the palmos 5.0 docs and attended the sync'ups

Another problem about detection of cradle or pripheral inserting

2002-06-14 Thread Jason Wei
Dear all: I have a problem to detect when the cradle or pripheral insert to the socket in bottom of PDA. According above letter, I can use sysExternalConnectorAttachEvent to detect it in Palm device. But I can't use the same method to detect it in Sony CLIE device. Does Sony CLIE not support

Reading a float from Com - based Conduit

2002-06-14 Thread Ali Reza
Hello all, I am trying to read a float value from plam through a Com based conduit(written in VB) but all i am getting is grabage values; can any one help me out ; i want to avoid storing Strings instead of float . The float being used in the palm if of native type availabl in palmOS 3.5 Regards

ZLib

2002-06-14 Thread HermesPalm
Hi all, I'm trying to use ZLib in an palm project. I made a simple example, something like this if (ZLSetup) { char dest[100]; char result[100]; uLongf destLen = 100; char source[] = a string to compress; int err;

Re: Detect Palm color

2002-06-14 Thread Aaron Ardiri
On Fri, 14 Jun 2002, John Kelsey wrote: Code Snippet to help... FtrGet(sysFtrCreator, sysFtrNumROMVersion, OSVersion); if (OSVersion = 0x0350) { WinScreenMode(winScreenModeGet, NULL, NULL, NULL, bColor); } else ScrDisplayMode(scrDisplayModeGet, NULL, NULL,

POSE 3.5 problem

2002-06-14 Thread Paul Nevai
POSE 3.5 on my Mac is unusable since the command tool bar opens up and then goes away so fast that I can't activate anything which is in it. POSE 3.4 didn't have this problem. Has anyone else observed this? /Paul N. -- For information on using the Palm Developer Forums, or to unsubscribe,

Re: POSE 3.5 problem

2002-06-14 Thread Matt Disher
SysTaskDelay is broken in 3.5 which is perhaps what it's doing while it waits. -- Matt Disher [EMAIL PROTECTED] From: Paul Nevai [EMAIL PROTECTED] Organization: The Ohio State University Reply-To: Palm Developer Forum [EMAIL PROTECTED] Date: Fri, 14 Jun 2002 08:25:58 -0400 (EDT) To: Palm

Re: online emulator for Palm OS

2002-06-14 Thread Dave Lippincott
Played with it about a year ago. It also had several bugs when connecting with hand helds, not to mention a crippled feature set. However, the potential ability to write one desktop app that can 'run' from almost any client is rather compelling. High speed connection and a large screen are a

Re: Another problem about detection of cradle or pripheral inserting

2002-06-14 Thread Dave Lippincott
Only Palms that support the universal connector support that event (AFAIK). Sony uses their own connector scheme. Why not join the Sony developer's program and see if they can give you information on how they handle the 'stay on in cradle' option? - Original Message - From: Jason Wei

Re: Reading a float from Com - based Conduit

2002-06-14 Thread Dave Lippincott
Reverse the incoming bytes before assigning them to your float. - Original Message - From: Ali Reza [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Friday, June 14, 2002 7:49 AM Subject: Reading a float from Com - based Conduit Hello all, I am trying to read a

a very strange POSE freezing problem...

2002-06-14 Thread Paul Nevai
This happens with BOTH POSE 3.4 and 3.5 BUT ONLY with the OS 3.5.x ROMs. It works perfectly on actual hardware and also with all OSs on POSE which are different from 3.5.x [when applicable]. BUT it happens with all 3.5.x OSs I tried on POSE, incl. English and Japanese. THE PROBLEM. I have 3

RE: Reading a float from Com - based Conduit

2002-06-14 Thread Sachin Mahajan
though i am not reading floats but i faced a similar problem with the integers and the reason being that Palm Supports Big-Endian byte ordering system (Motorola) and Desktop (Intel processor) little-endian i think that can be the cause Sachin Mahajan -Original Message- From: Ali

can record-ids take any UInt32 value?

2002-06-14 Thread Werner Poschenrieder
Can record-ids take any UInt32 value? Is 0 ever used? Thanks. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: can record-ids take any UInt32 value?

2002-06-14 Thread Robert McKenzie
No. The only valid values are 0x0001 through 0x00ff. Or, to phrase it another way, 0 is not allowed and the top (most significant) byte must be 0. -bob mckenzie, palmsource pdx. p.s. The way they are formed are discussed in the PalmOS Companion document. -Original Message-

Re: online emulator for Palm OS

2002-06-14 Thread Stringer
From: Manohar Chapalamadugu [EMAIL PROTECTED] Date: Thu, 13 Jun 2002 13:20:22 -0700 (PDT) I am planning to develop an online emulator so that clients can first check the software online and then invest to buy the product. I would be glad if someone can give me a rough idea as how to proceed.

Re: can record-ids take any UInt32 value?

2002-06-14 Thread Werner Poschenrieder
This was the fastest answer I ever received in any discussion forum. (2 minutes). I like this one really (and I should have read the doc more intensively). Thank you! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: JPEG display

2002-06-14 Thread Steven Fisher
Marco Pantaleoni wrote: I hardly doubt that jpeg could work well on so small images. If the color depth of the images is low, maybe that a run length encoding or a similar lossless simple method could work better (and be noticeably faster on the decompression side). It would be very easy to

Re: POSE Does Not Reload Software Image After Rebuild?

2002-06-14 Thread Mark Wilden
Ben Combee [EMAIL PROTECTED] wrote in message news:LYRIS-50875-94730-2002.06.14-01.49.12--mark#[EMAIL PROTECTED] ... In article 88810@palm-dev-forum, [EMAIL PROTECTED] says... I'm not entirely sure what you mean by relaunch and restart, Ben. What I'm talking about is simply making a change

What is TCPSeg in NetLib?

2002-06-14 Thread Akhilesh Singh
Hi, Is the value of TCPSeg the maximum buffer size that should be allocated while reading data from the socket? Or can NetLib return more than this at a time? Thanks -AS -- For information on using the Palm Developer Forums, or to unsubscribe, please see

RE: Good bitmap/icon artist

2002-06-14 Thread Howard Tomlinson
Subject: Re: Good bitmap/icon artist Does anyone know of someone who is good a creating some 16-bit icons and bitmaps? What a good artist can do in 15 minutes would take me hours to do. I had bookmarked this guy's site: http://www.robgentile.net/main2.html No idea how good he

Re: online emulator for Palm OS

2002-06-14 Thread Hal Mueller
At 11:36 AM +0200 6/14/02, Alessandro Zummo wrote: Isn't POSE under GPL? If so, shouldn't Genisar release their source code? AFAIK they aren't distributing their app, just using it internally, so Genisar is not obligated to release anything. H -- For information on using the Palm Developer

RE: can record-ids take any UInt32 value?

2002-06-14 Thread Danny Epstein
The only valid values are 0x0001 through 0x00ff. Also, the first bunch of unique IDs are reserved for default data; e.g. Palm's phone number and the memos that explain how to use the device. - Danny -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Help for detection of cradle or pripheral inserting

2002-06-14 Thread Costica
I have same problem. I am using Symbol SPT1800 with PalmOS 4.2 Does anybody know if there is another way to detect if a serial cable is attached to the device? Thanks, Costica Jason Wei [EMAIL PROTECTED] wrote in message news:88791@palm-dev-forum... Dear all: For some purpose, I need to

Re: Help for detection of cradle or pripheral inserting

2002-06-14 Thread Dave Lippincott
Not going to happen. There is no mechanism in the 1800 to notify the OS when something is attached to the bottom. You could try to detect if something is connected by opening the serial port and looking for it. However that would require you a) know what you're looking for and b) find some way

Re: Can't get high-res checkerboard pattern in OS 5 (nativeFormat)

2002-06-14 Thread David Fedor
I am trying to create a high-resolution checkerboard in an offscreen window in OS 5. Unfortunately, it creates a checkerboard but each square in the chekerboard is 2x2 pixels. You need to use WinPaintTiledBitmap, because custom patterns are always pixel-doubled. The docs are apparently a bit

Database question

2002-06-14 Thread Brad Figler
DmCreateDatabase takes a 4 byte creator and a 4 byte type argument. What am I supposed to use for these values or am I allowed to choose any that I want.? I assume the creator should be the same as the creator ID that my application uses. Is this correct? Also, I have seen the type 'DATA'

Re: Database question

2002-06-14 Thread Craig Belson
--- Brad Figler [EMAIL PROTECTED] wrote: DmCreateDatabase takes a 4 byte creator and a 4 byte type argument. What am I supposed to use for these values or am I allowed to choose any that I want.? Almost. :-) I assume the creator should be the same as the creator ID that my

Bitmaps with Colortables Confusion

2002-06-14 Thread r. zane rutledge
Okay. I've been a bit confused by this for some time. I know it is not recommended to include colortables in your bitmaps. Instead, to WinPalette to the desired palette (stored external to the bitmap), draw the bitmap stored without a colortable, and then set the palette back after. But why

Re: Database question

2002-06-14 Thread Steve Mann
At 1:23 PM -0700 6/14/02, Craig Belson wrote: And I'm at work, so I don't have handy access to a reference, but I think the type and creator are UInt16s - someone correct me if I'm wrong - but they're done as such: They're UInt32 values. Regards, Steve Mann -- For information on using the

RE: Fatal Error on PalmOS 3.5.2H3.0

2002-06-14 Thread Erik Blake
At 13:34 2002/06/13 +0200, you wrote: Thanks Erik for your answer But the target is configured for PalmOS3.1 and later... Sorry. From your post, I thought you were using the v4.0 SDK. Cordialement, Agus Silas BST Technologies T. (+33) 5 57 80 16 03 F. (+33) 5 57 77 29 97

Saving WAV file in WAV not PDB format on Palm

2002-06-14 Thread sonia tiwari
Hi all Is it possible to save a *.wav file as *.wav file on palm. In other words, basically I want to use the File Streaming Manager (FileOpen, FileRead etc) while interacting with the file. Do we have to burn the file as a part of the ROM image. Please let me know how we can get a file

Re: Battery Level Indicator

2002-06-14 Thread Jackie Chang
Hey Richard, The SysBatteryInfo() just returns a percentage back to you...if you want to use the icon like one you see on the Palm display you will have to use a gadget. These gadgets are device specific so try to find it in documentation for the device. They update automatically so you don't

Re: Saving WAV file in WAV not PDB format on Palm

2002-06-14 Thread Joe Malone
--- sonia tiwari [EMAIL PROTECTED] wrote: Is it possible to save a *.wav file as *.wav file on palm. Yes. Use VFS to store files on expansion cards. See chapter 8 of the Palm OS ® Programmer’s Companion. In other words, basically I want to use the File Streaming Manager (FileOpen,

Re: Battery Level Indicator

2002-06-14 Thread Joe Malone
--- Jackie Chang [EMAIL PROTECTED] wrote: The SysBatteryInfo() just returns a percentage back to you... Plus: the current battery voltage, the battery voltage warning threshold, the battery voltage critical threshold, the battery timeout, the battery kind, and a Boolean indicating if the

Re: Saving WAV file in WAV not PDB format on Palm

2002-06-14 Thread Joe Malone
--- sonia tiwari [EMAIL PROTECTED] wrote: Is it possible to save a *.wav file as *.wav file on palm. --- Joe Malone [EMAIL PROTECTED] wrote: Yes. Use VFS to store files on expansion cards. See chapter 8 of the Palm OS ® Programmer’s Companion. ... There is nothing at all stopping you