Re: What order is SysAppLaunchCmdSysReset send to apps?

2004-12-08 Thread Rob
Thanks for the response - I was actually meaning the launch code that is sent to all apps though rather than the notification. (sorry - my question wasn't clear) How do you get the front of the queue for the launch code? Cheers, Rob On Wed, 8 Dec 2004 06:32:36 -, mguo [EMAIL PROTECTED]

Re: Support for different resolutions / color depths.

2004-12-08 Thread Vladan Markovic
No i don`t intend to support the long-screen. just 1x1 proportions. Chris Tutty [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] From: Vladan Markovic [EMAIL PROTECTED] What is standard resolutions/color depths combinations to support much device i can? 160 x 160 - 16bpp

Re: inter-process communication

2004-12-08 Thread Henk Jonas
mguo wrote: In Palm OS 6.0 platform, I create two processes - one is in foreground (main process), the other is in background (calling SysAppLaunch by passing in some special launch flags). I know this has been done successfully, but I have several questions: (1) Can these two processes run at

RE: Support for different resolutions / color depths.

2004-12-08 Thread Tam Hanna
Hi, I think that you shall rather support the following resolutions: 160 x 160 - 4bpp(Zires) 160 x 160 - 8bpp(Palm IIIc, another Smartphone) 160 x 160 - 16bpp(maybe, for m505, but they can do 8bit too) 240 x 240 - 1bpp(useless) 240 x 240 - 8bpp(useless) 240 x 240 -

RE: What order is SysAppLaunchCmdSysReset send to apps?

2004-12-08 Thread Tam Hanna
Hi, I think that you can easily change the priroity of the notification with one of the parameters that you use at registration of the notification. Look up thze Documentation for SysNotifyRegister-itÂ’s the third parameter! Best Regards Tam Hanna- http://tamspalm.blogspot.com Mguo wrote In the

Show wait notification (WaitCursor)

2004-12-08 Thread Peter Voss
How can I display a wait cursor while my application is loading some stuff in the background? Thanks -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: PODS Problem in C++

2004-12-08 Thread Carlos Maria Caraccia
I`ll tell you exactly what I did. Firt, I`ve created a New Managed make C++ Proyect. Second, I added a new file called fgff.cpp to my proyect. Third, I wrote some code in it (already working code) and finally I pressed the option build Proyect. The part of the message between , is the error

PalmPhoto library: How to open jpeg from memory ?

2004-12-08 Thread Yannick Bartheye
Hello, I'm trying to use PalmPhoto with my TT5, everything is ok if I open a jpeg file with PalmPhotoOpenImage(..) from stream or VFS, but I can't load it from a memory buffer. My memory buffer is allocated by MemPtrNew and filled by VFSFileRead. I set fileLocationType to

Re: What order is SysAppLaunchCmdSysReset send to apps?

2004-12-08 Thread Douglas Handy
Rob, How do you get the front of the queue for the launch code? I'm not sure you really can. You can't use the priority of the notification system, because the notification registry is cleared on a reset so only internal apps can use sysNotifyResetFinishedEvent. User apps need to respond to

Re: Show wait notification (WaitCursor)

2004-12-08 Thread Ben Combee
At 03:04 AM 12/8/2004, you wrote: How can I display a wait cursor while my application is loading some stuff in the background? Look at Progress Manager in the Palm OS SDK documentation. This is the general way to notify the user that you're doing something lengthy, while also providing more

text file on treo

2004-12-08 Thread Keyur Patwa
Hi guys, I would like to know who I can create a text file from my program. I looked at VFS file system and the streaming api too but none of them seems to be supporting writing text in a file. I am just able to write binary data. Please reply, Keyur -- For information on using the

Re: text file on treo

2004-12-08 Thread Ben Combee
At 07:56 AM 12/8/2004, you wrote: Hi guys, I would like to know who I can create a text file from my program. I looked at VFS file system and the streaming api too but none of them seems to be supporting writing text in a file. I am just able to write binary data. Text is binary data. Just write

displaying a portion of a bitmap

2004-12-08 Thread Drew Haninger
any ideas on how to display a portion of a bitmap on Palm OS ? i.e. we want to display the bottom half of a 160 wide by 500 high bitmap. we are using the function: WinDrawBitmap() thanks Drew Haninger -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: displaying a portion of a bitmap

2004-12-08 Thread Ben Combee
Draw the whole bitmap to an offscreen window, then copy the portion you need using WinCopyRectangle. -Original Message- From: Drew Haninger [EMAIL PROTECTED] Subj: displaying a portion of a bitmap Date: Wed Dec 8, 2004 10:21 am Size: 337 bytes To: Palm Developer Forum [EMAIL

Re: inter-process communication

2004-12-08 Thread mguo
Thanks for response... I do believe two processes can run in parallel if the background process is invoked from foreground process by calling SysAppLaunch(..., sysAppLaunchFlagNewThread | sysAppLaunchFlagNewStack,...). In other words, the foreground doesn't have to be blocked when background

Re: displaying a portion of a bitmap

2004-12-08 Thread Logan Shaw
Drew Haninger [EMAIL PROTECTED] wrote: any ideas on how to display a portion of a bitmap on Palm OS ? i.e. we want to display the bottom half of a 160 wide by 500 high bitmap. Ben Combee wrote: Draw the whole bitmap to an offscreen window, then copy the portion you need using

MP3-Player

2004-12-08 Thread Sebastian Noack
Hi, there are a superior MP3-Player for Palm OS 5 than the RealOne Player? Or would it make sense to start a open source project? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: inter-process communication

2004-12-08 Thread Henk Jonas
Hm, you believe... Can you give me any reason for it? Like a link to this information? I guess, many people here would like to know how to create real background processes on a single task OS (from the public API site), like PalmOS. mguo wrote: Thanks for response... I do believe two processes

Re: MP3-Player

2004-12-08 Thread Henk Jonas
Sebastian Noack wrote: Hi, there are a superior MP3-Player for Palm OS 5 than the RealOne Player? Or would it make sense to start a open source project? Pocket Tunes, Aero Player for example. They are not free, but they are quite well. And, there is nothing to say against RealPlayer. What about

Re: FrmGetFocus broken on Treo or just different?

2004-12-08 Thread jan
Ralph, Of course you are right. My rant was just out of amazement because it just seems like nobody else knows about it. I followed your advice and my app is working fine now! Thank you again! Jan -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Disable Virtual buttons on T3

2004-12-08 Thread jsingh
I have a Tunsten T3 program which requires the user to not to be able to exit the program. The desire is for the application to be the only thing available for the users so we can't allow then to hit 'Applications' or any other option to exit. I was able to intercept some of the virtual keys and

re: Disable Virtual buttons on T3

2004-12-08 Thread mguo
Catch keyDownEvent at the beginning of your main event loop, atually before SysHandleEvent has a chance to handle it. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: displaying a portion of a bitmap

2004-12-08 Thread Gary
I actually am using that less-favored method, simply clipping the larger bitmap onto the screen, the screen being a view onto the bmp... ...I haven't run-into problems yet, but I'm still concerned about performance. Due to its inelegance, I want to ding the clipping method but when I consider

Re: inter-process communication

2004-12-08 Thread mguo
OS is single-threaded, but multi-tasked. There can be only one thread in one process, but you can create multiple processes. The launch flags I listed here (NewThread | NewStack | NewGlobals) are used to create a new background process. Palm document is so poor that I can not find any

FrmGetFocus not working on T|T5 and Treo650

2004-12-08 Thread jan
It turns out that the FrmGetFocus function returned nofocus instead of the correct field index but only on these two specific machines. It looks like it has something to do with this focus ring feature. Is this a known problem? Does PalmOne and Palm source maintain a list with known bugs and

Re: MP3-Player

2004-12-08 Thread Sebastian Noack
If a good player exists I'm not give a damn about it is open or closed source. But when I would develop one I would take open source. I want a player who had the feature of a key-locking and an equializer or at least a bass- and treble-control. Matched that with the players that you have said?

Serial Number on Treo devices (Programmatically)

2004-12-08 Thread Anand Sinha
Palm advertises an API call SysGetROMToken to get the Serial Number. However, this does not return a proper value on Treo devices. Treo devices do have a serial number (though may not be Flash-ROM based). The following site mentions how to get the serial number non-programatically:

GotHelp?

2004-12-08 Thread Kristian Austad
Aaron, are you planning to resubmit the GotHelp HTML-renderer for download? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: displaying a portion of a bitmap

2004-12-08 Thread Logan Shaw
Gary wrote: I actually am using that less-favored method, simply clipping the larger bitmap onto the screen, the screen being a view onto the bmp... ..I haven't run-into problems yet, but I'm still concerned about performance. Due to its inelegance, I want to ding the clipping method but

Library search paths in PODS

2004-12-08 Thread Sony Santos
Hi, (I'm sorry if it's a very basic C question.) I created a static library, libmylib.a, which contains only mylib.c and mylib.h. I'd like to know how to use the lib within other projects. I'm using PODS. In another project I'm using the following ugly code: #include

Trying to save a capture photo Zire 72

2004-12-08 Thread olga
I am trying to use the cameralib and I have been able to take a picture and capture the picture but I have not been able to save it to a file. Has anybody try this? Here is what I am using: err = CamLibControl(gCameraLibRefNum, kCamLibCtrlCapture, capture); Thanks, Olga -- For information

Re: inter-process communication

2004-12-08 Thread David Fedor
OS is single-threaded, but multi-tasked. There can be only one thread in one process, but you can create multiple processes. The launch flags I listed here (NewThread | NewStack | NewGlobals) are used to create a new background process. Perhaps we're simply using different terms, but in the

Re: Library search paths in PODS

2004-12-08 Thread Ben Combee
At 03:04 PM 12/8/2004, you wrote: Hi, (I'm sorry if it's a very basic C question.) I created a static library, libmylib.a, which contains only mylib.c and mylib.h. I'd like to know how to use the lib within other projects. I'm using PODS. In another project I'm using the following ugly code:

Plucker in Tungsten T3

2004-12-08 Thread elite bondoc
Hi All, I have installed Plucker in my Tungsten T3. I can successfully view the html pages that I have synced. But the problem is, the menu and other headers (this is while running Plucker in my PDA) are messed up. There are unreadable characters in the menu and some of the table headers.

Re: inter-process communication

2004-12-08 Thread mguo
David, Thank you so much for detailed explanation! If you don't mind, would you be more specific on how these two threads can commuicate? I still don't know how to do that even though I do understand the semaphore. My specific concerns are: can they control/stop each other? can they read data

Bitmaps sent via network

2004-12-08 Thread Adam Ernst
I need to get a find a way to display a bitmap sent over TCP/IP via NetLib. The server is on the desktop, so I'm flexible format-wise--I can even send PICT data if that's convenient (it's the Palm's native format, isn't it)? So how do I get the image data from a socket buffer into a bitmap?

Re: inter-process communication

2004-12-08 Thread David Fedor
If you don't mind, would you be more specific on how these two threads can commuicate? I still don't know how to do that even though I do understand the semaphore. My specific concerns are: can they control/stop each other? can they read data from the other thread's data storage (database,

Re: Move memory chunk to another memory chunk

2004-12-08 Thread Donald C. Kirker
Sorry for being unclear. I am working on a WAP browser that uses the Wireless Application Protocol, Segmentation and Reassembly to be specific. I have gone through and cleaned the code up a little bit (so it is more consistant). For starters here is a basic WTP SAR session: (just the server

Hi-Res for T3

2004-12-08 Thread Bochoniuk Sebastian
Hi I am traing to use the 320x480x16 in C++ in the t3 for a graphic development, is a cad program, can anybody help me on this. All the information I found only helps me to open a 160x160 screen. Thanks, Sebastian -- For information on using the Palm Developer Forums, or to unsubscribe,

Re: Bitmaps sent via network

2004-12-08 Thread Logan Shaw
Adam Ernst wrote: I need to get a find a way to display a bitmap sent over TCP/IP via NetLib. The server is on the desktop, so I'm flexible format-wise--I can even send PICT data if that's convenient (it's the Palm's native format, isn't it)? So how do I get the image data from a socket

Re: Adding PODS to Eclipse?

2004-12-08 Thread Rhino
Ben Combee [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At 10:43 AM 12/7/2004, you wrote: I am thinking about installing PODS on my Windows XP machine; I don't currently have a copy of PODS on this machine. (In fact, I've never seen PODS and only heard of it for the first time