Re: arm-prc-tools help

2006-08-08 Thread Aaron Ardiri
On 8/8/06, Hynek Sladky <[EMAIL PROTECTED]> wrote: Can I ask anybody for process description how to install successfully cygwin for arm-palmos development? www.cygwin.com download setup.exe and run it. follow the basic prompt and select "download from internet". ensure that you have selected a

How to download image and display it

2006-08-08 Thread jarlymail
I want to download image from server and display it in my application. does palm support conversion from png or jpg to bitmap? How can I create a image on palm and display it? thanks -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.

create and draw image

2006-08-08 Thread jarlymail
I have png/jpg/bmp image data as a byte array. How can I create a bitmaptype or anything that can be displayed on screen? thx -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

How to launch a DA

2006-08-08 Thread Rob
Hi, does anyone have a spec on how to launch a DA, or the source code for DA Launcher? I'm just getting broken links. Thanks, Rob -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: create and draw image

2006-08-08 Thread Michal Seliga
this question was answered many times in this forum for jpg you can use pnoJpegLib, palmphotolib or some others for bmp you will have to write your own conversion code, at least i don't know about any for png you can use html library (i only read it somewhere, never tried it), or take code from

Re: what is correct way to detect how many sms messages are in inbox? - SOLUTION

2006-08-08 Thread Michal Seliga
it works now the correct answer was to use pmNotifyGetNewMsgCountFromHelper. it works now. i don't know why it didn't before, maybe i did some mistake... but now it gets count of sms messages flawlesly. i am glad i tried it again... it counts new messages only, so its same number as shown in palm

Re: versamail doesn't respond to my calls - Solution

2006-08-08 Thread Michal Seliga
solution - i used wrong creator, versamail application uses 'msgS', but i had to call MultiMail which has creator 'asc3' and to create new mail its better you use HsCreateNewMail function from palmone sdk maybe it will help someone... Michal Seliga wrote: > hi, > > i have treo 650 with syste

treo650 - sys gadgets question

2006-08-08 Thread Michal Seliga
phone application shows special icon (looks like cross for aiming when shooting), it means something with location privacy. i use PmSysGadgets to show all what is possible, but this control is missing there. how can i detect if i should show something similar or not? i got this reported, but on m

Re: arm-prc-tools help

2006-08-08 Thread Hynek Sladky
Aaron Ardiri napsal(a): http://prc-tools.sourceforge.net/install/cygwin.html Cygwin doesn't contain prc-tools in setup anymore? At least I didn't found it in Devel category... I downloaded prc-tools and arm-prc-tools from sf.net and copied it to cygwin directory /usr (as it is packed in ar

Re: Launch an other application in landscape mode

2006-08-08 Thread Didier Devy
Thanks for your answer. I tried to enqueue penUp and penDown events with EvtAddEventToQueue without success, but I found this solution: pt.x = 266; // true coord (pixels) pt.y = 466; PenScreenToRaw(&pt); // conv into digitalizer coord EvtEnqueuePenPoint(&pt)

Re: create and draw image

2006-08-08 Thread jarlymail
I am really new to palm. can u give me an example how to convert byte array into a image. thanks -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: create and draw image

2006-08-08 Thread jarlymail
forgot to mention, the bytearray contains whole jpeg image -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: arm-prc-tools help

2006-08-08 Thread Hynek Sladky
I am sorry, I was confused by the same URL for * prc-tools doc and prc-tools cygwin install URL: http://prc-tools.sourceforge.net/install Hynek Sladky napsal(a): Cygwin doesn't contain prc-tools in setup anymore? At least I didn't found it in Devel category... -- For information on using t

Re: arm-prc-tools help

2006-08-08 Thread Aaron Ardiri
let me repeat: if you have problems with the above instructions; try buying a tool set, like codewarrior. everything you need is in the emails and on the site i provided. if you cannot figure it out - a cygwin based solution isn't for you. you can still buy codewarrior 9.3 from metrowerks. do

Re: arm-prc-tools help

