Re: PODS 1.1 debugging
Hi, I've got a problem with the PODS 1.1 integrated debugger under Windows XP SP1: it doesn't step through the application. To be more precise, it steps alright up to the AppEventLoop. But then, once I do some action, like clicking a menu, it simply runs through the application without debugging anything. I work on a managed make 68K application, and my debug target is the Palm 5.4. Simulator. I set several breakpoints to force the debugger to stop, but it plain ignores them. The PODS settings are exactly the same than on my win2K Pro, where the debugger behaves as it should. I'm still quite new to the subject, so please excuse me if the question is overly dumb. But I have searched the web and groups already without finding a solution. By the way, I'm very grateful for the PODS - it is a nice suite, and on Win2K is a pleasure to work with. Thanks for any input, Anne-Marie -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: John Marshall still doing Palm stuff?
At 12:47 AM 3/18/2005, you wrote: I know he was at Palm and then at enterprise.net but I am getting User Unknown from his email at enterprise! I would like to point out a few minor updates for some of his Palm web pages if I can contact him. Somebody shoot me his email, please? I think you can reach him via his sourceforge address. Check out http://sourceforge.net/users/jmarshall/. He commented on the pilrc-developer mailing list back in January 2005, so I know he's still doing some Palm OS tool work. -- Ben Combee, Senior Software Engineer, palmOne, Inc. Combee on Palm OS weblog: http://palmos.combee.net/ Developer Forum Archives: http://news.palmos.com/read/all_forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Freeware distribution?
Frank LaRosa wrote: I wrote a small game which I'd like to distribute for free. Are there any web sites around to which I can upload it? I can recommend http://www.shoplagom.com. -- Find my ResToXrd converter at one of these sites http://www.shoplagom.com/developer_all.asp?devid=2 http://www.trelje.nu/palm/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
RE: Is it possible to resize a form at runtime?
frmMain.Height = 30 .Width .Top .Left Is that what you mean? No, most definitely not. First of all, an object of the type FormType does not have such fields. Perhaps you meant something like frmMain-window.windowBounds.extent.y = 30; or something like that. However, the PalmOS documentation quite explicitly warns not to access directly the elements of the FormType and WindowType structures and not to expect the names, places or even existence of their fields to remain the same accross the various PalmOS versions. So, no, the above is most definitely not what I don't want to do. I was asking how to resize a form strictly with the provided APIs. Regards, Vesselin -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Browser Creator ID problems - nothing unusual...
Hi, I use the following code. The blazer creatorID could also be included from a palmONE sdk header. It should work for webpro3 and 4(aka blazer), (treo600, treo650, any tungsten). char *url ; LocalID appDbID ; #define BLAZER_CREATOR'BLZ5' if( (appDbID=FindDatabaseByTypeCreator(sysFileTApplication, BLAZER_CREATOR))==0 ) return FSERR_NOSUCHOBJECT ; url = MemPtrNew(MAX_URL) ; if( url == NULL ) return memErrNotEnoughSpace; StrCopy(url, http://www.google.com) ; MemPtrSetOwner(url, 0); return SysUIAppSwitch(0, appDbID, sysAppLaunchCmdGoToURL, url); regards, Miro Pomsar - Original Message - From: John Spence [EMAIL PROTECTED] To: Palm Developer Forum palm-dev-forum@news.palmos.com Sent: Friday, March 18, 2005 07:08 Subject: Browser Creator ID problems - nothing unusual... Hello, I'm developing a web-access application on a Treo 600 (Cingular Service) running Palm OS 5.2.1. I want to do what appears to be the standard method of programmatically launching a web browser to access a specific URL. I seem to be having a problem with the Creator ID of the browser on my Treo 600. I've downloaded the Web Browser 2.0 SDK based on what is on the Palm website for Wireless Developers. It specifically states there that Web Browser 3.0 is for Cobalt, yet I am running, I believe, Garnet. The Web Browser 2.0 SDK uses a Creator ID of NF3P, but I am unable to launch my WEB program with that ID. The Info page lists my WEB program at version 3.0. I'm lost because I don't know for sure that I even have Web Browser at all, and if I do, it should be version 2 since I am running Garnet. Can anybody tell me what the name of the WEB application that comes standard on a Treo 600 is? Do I have to specifically install Web Browser 2.0? How would I find out the Creator ID of whatever program I AM using to access the web from the Treo 600? Sorry to blast the questions, but as you can see, I'm really, really, lost. Thanks, John -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
RE: PODS Debug, show global variables
That being said there is a work around: type the name of the global variable into the Expressions tab. This work around works for most cases Sorry, but it doesn't work - neither for global variables, nor for static variables. Oh, the *names* of the variables do show on the Expressions tab after being added, alright. But its their *values* I'm interested in - and they don't appear anywhere. The Console window keeps displaying whatis variable_name where the variable_name is the name of the variable I've added to the Expressions tab - but that's it; the actual value of the variable isn't displayed anywhere. I tried using the Memory tab too, but whatever was displayed there when I entered the name of the variable had absolutely nothing to do with its actual value. Regards, Vesselin -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Browser Creator ID problems - nothing unusual...
John Spence wrote: Hello, I'm developing a web-access application on a Treo 600 (Cingular Service) running Palm OS 5.2.1. I want to do what appears to be the standard method of programmatically launching a web browser to access a specific URL. I seem to be having a problem with the Creator ID of the browser on my Treo 600. I've downloaded the Web Browser 2.0 SDK based on what is on the Palm website for Wireless Developers. It specifically states there that Web Browser 3.0 is for Cobalt, yet I am running, I believe, Garnet. The Web Browser 2.0 SDK uses a Creator ID of NF3P, but I am unable to launch my WEB program with that ID. The Info page lists my WEB program at version 3.0. I'm lost because I don't know for sure that I even have Web Browser at all, and if I do, it should be version 2 since I am running Garnet. Can anybody tell me what the name of the WEB application that comes standard on a Treo 600 is? Do I have to specifically install Web Browser 2.0? How would I find out the Creator ID of whatever program I AM using to access the web from the Treo 600? Sorry to blast the questions, but as you can see, I'm really, really, lost. Thanks, John Therer are several different web browsers out there, each with there own creator ID's, and custom launch codes. We use the Exchange manager to launch whichever is installed. I dont think it is fool proof, but it seams to work on most devices we have tried. Simply set the 'name' field of an exchange socket to the the URL you want to open, and call ExgRequest. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: problem with NetLibSocketAddr , NetLibArrrINToA
What is the error? What is the version of SDK installed within your CW 8.0? As I recall you should upgrade to CW 9.3 to run the Simulator. vk Hi all, vk In my network application I am trying to get the IP address vk of my local host and remote host by function - NetLibSocketAddr vk . i am using NetMgr.h ,trying my application on Simulato5.0 using vk codewarrior8.0 .getting an error. , but cant figure out my vk problem.kindly help! vk Thanks vk Heres my bit of code : vk * vk Int16 *l1,*l2; vk NetSocketAddrINType destAddr, locAddr ; vk NetHostInfoBufPtr hostInfoBufP; vk NetIPAddr *IPaddressP; vk Int32 AppNetTimeout ; vk Err error; vk MemSet(destAddr, sizeof(destAddr), 0); vk destAddr.family = netSocketAddrINET; vk destAddr.port = 80; vk hostInfoBufP = vk (NetHostInfoBufPtr) MemPtrNew (sizeof (NetHostInfoBufType)); vk hostInfoP = vk NetLibGetHostByName(AppNetRefnum,www.xyzl.com,hostInfoBufP, vk AppNetTimeout, error); //dummy URL vk if(hostInfoP !=0)//no error vk { vk IPaddressP = (NetIPAddr*)hostInfoBufP-addressList[0]; vk destAddr.addr = NetNToHL(*IPaddressP); vk // FldInsert(fldptr1, gethostbyname successful , 25); vk } vk MemSet(locAddr, sizeof(locAddr), 0); vk /*i ger error here--have i assigned something wrong here*/ vk *l1 =sizeof(locAddr); vk *l2 =sizeof(destAddr); vk result = NetLibSocketAddr(AppNetRefnum,socket , vk (NetSocketAddrType*)locAddr,l1 ,(NetSocketAddrType *)destAddr vk ,l2, -1, error); -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
BlueTooth on simulator
Is this posible, to run Bluetooth app. on the simulator, or is there some free lib./program that can be helpful. Vladan Markovic -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: John Marshall still doing Palm stuff?
Gregg Woodcock wrote: I know he was at Palm and then at enterprise.net I'd be curious to hear how you know that, considering that it is not true. Enterprise.net was merely an ISP that I used in the UK seven years ago (and thus _before_ I was at Palm). Somebody shoot me his email, please? You could ask Google, or look at my responses to your own questions on this very list back in late 2003. But I suppose you have your answer already :-) John -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
DES,RC4,3DES
I can call CryptEncrypt and CryptDecrypt to encrypt/decrypt data on windows platform using DES,RC4,3DES... How do I do them on palm platform. I use codewarrior9. Thanks. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
RE: this is test
This is result -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vladan Markovic Sent: 17 March 2005 11:02 To: Palm Developer Forum Subject: this is test This is test -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Any smart way to handle options for all the different device
For my programs, I created an abstraction layer. For example, say you want to draw a color line. I've wrapped the device-specific line drawing routines in my own routine (MyWinPaintLine). If the device supports color, WinPaintLine is called. If not, WinDrawLine is called. It's a little more complex than that, but I'm sure you get the idea. Nigel Grant wrote: Hi Guys I was wondering if any of you have come up with a smart way of handling options for the various devices. I current have a case statement that performs different processing for the various devices. Pseudo code Case PalmV . . . break Case PalmVx . . . break Case M505 . . . break Case T600 . . . break Case T650 . . . break etc. etc. etc. I can see this case statement becoming hugh as I test for more and more of the different devices. Any Ideas ? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Bitmap Help!!!
Is there a different way of creating bitmaps for the Palm device. Are there special tools or tools like Paint and Photoshop can be used? If regular desktop tools can be used is there a way to specify the Palm based bitmap properties in those? I am referring to the bitmap properties that are specified in the XRD definition: Bitmap properties: Bitmap density Bit Depth Bitmap Compression Transparency Is there a way to specify these properties while creating the bitmaps using a tool like Paint or PhotoShop. My graphic designer has not been able to map these properties while creating bitmaps using these tools. Help with this issue will be greatly appreciated. Thanks Sohil -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Is it possible to resize a form at runtime?
On Thu, Mar 17, 2005 at 09:41:33PM -, Vesselin Bontchev wrote: Where is this SampleCollapse thingy BTW? I checked the Samples folder of PODS, of SDK-5r4 and of SDK-6.1 and while there are various samples there, there isn't anything called SampleCollapse or CollapseUtils. This is sample code for supporting the dynamic input area (DIA) on the Tungsten T3 and T5. DIA support means resizing forms all the time, so it's a good place to look at how to resize forms in general. -- Dave Carrigan Seattle, WA, USA [EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680 UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: DES,RC4,3DES
On Fri, 18 Mar 2005 20:07:50 +0800, Armada.li [EMAIL PROTECTED] wrote: I can call CryptEncrypt and CryptDecrypt to encrypt/decrypt data on windows platform using DES,RC4,3DES... How do I do them on palm platform. Check Encrypt.h. You have EncDes (can also be used for 3DES of course) and DigestMD5 there. RC4 is not supported, but you can get AES via the (free) AESLib from Copera: http://www.copera.com/AESLib/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Reading whole PDB into buffer
Hi, all, I need to develop an application with sends selected PDB to some host. I can't just use Exchange Manager to do it because I need to 'decorate' my message with some additional stuff. So I'd appreciate any ideas on how to read whole pdb into memory buffer to be able to use it as regular Palm database after receiving such bufer at host side. Probably I'm missing somesing simple, but anyway I'll be thankful to get some clues. BR, Alex -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Sketching in double density
I believe the digitizer is simply cannot return the pen location in high resolution mode. It is the hardware limitation. If you are drawing in double density screen, you have to extrapolate the points yourself. Azrul www.mobile-coder.com resource/code snippets for pda/smartphone developer Timothy Dean [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am free form sketching to a window where I have called WinSetCoordinateSystem with kCoordinatesDouble. Why do my penMoveEvents still return points in the original coordinate system? Is there a way to change it so that the penMoveEvents are scaled properly to the window? I have also tried using WinScaleCoord on each point but it is still off. Thanks. Timothy Dean MobileDataforce -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Reading whole PDB into buffer
Alex Gusev wrote: Hi, all, I need to develop an application with sends selected PDB to some host. I can't just use Exchange Manager to do it because I need to 'decorate' my message with some additional stuff. So I'd appreciate any ideas on how to read whole pdb into memory buffer to be able to use it as regular Palm database after receiving such bufer at host side. Probably I'm missing somesing simple, but anyway I'll be thankful to get some clues. BR, Alex You are unlikly to be able to read the PDB into a memory buffer, as you can not easly get more than 64K of memory in one chunk (I know there are some ways of doing this...) You can use the exchange manager to convert a Database to its PDB representation with ExgDBWrite. You do not need to pass an exchange socket as the 'other' paramiter, you can pass some structure of your own containing your socket/file handle/whatever.. and use this in the callback function. You can write whatever 'headers' before calling ExgDBWrite, and 'footers' once it has returned. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Browser Creator ID problems - nothing unusual...
Hi Neil, I know there are lots of browsers out there. What I wanted to emphasize was that this is a Treo 600 out of the box running whatever browser is bundled with the Treo 600 by Palm or Handspring. Part of my problem is that there is no name to the program - it is just called WEB which means nothing to me. Research on the Internet lead me to believe it was Web Browser 2.0, but now I am not sure. Thanks for the information - I'll look into what you suggested and into what the other people who have responded suggest. John -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Browser Creator ID problems - nothing unusual...
Hi Milo, Thanks for the response. I tried the Blazer Creator ID you provided. Now it resets or crashes the Treo600, but at least it has an effect. Thanks for your idea. Bye, John -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Browser Creator ID problems - nothing unusual...
At 11:43 AM 3/18/2005, you wrote: Hi Neil, I know there are lots of browsers out there. What I wanted to emphasize was that this is a Treo 600 out of the box running whatever browser is bundled with the Treo 600 by Palm or Handspring. Part of my problem is that there is no name to the program - it is just called WEB which means nothing to me. Research on the Internet lead me to believe it was Web Browser 2.0, but now I am not sure. Thanks for the information - I'll look into what you suggested and into what the other people who have responded suggest. Did you look at http://kb.palmsource.com/cgi-bin/palmsource.cfg/php/enduser/std_adp.php?p_faqid=731 yet? That's the Web Browser Manager sample code from PalmSource, tested on a wide variety of devices with built-in browsers. The palmOne Treo 600 ships with Blazer 3.0, while the palmOne Treo 650 and palmOne Tungsten T5 all have Blazer 4.0. The only devices shipping with PalmSource Web Browser 2.0 are the palmOne Tungsten C and the Tapwave Zodiac. -- Ben Combee, Senior Software Engineer, palmOne, Inc. Combee on Palm OS weblog: http://palmos.combee.net/ Developer Forum Archives: http://news.palmos.com/read/all_forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Serial Port Baudrate
I have a program than runs on my old PalmPilot Professional using the serial port at 300 Baud. I'm trying to get it to run on a Palm IIIc, but I can't get the serial port baud rate set to 300. It will set to 1200 though. Does anyone know the range of the serial port baudrates or where I can look it up. Apparently the IIIc won't run at 300 baud. -Terry -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Make Clean doesn't make clean bug in PODS 1.1
Hi, I occasionally got a problem when I switch between debug and release build in my makefile and tried to build with Project/Clean... in the menu (the problem isn't limited to that). This problem happens on occassion after I've changed source file names in my project. PODS shows an error like this in the command window: make clean all make: *** No rule to make target `Sr/MemoRsc.h', needed by `Release/MemoMain.d'. Stop. You can reproduce this problem by either renaming any header file used by an application or by editing a .d file in the Debug or Release directory (the one you want to build) and insert a invalid value. (The latter is to reproduce when there already exist .d files in the output dir which aren't up to date). The reason seems to be that make.exe loops through all .d files and checks references *prior* the .d files are deleted by make clean all. The .d files seem to be updated *after* a succesfull build. Deleting the the files by hand solves this. I haven't found the right place to fix this (suppose it's in makefile-engine.mk or someplace else). Cheers, Benjamin Stadin -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Make Clean doesn't make clean bug in PODS 1.1
Stadin, Benjamin wrote: Hi, I occasionally got a problem when I switch between debug and release build in my makefile and tried to build with Project/Clean... in the menu (the problem isn't limited to that). This problem happens on occassion after I've changed source file names in my project. PODS shows an error like this in the command window: make clean all make: *** No rule to make target `Sr/MemoRsc.h', needed by `Release/MemoMain.d'. Stop. You can reproduce this problem by either renaming any header file used by an application or by editing a .d file in the Debug or Release directory (the one you want to build) and insert a invalid value. (The latter is to reproduce when there already exist .d files in the output dir which aren't up to date). The reason seems to be that make.exe loops through all .d files and checks references *prior* the .d files are deleted by make clean all. The .d files seem to be updated *after* a succesfull build. Deleting the the files by hand solves this. I haven't found the right place to fix this (suppose it's in makefile-engine.mk or someplace else). Cheers, Benjamin Stadin Just to say that in our project which use make and prc tools we also generate dependency and have the same issue after renameing .h files. If a solution is find I will be interested. There is always the bypass to just manually eraze all .d files so it is not a catastrophe, but I am sure that there is a solution. Benoit -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Programmatically setting the number of visible lines in a list
I dynamically fill a list with LstSetListChoices. Depending on context the list can have 5 or 9 items. If I set the resource for 9 visible items in the Constructor resource file and later use LstSetListChoices to pass 5 items, the list opens half empty, which looks pretty bad; if I do the opposite, the list opens with scroll arrows. Is there a way to programmatically set the number of visible lines in a list? -- Luc Le Blanc -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Programmatically setting the number of visible lines in a list
Luc Le Blanc wrote: I dynamically fill a list with LstSetListChoices. Depending on context the list can have 5 or 9 items. If I set the resource for 9 visible items in the Constructor resource file and later use LstSetListChoices to pass 5 items, the list opens half empty, which looks pretty bad; if I do the opposite, the list opens with scroll arrows. Is there a way to programmatically set the number of visible lines in a list? How about LstSetHeight()? Bob. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Make Clean doesn't make clean bug in PODS 1.1
Benoit Cerrina wrote: The reason seems to be that make.exe loops through all .d files and checks references *prior* the .d files are deleted by make clean all. Just to say that in our project which use make and prc tools we also generate dependency and have the same issue after renameing .h files. There is a standard trick for dealing with this, which you can find by looking up clean in the GNU Make manual's index. http://www.gnu.org/software/make/manual/html_node/make_93.html John -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Position of first match in text
Hi, I'm using StrStr to compute the position of the first match in a text string (TxtGlueFindString and FindStrInStr don't give the correct Position if the string doesn't start with the searched string, although they find a match...). My problem is that I get only the last text match, but I want the first. The Palm docs say StrStr Returns a pointer to the first occurrence of token in str or NULL if not found. Do I miss something or are the docs wrong? Does anybody know a another way to get the first match? That's what I currently do: Char* strPos; strPos = StrStr (out, CurrentFilter); outPos = (UInt32)(strPos) - (UInt32)(out); Regrads Benjamin Stadin -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
re: Position of first match in text
Argh Sorry. I forgot to lower case the text. Time to sleep. ;-) -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/