Running applications on top of another application

2003-12-19 Thread York Kie Tan
Hi, I've noticed some applications that are launched via Hardkeys that runs on top of any active applications and have the ability to let the previous application resume after it's finished (for example, Hi-Launcher). Can anyone enlighten me on how is this done? Thank you Regards, YK Tan

Palm Clock for SystemPreferencesChoice

2003-12-19 Thread apple k
Hi. I'm developing an application using Palm Zire and notice that there is a Palm Clock icon on the silk screen. In order to disable the functionality in the launchr screen, is there any SystemPreferencesChoice for me to set the function by using PrefSetPrefence? Kindly help in this regard and

Re: A bit off topic: Win2K vs. XP professional with Palm dev. tools

2003-12-19 Thread Aaron Ardiri
My personal opinion is that in general Win2K is a better OS than WinXP. I have numerous goofy issues with windows XP. i am the opposite.. i hate the look of XP, but, when you get around to disabling all the features of XP - you can make it look like 2K. in general, the process management is

Re: Raw IR on Tungsten T3

2003-12-19 Thread Aaron Ardiri
I have been able to do Raw IR but only in one direction at a time to change direction I have to use Error := srmControl(SerialPortID, srmCtlIrDAEnable, Nil, ax) and Error := srmControl(SerialPortID, srmCtlIrDADisable, Nil, ax) The change takes far too long to capture responses to

RE: Running applications on top of another application

2003-12-19 Thread steve
Those are using the notification system. But this is only for small applications as you can't have globals and I think this does not allow multi segment apps. Steve -Original Message- From: [EMAIL PROTECTED] [mailto:bounce-palm-dev- [EMAIL PROTECTED] On Behalf Of York Kie Tan Sent:

Adding a scrollbar dynamically

2003-12-19 Thread Alexander Lange
Hello folks, I am writing an application that is launched through the command bar. It starts on top of other applications (for looking up something), so I don't have global variables nor can I open resources. Therefore I must create the form myself, which is no problem with FrmNewForm(). I

RE: Running applications on top of another application

2003-12-19 Thread York Kie Tan
Thanks for replying Steve, it makes sense that it's working via notification. I wonder how it interacts with the previous active application. I've seen an app that can be launched via hard buttons and it can insert text into the previous active application's field. Regards, YK From: steve [EMAIL

Key Q size

2003-12-19 Thread Dhanashri
Hello All, 1) What is the total size(in bytes) of the system Key Queue in Palm OS 4.1 and above ? 2) In what conditions do we get this error Bus Error-Connect to Debugger ? Please help asap. Thanks in advance, Dhanashri. -- For information on using the Palm Developer Forums, or to

Re: Expanded Mode Tables and WinDrawChars