2006-08-08 Thread Hynek Sladky
Again but complete: I am sorry, I was confused by the same URL for prc-tools doc (http://prc-tools.sourceforge.net/install) and prc-tools cygwin install URL (http://prc-tools.sourceforge.net/install) so I looked only into the doc page and didn't add the server... :-( It works now! I must say

Re: create and draw image

2006-08-08 Thread Michal Seliga
download pnojpeglib , there you have example on page http://www.bin-people.de/pnoJpegLib/index.html [EMAIL PROTECTED] wrote: > forgot to mention, the bytearray contains whole jpeg image > -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmo

Re: create and draw image

2006-08-08 Thread jarlymail
pnojpglib requires extra library to be installed onto palm. I can not ask everyone to do this. Is there any way to create image with image libs. Is it possible to hold the image in memory as a chunk and point to it with a MemPtr. Then, draw it with Err ImageLibDrawJPEG ( UInt16 libRef, Me

Re: Function to stop Palm for 3 seconds?

2006-08-08 Thread Tenchi
Thanks so much :) "Douglas Handy" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > >>Do you know is there any function to force Palm to wait 3 seconds before >>processing the next line of code? > > SysTaskDelay( SysTicksPerSecond() * 3 ); > > -- For information on using the Pal

Re: create and draw image

2006-08-08 Thread Michal Seliga
AFAIK, this builtin palmphotolib is only on treo600 and newer, so its not soultion if your device is older also it can't work with jpeg images in memory. it will return errors. you will have to save image to temporary file (prefereably to pdb, but it can be also vfs), then you can open it, let lib

Yeild to other processes. Was: Function to stop Palm for 3 seconds?

2006-08-08 Thread P. Douglas Reeder, aka Skapti
Here's a question for the experts: Is there a way to yield the processor to other processes (such as sound streams), without otherwise slowing down one's own code, other than EvtGetEvent? Would SysTaskDelay(0) do that? -- Doug Reeder ROAR Lab, OSU Dept. of Psychology -- For information on

Re: Yeild to other processes. Was: Function to stop Palm for 3 seconds?

2006-08-08 Thread Dmitry Grinberg
0 will not in 68kcode 1 will, in arm 10. but just what kind of preccesses do you intend to yield to? palm multithreading is not open so there are not too many of those present. they are: IR listening, netlib sometimes, nvfs. out of the 3-rd party apps, my dynamic clocking uses it (but it will wres

How does CW 9.3 eebugger pick target?

2006-08-08 Thread Luc Le Blanc
When I have more than one instance of POSE or Simulator running on my PC and I hit Debug in CW 9.3, I never know which target it is going to use for debugging. The one that's idle? The last visited window? I can't seem to detect a pattern. Is it picked at random, or is there a rule? That would

Re: How does CW 9.3 eebugger pick target?

2006-08-08 Thread Gary
The debugger just uses TCP/IP for communication, so it's probably just a matter or whichever instance responds to the request first.  I believe you can change the port number in the simulator, and in CW, however, if you're interested in controlling who responds. -Gary Luc Le Blanc wrote: When

Re: How does CW 9.3 eebugger pick target?

2006-08-08 Thread André Fillipe de Oliveira e Silva
So, for completeness, if that's the case, then the first one that was ran will respond, because the other will find the default debugging TCP port already bound to the first instance.-- Cheers,André On 8/8/06, Gary <[EMAIL PROTECTED]> wrote: The debugger just uses TCP/IP for communication,

Dynamically changing the number of field lines

2006-08-08 Thread Luc Le Blanc
I have a generic form where a two-line field would sometimes require to be a single line because the input data cannot hold on more than one line. How can I dynamically reduce the number of lines of a field? I tried FldSetMaxVisibleLines, but it requires OS 4.0 (an undocumented requirement in

Re: create and draw image

2006-08-08 Thread jarlymail
thx. I think I got what you mean. correct me if i am wrong. Use function in image lib to open the image database and put the image pointed by MemPtr into the database. Then, read the image back from the database and display it. I guess this should work fine with jpegs. what can i do with PNGs?

Re: Dynamically changing the number of field lines

2006-08-08 Thread Douglas Handy
Luc, >How can I dynamically reduce the number of lines of a field? I think you want to use FldSetBounds() for this. >I tried FldSetMaxVisibleLines, Under the SDK doc's Comments section, this API seems to be a means to cap the size a dynamic field can expand to when needed (that is, the synamic

Re: Dynamically changing the number of field lines

2006-08-08 Thread Jim Morris
Might be simpler to have two fields only one of which is shown at a time. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

"ALP for Linux Geeks: an Introduction" article now available

2006-08-08 Thread Ton van Overbeek
The link to the "ALP for Linux Geeks: an Introduction" article in the last PalmSource developer newsletter is now working. The article is quite interesting. Here is the URL: http://www.palmsource.com/developers/newsletter/ALP_for_Linux_Geeks_an_Introduction.html -- For information on using the

Re: Dynamically changing the number of field lines

2006-08-08 Thread Luc Le Blanc
Douglas Handy wrote: If you stay with the single field paradigm, you may also want to consider changing the singleLine attribute of the field using FldGetAttributes, altering the attribute values, followed by FldSetAttributes and finally FldDrawField. Excepts from the API reference: singleLi

Re: Dynamically changing the number of field lines

2006-08-08 Thread Douglas Handy
Luc, >singleLine > (This flag is for internal use only) Well then you may want to implement the dual field approach, and decide which one to make visible at any given point in time. Doug -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.