Re: Draw Image with dynamic opacity

2006-12-04 Thread Christian Giordano
Dmitry Grinberg wrote: palmos has no direct support of this, but nothing stops you from doing it yourself: I understand that this technique could become cpu intensive, so, just to clarify, since the image will be drawn on a black background, as option, I could also draw the image normally and

Re: Draw Image with dynamic opacity

2006-12-04 Thread Christian Giordano
create an offscreen windows of high-resolution and 16 bits per pixel color, copy the area of the screen your image will cover into that window. get the window's bits and your image's bits, and blend them as you wish(likely in an armlet for speed). Then use WinCopyRectangle to draw the result ba

re: I am not able to find mime type for treo 650 in j2me to run mp3 file on device.......plz help me.

2006-12-04 Thread kaushik15
Hi Megha, Palm Treo 650 maintains a directory structure which u can follow at the below link, http://www.palmos.com/dev/support/docs/palmos/PalmOSCompanion/ExpAndVFSConcepts.html#1031781 The audio folder in Treo 650 contains only .mp3 files.The .mpg,.mpeg files are present in DCIM fol

Re: Draw Image with dynamic opacity

2006-12-04 Thread Dmitry Grinberg
palmos has no direct support of this, but nothing stops you from doing it yourself: create an offscreen windows of high-resolution and 16 bits per pixel color, copy the area of the screen your image will cover into that window. get the window's bits and your image's bits, and blend them as you wis

Re: Palm Debugger questions; also, any kind of log file?

2006-12-04 Thread Hal Mueller
Right, of course! Put the log file on the removable card! -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Launch code

2006-12-04 Thread Rob
The notification handler has the opportunity to permit deletion by unprotecting the app. Although z-launcher doesn't send the decond delete request as it should, so will complain that it can't delete your app. I've sent them the code to do it right, so yes - I'm bitter ;) -- For information

Re: Palm Debugger questions; also, any kind of log file?

2006-12-04 Thread Rob
I use this //#define DEBUG_ON #ifdef DEBUG_ON #define DEBUG(x) DebugStringToFile("DebugFile",x); #else #define DEBUG(x) #endif #ifdef DEBUG_ON #define DEBUGNUM(x) {Char dispStr[10]; StrIToA(dispStr,x);DebugStringToFile("DebugFile",dispStr);} #else #define DEBUGNUM(x) #endif with this void

Re: Adding a button dynamically - problem...

2006-12-04 Thread Rob
unfortunately things are a little complex - it's not 'my' form. It belongs to the attention manager. so: a) it works fine without the dynamic control b) yes (assuming the code hasn't changed much in a while) c) not an option unfortunately ideas? On Thu, 30 Nov 2006 22:48:35 -, Hal Mueller

Re: Palm Debugger questions; also, any kind of log file?

2006-12-04 Thread Hal Mueller
Make sure you have all the checks turned on in the Emulator, under Debugging and Error Handling. Make sure you are using a Debug ROM. Writing to the memopad's DB could be a crude logfile. You might also be able draw a coded string directly onto the screen. -- For information on using the Pa

Re: Palm Debugger questions; also, any kind of log file?

2006-12-04 Thread Pinus Alba
Hi Brian, Addressing your last point only. A simple way to get log messages is to call void DlkSetLogEntry(const Char * textP, Int16 textLen, Boolean append) To use this function you need to #include call it as, e.g. DlkSetLogEntry("In func a", 8, true); Such entries will be in your devic

Draw Image with dynamic opacity

2006-12-04 Thread Christian Giordano
Hi Guys, I'd like to draw, or paint, an image. The thing is that I want to draw it with an alpha (the same value to all the pixels). Should I draw a rectangle as mask with the related gray value? I've doubt just because when trying the overlay, the mask seems to be only of 1 bit. Thanks, chr -

Re: Palm Debugger questions; also, any kind of log file?

2006-12-04 Thread Ben Combee
On 12/4/06, Brian <[EMAIL PROTECTED]> wrote: > > I've been reading the docs on this and I have a few questions: > > 1) Can the Palm Debugger connect to a device (TX specifially) over USB? > That's the only cable that came with my TX > > 2) I have DotDotTwo installed, and it says my device is in con

Palm Debugger questions; also, any kind of log file?

2006-12-04 Thread Brian
I've been reading the docs on this and I have a few questions: 1) Can the Palm Debugger connect to a device (TX specifially) over USB? That's the only cable that came with my TX 2) I have DotDotTwo installed, and it says my device is in console mode, but I am not getting any 'Ready' message in

Re: Hard Return with FrmCopyLabel?

2006-12-04 Thread Greg
Had a brain fart, forgot that the Palm HrLf is \r not \n Greg -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Changing DIA keyboard programmaticallyon T5/TX/LD?

2006-12-04 Thread David Thacker
> > From the Palm 5.3 SDK: > --- > Err PinSwitchToPinlet ( UInt16 refnum, > const char * pinletID, > UInt16 initialInputMode > ) > Perfect! That's exactly what I was hunting for. Sometimes you just can't seem to find stuff even when it is right there in front

Re: Hard Return with FrmCopyLabel?

2006-12-04 Thread Hynek Sladky
AFAIK if You want multiline message You should use noneditable field with multiple lines. Or you can use alerts for displaying user texts. Hynek Sladky Greg napsal(a): Can I do a return/line feed with FrmCopyLabel? I have tried using \n but is does not seem to work with CW. I would like to

Field not getting character on Zire 22

2006-12-04 Thread Luc Le Blanc
My app intercepts keyDownEvents to allow certain characters only if they fit in the current context. One of these characters is the degree sign that I may, or not, allow. On all devices except the Zire 22, if I set the "handled" return variable to false and let the handler go, the degree sign ap

Hard Return with FrmCopyLabel?

2006-12-04 Thread Greg
Can I do a return/line feed with FrmCopyLabel? I have tried using \n but is does not seem to work with CW. I would like to do something like this: FrmCopyLabel (frmP, SyncStatusMainMessageLabel, "My message Line 1\nMy message Line 2"); Any ideas how to compile this so that I can get set a lab

Re: How to deal with 'Start-up codes is greater than 64 K' warning message ??

2006-12-04 Thread Rajeev Singh
Hi Manish Build your application as Multi Segment application , it will solve your problem. On 12/4/06, Manish <[EMAIL PROTECTED]> wrote: > > Hello, > I am stucked with a 'Start-up codes is greater than 64 K' warning message. > The problem comes after defining a new function in my

How to deal with 'Start-up codes is greater than 64 K' warning message ??

2006-12-04 Thread Manish
Hello, I am stucked with a 'Start-up codes is greater than 64 K' warning message. The problem comes after defining a new function in my source file. Owing to this problem, I then transferred the new defined function alongwith few other functions to an another segment having size less than 64 K.

PalmPhotoReadImage

2006-12-04 Thread Micky MeNeZeS
Hi all, Now I am able to read the image using PalmPhotoImageRead API. Callback function get called for several time with size = 16384. Image I am trying to read is of size 54059. After comparing original image and the data I am reading I found that only first part (16384 bytes) is identical.

Re: Is it possible?? (Protein - 68k)

2006-12-04 Thread Tinnus
You won't want to use Protein anyway since there are no devices with OS6 and the Protein API. 2006/12/4, Javi Martinez <[EMAIL PROTECTED]>: > > Hello > > I would like to use a 68K library (http://www.copera.com/AESLib/) in a protein > project. Is it possible??? How can I do it??? > > Thanks :) > >

Re: How to create global variable more than 64K size

2006-12-04 Thread hv reddy
Hi Michal , Thanks for ur reply. Yes it is there. I did it . Thanks once again. Regards, Harsha Michal Seliga <[EMAIL PROTECTED]> wrote: in Incs is only includes, library itself is in Libraries in my installation its this path: c:\Program Files\Metrowerks\CodeWarrior\Palm OS

Re: How to create global variable more than 64K size

2006-12-04 Thread hv reddy
Dear Ben, Thanks for ur help. I finally did it. Thanks once again. Regards, Harsha Ben Combee <[EMAIL PROTECTED]> wrote: On 11/12/06, hvreddy wrote: > > Hi All, > Is it possible to create a global variable of size more than 64K in palm > os? I tryed to create more than 64K siz

Is it possible?? (Protein - 68k)

2006-12-04 Thread Javi Martinez
Hello I would like to use a 68K library (http://www.copera.com/AESLib/) in a protein project. Is it possible??? How can I do it??? Thanks :) Javi Martínez web: http://usuarios.lycos.es/acertijolandia ***

Re: How to create global variable more than 64K size

2006-12-04 Thread Michal Seliga
in Incs is only includes, library itself is in Libraries in my installation its this path: c:\Program Files\Metrowerks\CodeWarrior\Palm OS Support\CodeWarrior Libraries\Palm OS Glue\ hv reddy wrote: > Hi Ben, > Thanks for ur reply, > I did as you told. > And i include the header files like > #in

Re: How to create global variable more than 64K size

2006-12-04 Thread hv reddy
Hi Ben, Thanks for ur reply, I did as you told. And i include the header files like #include #include also. But i am getting linker error as MemGluePtrNew is undefined. I try to add palmosglue.lib library.But in my system i don't have this. I have only header files in