2003-12-19 Thread Andrés Ramírez
This is my routine static void vwClientesDraw(MemHandle recHandle, RectanglePtr bounds,UInt16 puinRowSel,UInt16 puinRecIdSel) { dCliente oClie; Char strText[48]=; Char strText1[48]=; MemHandle hanRecord; UnpackCliente(oClie, MemHandleLock(recHandle));MemHandleUnlock(recHandle);

NetLib Socket connection to a Java Servlet

2003-12-19 Thread Marcel
I made a NetLib TCP/IP connection to a Java Server Socket on a different host in the LAN. The establishment of the connection works fine, also the Palm can send all of the data bytes through the socket. The only problem is that on the destination Java socket , the data that is received looks like

Re: NetLib Socket connection to a Java Servlet

2003-12-19 Thread Vu Pham
When you send a string of single-byte chars, you must not use host-to-net conversion. Those conversions require only for short int ( 2 bytes ) or long ( 4 bytes ). - Original Message - From: Marcel [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: Palm Developer Forum [EMAIL PROTECTED]

Re: NetLib Socket connection to a Java Servlet

2003-12-19 Thread Marcel
Thanks for your answer. But after I have converted the ASCII string to Unicode 16 (UTF16), the characters ARE 4 bytes long each. So I guess I HAVE to use the host-to-net macro to be sure. Regards. Marcel. Vu Pham [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] When you send a

Re: NetLib Socket connection to a Java Servlet

2003-12-19 Thread Vu Pham
- Original Message - From: Marcel [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: Palm Developer Forum [EMAIL PROTECTED] Sent: Friday, December 19, 2003 9:14 AM Subject: Re: NetLib Socket connection to a Java Servlet Thanks for your answer. But after I have converted the ASCII

Re: NetLib Socket connection to a Java Servlet - Correction

2003-12-19 Thread Marcel
Uuuups. Sorry, in UTF16, the characters are 2 bytes long, of course. :-) But still, I will have to use the host-to-net macro Marcel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Thanks for your answer. But after I have converted the ASCII string to Unicode 16 (UTF16), the

URGENT : SndStream limitation

2003-12-19 Thread Chris Apers
hi, is there a way to get rid of the first segment only' limitation of Palm Sound API ? In fact i have a lot of code that can be called by the callback function and i cannot put everything in the first segment thanks for your help Chris -- For information on using the Palm

Re: URGENT : SndStream limitation

2003-12-19 Thread Aaron Ardiri
is there a way to get rid of the first segment only' limitation of Palm Sound API ? In fact i have a lot of code that can be called by the callback function and i cannot put everything in the first segment we use streaming audio - and, our code is not even in the first segment; or,

Re: A bit off topic: Win2K vs. XP professional with Palm dev. tools

2003-12-19 Thread Dave Lippincott
I have XP-Pro on all of my development systems. I haven't had any issues. I don't use Win2K so I can't compare. - Original Message - From: Brad Figler [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: Palm Developer Forum [EMAIL PROTECTED] Sent: Thursday, December 18, 2003 11:28 PM

Re: Strategy for Enabling for T3

2003-12-19 Thread Matthew Henry
Hmm. Why did you set the form sizes to 240x240? The T3 is 320x320. or 320x480 (I think). Is this a foreign funky resolution T3? I have all my forms 160x160, and they resize when necessary dynamically. PrgStartDialog Write your own progress dialog? modal forms I haven't run into any

Re: Memory filling tool

2003-12-19 Thread Matthew Henry
Eric Potter [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Is there a tool out there somewhere that fills all of the memory, so that there is no free memory left? I need something like this for my testing. http://www.quantumclockwork.net/memoryhog/ -- For information on using

Re: URGENT : SndStream limitation

2003-12-19 Thread Chris Apers
If i use * or / operator or functions in another segment it crashes because it can't reach them. The code use many encoders that use more than 64k (called by the callback). You're example may work with ARM code, but i can't do that with 68k app, and my code is strongly integrated with the whole

Re: A bit off topic: Win2K vs. XP professional with Palm dev. tools

2003-12-19 Thread Aaron Ardiri
I have XP-Pro on all of my development systems. I haven't had any issues. I don't use Win2K so I can't compare. oh yeah.. XP-Home SUCKS. :) XP-Pro is the only way to go *g* hmm.. my win2k server is still up and running, 400 days.. probably needs a reboot by now (all it does is serve/backup

Re: Friend's sorry but

2003-12-19 Thread Dave Lippincott
Use a table instead of a list. Your other option (which has been posted earlier) is to display the list with only enough items enabled as the list is high. Handle the scrolling yourself so the list arrows won't show up. But if you go that route it would take as much work as if you used a table.

Re: URGENT : SndStream limitation

2003-12-19 Thread Aaron Ardiri
If i use * or / operator or functions in another segment it crashes because it can't reach them. The code use many encoders that use more than 64k (called by the callback). i bet i could get it working *g* You're example may work with ARM code, but i can't do that with 68k app, and my

Re: URGENT : SndStream limitation

2003-12-19 Thread Pascal LEVY
If i use * or / operator or functions in another segment it crashes because it can't reach them. The code use many encoders that use more than 64k (called by the callback). In your main code segment, write a stub routine, something like: long MyMultiplication(long x, long y) { return x*y;

Re: URGENT : SndStream limitation

2003-12-19 Thread Chris Apers
Can't do that ;) this code need to work also on OS4 devices. If i use * or / operator or functions in another segment it crashes because it can't reach them. The code use many encoders that use more than 64k (called by the callback). i bet i could get it working *g* You're example

Re: URGENT : SndStream limitation

2003-12-19 Thread Aaron Ardiri
Can't do that ;) this code need to work also on OS4 devices. SndStream isn't available on OS4 devices - so, why does that matter? you can still have ARM code chunks in your application and have it run on OS4 devices - just dont call them. ARM code is just a resource, no different from your

Re: URGENT : SndStream limitation

2003-12-19 Thread Chris Apers
because i want to use Sony API on OS4 devices Can't do that ;) this code need to work also on OS4 devices. SndStream isn't available on OS4 devices - so, why does that matter? you can still have ARM code chunks in your application and have it run on OS4 devices - just dont call them. --

Re: Multibyte strings

2003-12-19 Thread Ken Krugler
Can we safely assume that the length of the ASCII 32-128 on non-ASCII encodings is always 1? Palm OS Programmer Companion says that all ASCII chars 0-0x7F) are the same in all encodings. Not exactly true. 0x5C has different meanings depending on the encoding - for example, with ShiftJIS

Re: URGENT : SndStream limitation

2003-12-19 Thread Aaron Ardiri
because i want to use Sony API on OS4 devices and? i dont know why you cannot use ARM.. Sony API doesn't use ARM - it uses PA1Lib. i know, fidelity: http://www.mobilewizardry.com/palm/fidelity/ runs on OS4 devices using Yamaha Pa1Lib (all three varients) and, when OS5 and SndStreaming is

Re: URGENT : SndStream limitation

2003-12-19 Thread Chris Apers
because i want to use Sony API on OS4 devices and? i dont know why you cannot use ARM.. Sony API doesn't use ARM - it uses PA1Lib. i know, fidelity: http://www.mobilewizardry.com/palm/fidelity/ This lib looks great :) The mixer code is the same, this is why i want to keep this code.

Re: NetLib Socket connection to a Java Servlet

2003-12-19 Thread Marcel
Thanks. Yes, I have tried to send the data without any conversion. Still only receiving weird binary code. The conversion I do looks like this: Err err = TxtConvertEncoding(true, NULL, source, sourcelength, charEncodingPalmLatin, dest, destlength, charEncodingUTF16BE, , 1); I read that TCP

Re: NetLib Socket connection to a Java Servlet

2003-12-19 Thread Vu Pham
- Original Message - From: Marcel [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: Palm Developer Forum [EMAIL PROTECTED] Sent: Friday, December 19, 2003 10:54 AM Subject: Re: NetLib Socket connection to a Java Servlet Thanks. Yes, I have tried to send the data without any conversion.

Re: URGENT : SndStream limitation

2003-12-19 Thread Chris Apers
because i want to use Sony API on OS4 devices and? i dont know why you cannot use ARM.. Sony API doesn't use ARM - it uses PA1Lib. i know, fidelity: http://www.mobilewizardry.com/palm/fidelity/ This lib looks great :) The mixer code is the same, this is why i want to keep this

Re: URGENT : SndStream limitation

2003-12-19 Thread Ron Nicholson
On Fri, 19 Dec 2003 09:16:54, Chris Apers writes: But perhaps i can build a (almost) full ARM version. What are the limitations ? can i put multiple functions/classes on an ARM code and call them within this ARM code ? is there a limit with globals like in 68k app (64k max) ? what if my ARM

Re: URGENT : SndStream limitation

2003-12-19 Thread Aaron Ardiri
But perhaps i can build a (almost) full ARM version. What are the limitations ? can i put multiple functions/classes on an ARM code and call them within this ARM code ? is there a limit with globals like in 68k app (64k max) ? globals in ARM code are forbidden, unless you are using a

Re: Strategy for Enabling for T3

2003-12-19 Thread Phil Hartley
Matthew Thanks for your reply. The T3 resolution is 320 x 480 maximum. The forms I use are double density so that translates to 160 x 240. I had to make the forms 240 in width otherwise when the screen goes into landscape mode, it truncates on the right at 160 pixels. Note that I am using

Dynamically changing the size of a form

2003-12-19 Thread Phil Hartley
I have read the API carefully and I can see no way to resize a form dynamically. Have I missed something or is there a way to achieve this result with a different approach? I'm trying to resize a form to fit correctly on a T3 in 160 x 240 and 240 x 160 modes. Phil -- For information on

Re: A bit off topic: Win2K vs. XP professional with Palm dev. tools

2003-12-19 Thread Dave Lasker
I have a mixture of XP Pro and Win2K on my PC's. I have never seen any incompatibility due to XP. To me the biggest advantage of XP is that startup and shutdown are much faster. If you go with XP, get at least 512MB RAM...it's more memory-hungry than 2K. Dave Aaron Ardiri [EMAIL PROTECTED]

Re: Strategy for Enabling for T3

2003-12-19 Thread Matthew Henry
Phil Hartley [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Matthew Thanks for your reply. The T3 resolution is 320 x 480 maximum. The forms I use are double density so that translates to 160 x 240. I had to make the forms 240 in width otherwise when the screen goes into

Re: Strategy for Enabling for T3

2003-12-19 Thread Phil Hartley
Matthew Thanks again for your reply. OK, so my question is, how did you resize the forms? I can't see API to do this. Can you attach a small snippet, please? Phil Matthew Henry [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Phil Hartley [EMAIL PROTECTED] wrote in message

Re: Strategy for Enabling for T3

2003-12-19 Thread Matthew Henry
Phil Hartley [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Matthew Thanks again for your reply. OK, so my question is, how did you resize the forms? I can't see API to do this. Can you attach a small snippet, please? Something like this // OS 3.5 Clie's crash on

Re: URGENT : SndStream limitation

2003-12-19 Thread Laszlo Kesmarki
Chris Apers wrote: because i want to use Sony API on OS4 devices and? i dont know why you cannot use ARM.. Sony API doesn't use ARM - it uses PA1Lib. i know, fidelity: http://www.mobilewizardry.com/palm/fidelity/ This lib looks great :) The mixer code is the same, this is why i

DayDrawDays() and OS5

2003-12-19 Thread Paul Nevai
Since DayDrawDays() was removed from OS5, is there a substitute which can be used? Thanks, PaulN -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Dynamically changing the size of a form

2003-12-19 Thread Sebastian Cancinos
WinSetWindowBounds(FrmGetWindowHandle(frmP),RecP); Friday, December 19, 2003, 3:08:38 PM, you wrote: PH I have read the API carefully and I can see no way to resize a form PH dynamically. Have I missed something or is there a way to achieve this PH result with a different approach? I'm trying

Re: Dynamically changing the size of a form

2003-12-19 Thread Laszlo Kesmarki
Sebastian Cancinos wrote: WinSetWindowBounds(FrmGetWindowHandle(frmP),RecP); Friday, December 19, 2003, 3:08:38 PM, you wrote: PH I have read the API carefully and I can see no way to resize a form PH dynamically. Have I missed something or is there a way to achieve this PH result with a

tiny fonts in OS5

2003-12-19 Thread palmDev
how do I set the fonts to tiny in OS5? is it possible to do without defining my our fonts? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Friend's sorry but

2003-12-19 Thread Ruben Luna
thank's , I compile and llinking, not error in my code I'm Happy thank's for you help -- Ruben Luna Cabret Jefe de Proyectos UTFSM - www.extensa.cl 72-245643 - Rancagua Móvil : 09-8322395 Dave Lippincott [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] Use a table instead

Re: A bit off topic: Win2K vs. XP professional with Palm dev. tools

2003-12-19 Thread Al Gelders
Thanks to all who answered. I think I'll go with the XP Professional. I don't like the look but Dell recommends it and nobody had anything bad to say about it. -- al gelders [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Picture on palm

2003-12-19 Thread Stefano
I think it's a classical question, but i haven't find a solution.. I have to transfert some pictures from pc to palm (it is not a problem if it is a bitmap, or jpeg or gif, i will convert it in the format needed) via hotsync (through COM conduit). I have tried with same samples (for example

Re: Dynamically changing the size of a form

2003-12-19 Thread Phil Hartley
Laszlo Yes, I have pretty much everything working now on the T3 except for dialogs displayed using PrgStartDialog which caused the DIA to open if it is closed. Phil Laszlo Kesmarki [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Sebastian Cancinos wrote:

Re: Strategy for Enabling for T3

2003-12-19 Thread Phil Hartley
Matthew Thanks for your help. I implemented the code per your example and it now works correctly in portrait and landscape modes, open or closed DIA with forms which are defined in Constructor as being 160 x 160. Phil Matthew Henry [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Phil

CodeWarrior: #IF SIZEOF(struct) == X ?

2003-12-19 Thread Peter Easton
Hi, I'm looking to receive some kind of compile-time notification if a structure size isn't what I'd expect it to be. Something like: #IF SIZEOF(MyStructType) != 100 DISPLAY Oops, there's problem Thanks, Peter -- For information on using the Palm Developer Forums, or to unsubscribe,

Re: A bit off topic: Win2K vs. XP professional with Palm dev. tools

2003-12-19 Thread Dave Lippincott
I could say plenty of bad things about XP but in keeping with the topic, it will do what you want. - Original Message - From: Al Gelders [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Friday, December 19, 2003 3:42 PM Subject: Re: A bit off topic: Win2K vs. XP

Re: Raw IR on Tungsten T3

2003-12-19 Thread keith cameron
I made and error in the code listed it should have been srmCtlRXDisable and srmCtlRXEnable commands and the delay seems to be about 25 milliseconds; would this be your 'pretty much instant'? Keith Aaron Ardiri wrote: I have been able to do Raw IR but only in one direction at a time to change

Implementing the DIA on the T3

2003-12-19 Thread Phil Hartley
Since I found this to be a pain in the neck, I'd at least like to let other know how it was done. The code sometimes referes to the Applications and Dynamic Input Areas documentation as the DIA doc. This documentation is provided with the Palm OS 5 SDK. Implement the following code in your

Re: Multibyte strings

2003-12-19 Thread Ken Krugler
Can we safely assume that the length of the ASCII 32-128 on non-ASCII encodings is always 1? Palm OS Programmer Companion says that all ASCII chars 0-0x7F) are the same in all encodings. Not exactly true. 0x5C has different meanings depending on the encoding - for example, with ShiftJIS

Re: tiny fonts in OS5

2003-12-19 Thread Dave Lasker
Tiny fonts are not included in OS5. You need to define them. If you use CW, go to kb.palmsource.com and search on tiny fonts to get sample code. If you use prc-tools, see my earlier post at http://www.escribe.com/computing/pcpqa/m79159.html Dave palmDev [EMAIL PROTECTED] wrote in message

Re: A bit off topic: Win2K vs. XP professional with Palm dev. tools

2003-12-19 Thread Dave Lasker
There are configuration options that can make XP look almost exactly like Win2K. Dave Al Gelders [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] ...I don't like the look... -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: CodeWarrior: #IF SIZEOF(struct) == X ?

2003-12-19 Thread John Marshall
Peter Easton [EMAIL PROTECTED] wrote: I'm looking to receive some kind of compile-time notification if a structure size isn't what I'd expect it to be. Something like: #IF SIZEOF(MyStructType) != 100 DISPLAY Oops, there's problem Sadly the sizeof operator is not available in the

C++ Palm Development (Newbie)

2003-12-19 Thread Robert Simmons
Greetings, I am a professional Java and C++ developer and I am learning Palm programming. I was wondering if anyone could point me at some resources and documentation for using C++ and object oriented programming on Palm. -- Regards -- Robert -- For information on using the Palm Developer

XML Tools for Palm

2003-12-19 Thread Robert Simmons
Does anyone know any XML tools small enough to be appropriate to usage by a palm application. IM looking for something like Java's JDOM. -- Robert -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

High Density programming?

2003-12-19 Thread Robert Simmons
Sorry for the newb question. Does anyone have a simple example program that shows how to design for the high density screen. I tried making my form 320x320 in the RCP file but it just scrolls off the side. -- Robert -- For information on using the Palm Developer Forums, or to unsubscribe,

Re: High Density programming?

2003-12-19 Thread palmDev
you don't design the form to be in hires. if you want bitmaps to be in hires then you have to create a hires version in the bitmap family. if you want to draw in hires you have to set the co-ordinates to high density. read the reference manual. by default the drawing is in lowres eg: