Re: Html support to PlamOS
Thanks! but I want dynamic html pages. Wnat to display requested page of website, in the Emulator of my palm application. Can u explain me in detail wat i have to do, in this case? -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: jpeg decompress library for palmos ?
Regis St-Gelais: >[...] 1- when you say "my program has to be in 68K ", is it because your >application need to support pre OS 5 devices?> [...] > 2- I don't think you would see significant differences with static > library, the overhead only happen when you call the function. The > execution on the function itself should take the same time. >[...] Yes, it should work on 3.5 and higher versions of palmos. So there is no good solution to read jpeg faster using older OS ? Thank You for answers Marcin -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: jpeg decompress library for palmos ?
"Marcin" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > Yes, it should work on 3.5 and higher versions of palmos. > So there is no good solution to read jpeg faster using older OS ? > Marcin, Looks like we are on the same boat. I was not able to find a faster solution for pre-OS 5 -- Regis St-Gelais www.laubrass.com -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
setup devices wizard - phone link api
Dear Sirs, I need to add custom entry into Phone Link (Prefs->Bluetooth->Setup Devices->Phone->Set up Network Service): an area where the phone is registered (country) and a carrier. Is there any api to do that? Has someone structure of PMNDB.pdb, PMHDB.pdb? tia Rafal Czyzewski Poland -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Has anybody multiple sleep request notification?
I didn't test this, but maybe SndPlaySystemSound wakes up the device (even if the screen does not wake up), hence the new sleep event. How about using a preference or a database to record each sleep event. In addition you can also check for the wakeup event, so you might see a patern. LionScribe -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
CW 9.3 link error mixing Constructor and PilRC resources
At 03:15 AM 1/8/2007, you wrote: Subject: Re: CW 9.3 link error mixing Constructor and PilRC resources From: "Luc Le Blanc" <[EMAIL PROTECTED]> Date: Sun, 7 Jan 2007 13:21:27 - X-Message-Number: 4 Roger Stringer wrote: >>Even if I space my forms by 200 ids, when I try to create a >>101th object, Constructor refuses. Isn't this a limit? >Live and learn! >That actually begs a question, how do you manage to have sooo >many objects on a single form? >Do you have many repetitive fields/labels? In which case you >should be making more use of tables. I have a multi-tabbed setup form where it makes sense to regroup all these (many) settings into a single form, and use tabs for clarity. I already re-use popup triggers, but that's the best I could do, and I would have 2-3 more controls to add. You can see this form at: http://auriga.neopages.org/aurigaen.html#SESSION The app itself has some 35 forms and is 520Kb now. 35 total forms isn't that large a number. However for the form where you are having problems... Personally I'd have implemented it as three forms, one for each tab. The user wouldn't know the difference and the programming would probably have been simpler. Roger Stringer -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: jpeg decompress library for palmos ?
At 03:15 AM 1/9/2007, you wrote: Subject: Re: jpeg decompress library for palmos ? From: "Marcin" <[EMAIL PROTECTED]> Date: Mon, 8 Jan 2007 19:46:12 +0100 X-Message-Number: 6 Regis St-Gelais: > As you already know, jdpalm and jcpalm are in 68K code. > I never had the time to convert them into pno :( [...] Unfortunately my program has to be in 68K :/ So is it possible to read jpeg faster ? I'm not very into palm programming, but i guess that if i use static library (instead of shared) it would be faster (much ??). So what hardware are you using, since all modern PalmOS based units use ARM processors? The PNO (which is ARM programming) should either solve or greatly eliminate the performance issue you talked about earlier, but if you are trying to do this on a OS 4.1 (or earlier) unit... well that would explain why you can't store a several megabyte file and why it is so slow. Roger Stringer -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Getting the Transparency using Offscreen Window
Hi all, I have been working on the issue in handling the transparency of the bmp images in device for a long time. Someone please guide us in resolving this issue. I have created an offscreen window to cut a small portion of the bmp and display in the active window at the specified location. The bmp looses its transperancy when using CreateBitmapWindow. But in my application i need to use Off screen window to cut out a small portion and need to display it at a specified location. When i tried with CreateBitmapWndow , i passed awindow handle to this CreateBitmapWindow and passed it to another window handle and used WinCopyRectangle to draw the image. By doing so i get the necessary transperancy. Why this is not happening in offscreen window.. void test() { UInt16 error; Coord bitmapWidth, bitmapHeight; UInt16 bitmapRowBytes; UInt32 transparentValueP2 ; //Get a pointer to the bitmap MemHandle bitmapHnd = DmGetResource(bitmapRsc,1006); ErrFatalDisplayIf(!bitmapHnd, "Could Not Get Bitmap Resource"); BitmapType* bitmapP = (BitmapType*) MemHandleLock(bitmapHnd); //BmpGlueGetDimensions (bitmapP, &bitmapWidth, &bitmapHeight,&bitmapRowBytes); WinHandle tempW; tempW = WinCreateOffscreenWindow(31,8, screenFormat, &error); //tempW = WinCreateBitmapWindow(bitmapP, &error); WinHandle screenH = WinSetDrawWindow(tempW); //WinDrawBitmap(bitmapP, 0, -24); WinDrawBitmap(bitmapP, 0, -24); WinSetDrawWindow(screenH); MemHandleUnlock(bitmapHnd); DmReleaseResource(bitmapHnd); //BmpGlueSetTransparentValue( NULL,transparentValueP2); //BmpSetTransparentValue (bitmapP,&transparentColor2); RectangleType bounds; //if you do not already have it, get the handle to the screen //WinHandle screenH = WinGetDrawWindow(); WinGetBounds(tempW, &bounds); //given that drawToX, and drawToY are the top left coords of //where you want to draw to... //Also, you can substitute other copy modes for winPaint WinCopyRectangle(tempW, screenH, &bounds,65, 144, winOverlay); WinDeleteWindow(tempW, false); SysTaskDelay(10); } -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: segmentation hang me out
On 2007-01-09, Durgesh Trivedi <[EMAIL PROTECTED]> wrote: > Frm last some day i m strugling with the segmentation but not get succeed i > got 1 example in the palm database 4 PNO but it not include global variable > in it But during segmentation my global variable are creating problem and in > the forum some 1 suggest me to use the feature manager but still their r some > issue and still some error which i m unable to undestand > in the error line it is giveing the error message > > > > /usr/m68k-palmos/bin/ld: warning: no memory region specified for section > `code2' > DebugSim/ToDayAppMain.o(.text+0x25e4): In function `NewMailFormHandleEvent': > ToDayAppMain.c:19: undefined reference to `__text__code2' > collect2: ld returned 1 exit status > make: *** [DebugSim/ToDay] Error 1 > > > so if some 1 provide me a proper example 4 segmentation with global or some > link regarding it will more help full 4 me > > thanks > >From the errormessage it seems you are using prc-tools (probably as part of >PODS). See http://prc-tools.sourceforge.net/doc/prc-tools_3.html#SEC15 for the doc on multiple sections and the sample code (pr-tools-samples) on the downloads page: http://sourceforge.net/project/showfiles.php?group_id=4429 Look at the multiapp sample. If you are using PODS you are probably missing the definistion of your code2 resource in the .def file. HTH Ton van Overbeek -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Palm Certification ???
I code with the reference guide open in my left screen. I look at it a lot. The palm certification exam is a closed book exam. You'll have to learn the apis (even the ones you never use) and learn them by heart! Unless you have a specific need for it, my guess is that the payback isn't worth the effort. On Tue, 09 Jan 2007 07:38:40 -, Shruti Wadhwa <[EMAIL PROTECTED]> wrote: Hi All, I don't know whether to post this here or not, but i really need your views. I just want to know that how effective is Palm Certification ? Should i go for it or not ? I am in dilema , please send your views so that i can set my vision. Thanks Shruti __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/ -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
netErrTooManyTCPConnections
Good day! I am new to palm os network programming. I have a code that successfully sends a message to the computer and successfully receives the data that is sent from the computer to the PDA. but when i try to integrate both send a receive my code generates an error. I tried to figure out the error that occurred. i found out that the error says "netErrTooManyTCPConnections". how does this error occur? i tried to call my SendTCP function and follow it up with my ReceiveTCP this error appears. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Html support to PlamOS
refer to my reply to: http://news.palmos.com/read/messages?id=207008 I have used HTTP/HTTPS for sending and receiving via http and it works really well. Only issue I have with it is a 64k limit. I think they also have a reader for html but I have not tried it. It can be found at: www.pdadevelopers.com. Greg -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Html support to PlamOS
On looking at their web site I see that it is an XML and not HTML reader. Greg -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Has anybody multiple sleep request notification?
Actualy, on the simulator you can view all the events, so just try it with the Sound and without the sound. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Help Getting Started
So I have a project that I want to start on for a Desktop->Palm piece of software. However, I am not sure where to begin. I know about the desktop side of it, but am totally unfamiliar with programming for the PalmOS. Also, I am a little limited in my language choices, and only know VB.Net. Ideally, I would be able to work with the current Datebook & Calendar conduits and maybe work within the current Palm programs as well. I would appreciate any help anyone can give me, as I need as much help as I can get. -Justin [EMAIL PROTECTED] -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Help Getting Started
a VB-like development environment for palm is HB++. While the code it creates is far from stellar, it is not too bad. If you decide to go for more speed/smaller size there is always the great Codewarrior and the not-so-great PODS. On 1/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: So I have a project that I want to start on for a Desktop->Palm piece of software. However, I am not sure where to begin. I know about the desktop side of it, but am totally unfamiliar with programming for the PalmOS. Also, I am a little limited in my language choices, and only know VB.Net. Ideally, I would be able to work with the current Datebook & Calendar conduits and maybe work within the current Palm programs as well. I would appreciate any help anyone can give me, as I need as much help as I can get. -Justin [EMAIL PROTECTED] -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- Best Regards, Dmitry Grinberg Software Engineer, http://PalmPowerups.com (847) 226 9295 AIM: DmitryGrinberg MSN: [EMAIL PROTECTED] ICQ: 165589894 Y! IM: dmitrygr2003 -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Memory Leak with using FrmRemoveObject on a textbox
Greetings all, In my program I create textboxes dynamically, when I turn the page I have to remove them. For this I use FrmRemoveObject(). However I get memory leaks when closing the application if I type anything any textbox and turn the the page. I figured it has something to do with FrmRemoveObject. If I don't type anything into the textbox and turn the page, there will be no memory leaks what so ever. Any help will be much appreciated. Here is some code: void DePopulatePage() { UInt16 i; FormPtr frmPtr; int j; frmPtr = FrmGetFormPtr(MainForm); for (i = initID; i < lastID; i++) { FrmHideObject(frmPtr,FrmGetObjectIndex(frmPtr, i)); FrmRemoveObject(&frmPtr,FrmGetObjectIndex(frmPtr, i)); } ... I have to remove the object as my program may deal with a lot of pages with objects on each. Thanks for your time -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Garnet Simulator and PalmOS emulator compatibility issues
I get fatal errors in garnet where I do not get in Palm OS 4.12 ROM. Lots of bad forms, bad ptrs and bad window. Could I have some tips on how to start debuging this? Thank you -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Has anybody multiple sleep request notification?
I'll give it a try.Actually I'm in half way.I'll post the result after I finish.(snd... function fire up sleep request sounds reasonable, and let me connfirm it) -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Has anybody multiple sleep request notification?
I've tested on simulator before,I remember—the simulator doesnot act the same as my Treo.I'll confirm it twice. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Sending a notification to the current UI task
I have an app, let's call it A (It is a UI task). A sublaunches an app B . B is also a UI task and is in the foreground of A. B calls SysNotifyBroadcastDeferred() and then dismisses itself back to A. A is registered for this notification. My question: Can the notification be handled from Pilot Main of app A? or is an event enqueued in the event queue of A in which case it can be handled by the event loop of A? -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Memory Leak with using FrmRemoveObject on a textbox
Palm OS Reference states: FrmRemoveObject does not free memory allocated to a string in an editable field. Therefore you will first have to call FldGetTextHandle & if a valid handle is returned call MemHandleFree on all fields. In addition I suggest removing all objects in reverse, thus lomiting overhead. I would do it as follows void DePopulatePage() { FormPtr frmPtr; UInt16 index, objectID; frmPtr = FrmGetFormPtr(MainForm); index = FrmGetNumberOfObjects(frmPtr); while (index) { index--; objectID = FrmGetObjectID(frmPtr, index); if (objectID >= initID&&objectID <= lastID; i++) { FrmHideObject(frmPtr,index); // delete any object memory here FrmRemoveObject(&frmPtr,index); } } } Lionscribe -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Memory Leak with using FrmRemoveObject on a textbox
Don't know what's happening, but Yanoff is adding all crazy symbols to my previous post. So please forgive. LionScribe -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Reg: phnEvtSubscriber
Hello All, I am getting Caller name and number using phnEvtSubscriber event. Is there any other event for getting the number and name? While using the phnEvtSubscriber event, I am getting a time delay of 5 secs. Or Is there any way to get this event without delay? I am using Treo 680 device. Thanks, Bharathi -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: segmentation hang me out
IN my defination file this thing r written application { _today_ ToDay } multiple code {"code1" "code2"} and in the sections.h file #ifndef _SECTIONS_H #define _SECTIONS_H #define EXTRA_SECTION_ONE __attribute__ ((section ("code1"))) #define EXTRA_SECTION_TWO __attribute__ ((section ("code2"))) #endif and where i m wrong can u clear me please so that i can resolve my this problem -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: segmentation hang me out
And yes im wrking with Palm on PODS with prc tools -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Sending a notification to the current UI task
event loop is for events, notifications are different entirely. Notification can arrive to a callback or to PilotMain. EventLoop is NOT an option. However, the notification will be DEFFERRED until the next time EvtGetEvent is called. At that time it will be dispatched to all handlers subscribed to it. On 1/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I have an app, let's call it A (It is a UI task). A sublaunches an app B . B is also a UI task and is in the foreground of A. B calls SysNotifyBroadcastDeferred() and then dismisses itself back to A. A is registered for this notification. My question: Can the notification be handled from Pilot Main of app A? or is an event enqueued in the event queue of A in which case it can be handled by the event loop of A? -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- Best Regards, Dmitry Grinberg Software Engineer, http://PalmPowerups.com (847) 226 9295 AIM: DmitryGrinberg MSN: [EMAIL PROTECTED] ICQ: 165589894 Y! IM: dmitrygr2003 -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Memory Leak with using FrmRemoveObject on a textbox
LionScribe thank you for your reply. I have tried to do as you say but I get a SysFatalAlert as follows: --- TestGen (unknown version) called SysFatalAlert with the message: "MemoryMgr.c, Line:4372, Non-word-aligned handle". --- Here is the code: --- while (index) { index--; objectID = FrmGetObjectId(frmPtr, index); if (objectID >= initID&&objectID <= lastID) { FrmHideObject(frmPtr,index); // delete any object memory here UInt16 objectIndex; objectIndex = FrmGetObjectIndex(frmPtr, objectID); if(FrmGetObjectType(frmPtr, objectIndex) == frmFieldObj){ MemHandle fldHnd = FldGetTextHandle((FieldPtr)FrmGetObjectPtr(frmPtr, objectIndex)); if(fldHnd) MemHandleFree(fldHnd); } FrmRemoveObject(&frmPtr,index); } } --- Once again, thanks for your help -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/