Another 5-Way Nav Problem :(

2005-04-21 Thread KMoore
Hi All, I will try to explain my issue as clearly as possible. Device: Using a Zire 71 Simulator/Device Problem: My app is supposed to respond to the center nav button on the 5-way nav by popping up a form, using FrmPopUpForm. However it seems to popup the form then close it immediately

Re: does the database backupbit get reset after it is backed up during a hotsync?

2005-04-21 Thread Mishael Kim
thanks for that conversation guys. haha. exactly what I was looking for and it definately cleared up my confusion. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Memory card traversal

2005-04-21 Thread Jan Slodicka
is there a fast way of determining how many files are present on the card? No Solving this problem when scanning the main memory is easy - there is just one non-recursive loop there and I execute one step of it (i.e., one DmGetNextDatabaseByTypeCreator call) each time I get a nilEvent.

SyncPurgeDeletedRecs causing VFSDBCache.c, Line:4051, unattached record error

2005-04-21 Thread Neil Whitworth
We have been looking into various crashes on the Treo 650 with the sprint update applied. During a hotsync our conduit calls SyncOpenDB, SyncPurgeDeletedRecs, and SyncCloseDBEx, and this causes the device to crash with the above error. This occurs when there has been a record deleted on the

Simple field with scrollbar

2005-04-21 Thread Andre Augusto
Hello everybody! I have a doubt and I hope someone can solve this problem. I want to construct a form with 10 fields, from top to bottom, but I don't want to put them in a table. But some fields will be at the bottom of the screen, and so they won't appear... Is it possible to do a ScrollBar to

Re: is there any libaray to make http request

2005-04-21 Thread Dr. Vesselin Bontchev
I am trying the HTTP lib you gave a link to. Please note that I haven't used it myself (I don't even have a net-enabled device), so I might not be of much help. I got the src code, put the .h and .c files in my src folder, did #include http.h. then I tried to call the

Re: generate a frmOpenEvent

2005-04-21 Thread Regis St-Gelais
Tony Janke [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] This works fine, unless there are fields that are initialized during frmOpenEvent() on the original form. Since FrmReturnToForm() doesn't generate a frmOpenEvent, my variables disappear. How can I generate a

Re: Memory card traversal

2005-04-21 Thread Dr. Vesselin Bontchev
is there a fast way of determining how many files are present on the card? No Drat. :-( Thought so. That also means no reliable progress indicator during the traversal - because I won't know in advance who much work there is to do, so I won't know what part of it I've already done. There

Re: SetFocus using Constructor/PilRC Controls

2005-04-21 Thread Regis St-Gelais
Ben Combee [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] At 12:51 PM 4/20/2005, you wrote: How does one set focus to a field, using the controls? After the form is opened, you call FrmSetFocus for the object index of the control you want to have focus. If I may add

Recieving a WAP Message On Palm

2005-04-21 Thread imran baig
Is there any special event or method that I need to use for recieving a WAP Message on Palm. In phone library of palm os, we have phnEvtMessageInd: - This notification occurs when the Phone Library phnEvtMMSInd: -- This notification will be

Re: Memory card traversal

2005-04-21 Thread Jan Slodicka
If you write a bkg DB, then you should somehow cope with possible DB changes while running the loop. (In fact the DB changes are possible in the first scenario, too. Maybe reacting on respective notifications...) Hmmm... How do I solve that? In fact, how do I even detect it? Register

Re: Memory card traversal

2005-04-21 Thread Dr. Vesselin Bontchev
Register for sysNotifyDBCreatedEvent notification. Ah! That would solve the problem, indeed, thanks! I'll just have to find a way to pass the information that a database has been created from the notification handler to the code that's looping through the databases - so that it knows it must

Re: Memory card traversal

2005-04-21 Thread Dr. Vesselin Bontchev
Implement GetNextFile() like this: Keep the directory list along with the enumeration. At the beginning the dirList is initialized to the root dir. 1. Pop a directory from the dirList or terminate (empty dirList). 2. Start directory enumeration. 3. If the enumeration yields a file, return

Re: generate a frmOpenEvent

2005-04-21 Thread Tony Janke
Regis- I tried your recommendation, and no change. Here is what the simulator says happens during this process (From 1300 is the help form) Event # Timestamp TypeDetails 23 13.009 frmOpen formID=1300 24 13.019 sysWinEnter enterWindow=0xF03D10, exitWindow=0xF03268 25

Re: generate a frmOpenEvent

2005-04-21 Thread Regis St-Gelais
Tony Janke [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Regis- I tried your recommendation, and no change. Here is what the simulator says happens during this process (From 1300 is the help form) Event # Timestamp Type Details 23 13.009 frmOpen formID=1300 24 13.019

Issue with Palm OS 5 and Serial Port

2005-04-21 Thread Anamika NG
Hi All, My PDA application doesn't work on Palm OS 5. My application basically sends commnads through Serial port, receives the response and displays the value to the user. I noticed that only some commands that is sent out by my application receives the response while others not. After

DLL for Palm OS

2005-04-21 Thread Valerio Fiorentini
Hi guys, ...urgent! someone can help me? How can I write a dll for Palm? Thanks of all! Valerio. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Memory card traversal

2005-04-21 Thread Jan Slodicka
- Original Message - From: Dr. Vesselin Bontchev [EMAIL PROTECTED] Register for sysNotifyDBCreatedEvent notification. Ah! That would solve the problem, indeed, thanks! I'll just have to find a way to pass the information that a database has been created from the notification

Re: Memory card traversal

2005-04-21 Thread Jan Slodicka
- Original Message - From: Dr. Vesselin Bontchev [EMAIL PROTECTED] Implement GetNextFile() like this: Keep the directory list along with the enumeration. At the beginning the dirList is initialized to the root dir. 1. Pop a directory from the dirList or terminate (empty

Re: DLL for Palm OS

2005-04-21 Thread Manu
hi, How you create a shared library depends quite on the type of tool you ae using. with code warrior it very simple task. this link wud make a starting point.. http://www.isaac.cs.berkeley.edu/pilot/shlib.html ,manpreet Hi guys, ...urgent! someone can help me? How can I write a dll for

DLL for Palm part II

2005-04-21 Thread Valerio Fiorentini
Hi, now explain I'm using a very simple tool for developing palm-applications. This tool in uncomplete so i want to write some dll to complete this. I want write this DLL in windows, It 'is possible? That's all folks!! -- For information on using the Palm Developer Forums, or to

Re: DLL for Palm part II

2005-04-21 Thread Douglas Handy
Valerio, I'm using a very simple tool for developing palm-applications. This tool in uncomplete so i want to write some dll to complete this. I want write this DLL in windows, It 'is possible? Palm OS doesn't use DLL's in the same manner as Windows. It does support shared libraries which are

Re: Memory card traversal

2005-04-21 Thread Dr. Vesselin Bontchev
From the commercial point of view (if you are going to sell the app), the OS4 users represent only a negligible fraction of the potential users. I'll give out the application for free - but I want to support as large a user base as possible. I also somehow doubt that the population of OS4

ASM in PalmOS Developer Suite

2005-04-21 Thread Zakai Hamilton
Why wont the compiler let me use these macros in my C/C++ code: #define GetA7(ptr) asm { move.l #a7 , ptr } #define SetA7(ptr) asm { move.l ptr , #a7 } If you know a better way to get or set the A7/SP register, please tell me. This thing is driving me nuts! -- For information on using the Palm

How to intercept application beaming?

2005-04-21 Thread Dr. Vesselin Bontchev
Hello folks, I've asked this question before and didn't get any answers. Now I have some specific code that doesn't work, so I thought I'd ask again. Basically, I want my application to receive the applications beamed to the device on which it is installed, so that it can inspect them first.

Re: NVFS articles online

2005-04-21 Thread David D Webb
Ahhh, thats why I lose my databases when the app crashes/resets. (-;. Looks like I have some reading on NVFS to do and some DmSyncDatabase commands to add... How expensive is this DmSyncDatabase call. I assume I have to do some type of feature check before calling it as well? -Dave We got

Assembler message (prc-tools)

2005-04-21 Thread Miguel Angel Sotomayor Hernandez
I've searched in the forum archives and I've seen similar problems, but I haven't been able to solve my problem yet. I added a couple of functions to one of my source code file. Because of the size, my application has 4 segments. After I added these two functions to storecheckMain.c I noticed

Re: Assembler message (prc-tools)

2005-04-21 Thread Ton van Overbeek
On 2005-04-21, Miguel Angel Sotomayor Hernandez [EMAIL PROTECTED] wrote: I've searched in the forum archives and I've seen similar problems, but I haven't been able to solve my problem yet. I added a couple of functions to one of my source code file. Because of the size, my application has

Re: Another 5-Way Nav Problem :(

2005-04-21 Thread Ben Combee
At 12:54 AM 4/21/2005, you wrote: Hi All, I will try to explain my issue as clearly as possible. Device: Using a Zire 71 Simulator/Device Problem: My app is supposed to respond to the center nav button on the 5-way nav by popping up a form, using FrmPopUpForm. However it seems to popup the form

re: Assembler message (prc-tools)

2005-04-21 Thread Vince Lee
These messages can come from a bug in the GCC linker. Theoretically, if you break up your code into separate segments less than 64k, the code should be able to use relative jumps within the segments and long jumps between them. And indeed this is what it does. However, I found after

Re: ASM in PalmOS Developer Suite

2005-04-21 Thread Ben Combee
At 11:05 AM 4/21/2005, you wrote: Why wont the compiler let me use these macros in my C/C++ code: #define GetA7(ptr) asm { move.l #a7 , ptr } #define SetA7(ptr) asm { move.l ptr , #a7 } If you know a better way to get or set the A7/SP register, please tell me. This thing is driving me nuts!

Re: Memory card traversal

2005-04-21 Thread Ben Combee
At 10:59 AM 4/21/2005, you wrote: From the commercial point of view (if you are going to sell the app), the OS4 users represent only a negligible fraction of the potential users. I'll give out the application for free - but I want to support as large a user base as possible. I also somehow

Issue with Palm OS 5 and Old Serial Manager functions(OldSerMgr.h)

2005-04-21 Thread Anamika NG
Hi All, My PDA application doesn't work on Palm OS 5. My application basically sends commnads through Serial port, receives the response and displays the value to the user. I noticed that only some commands that is sent out by my application receives the response while others not. After

Re: NVFS articles online

2005-04-21 Thread Ben Combee
At 11:17 AM 4/21/2005, you wrote: Ahhh, thats why I lose my databases when the app crashes/resets. (-;. Looks like I have some reading on NVFS to do and some DmSyncDatabase commands to add... How expensive is this DmSyncDatabase call. I assume I have to do some type of feature check before

Re: generate a frmOpenEvent

2005-04-21 Thread Tim Kostka
Tony, If you want to generate a frmOpenEvent (or any other event for that matter), create a EventType structure, set the eType to frmOpenEvent, then call EvtAddEventToQueue to add it to the queue. This will throw it into the queue and it will be sent to your event handler. Cheers, Tim Tony

Re: Memory card traversal

2005-04-21 Thread Jan Slodicka
From the commercial point of view (if you are going to sell the app), the OS4 users represent only a negligible fraction of the potential users. I'll give out the application for free - but I want to support as large a user base as possible. I also somehow doubt that the population of OS4

Re: SyncPurgeDeletedRecs causing VFSDBCache.c, Line:4051, unattached record error

2005-04-21 Thread Ben Combee
At 05:54 AM 4/21/2005, you wrote: We have been looking into various crashes on the Treo 650 with the sprint update applied. During a hotsync our conduit calls SyncOpenDB, SyncPurgeDeletedRecs, and SyncCloseDBEx, and this causes the device to crash with the above error. This occurs when there

Re: Assembler message (prc-tools)

2005-04-21 Thread Miguel Angel Sotomayor Hernandez
Thanks a lot for your reply. I've done what you suggested and I've found some of the lines with errors have the following: bsr.w BuscaReporte bsr.w CreaNuevoReporte lea ComparaRegistrosReporte(%pc),%a0 /*SPECIAL_FRED*/ BuscaReporte is a function in a section I called reporte, as well as

Re: Issue with Palm OS 5 and Old Serial Manager functions(OldSerMgr.h)

2005-04-21 Thread Regis St-Gelais
Anamika NG [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Hi All, My PDA application doesn't work on Palm OS 5. My application basically sends commnads through Serial port, receives the response and displays the value to the user. I noticed that only some commands

Re: Issue with Palm OS 5 and Old Serial Manager functions(OldSerMgr.h)

2005-04-21 Thread Luc Le Blanc
Anamika NG [EMAIL PROTECTED] a it dans le message de Rgis St-Gelais wrote: My PDA application doesn't work on Palm OS 5. My application basically sends commnads through Serial port, receives the response and displays the value to the user. I noticed that only some commands that is sent

Re: NVFS articles online

2005-04-21 Thread Regis St-Gelais
Ben Combee [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] This is my Sync if call is available glue code that I wrote: if (SysGetTrapAddress(sysTrapDmSyncDatabase) != SysGetTrapAddress(sysTrapSysUnimplemented)) { error =

How to add a Bin file to a CW 9.3 project

2005-04-21 Thread Luc Le Blanc
I'm trying to add in my application the T3 flow control patch code found in the PalmOne 4.2 SDK samples. But unlike what I see in the sample project, CW 9.3 doesn't let met add a Bin file to my project. Instead I get a message that at least one file could not be added. Things went better for the

Re: Memory card traversal

2005-04-21 Thread Dr. Vesselin Bontchev
The Zire 31 uses Palm OS 5.2. The only Zire that shipped with Palm OS 4 was the orignal Zire (m150). Then they have m150. It's a holiday here, so I can't ask them right now - but it's the cheapest model; I think it has only 2 Mb RAM and the screen is BW LCD. It's definitely a Zire and the OS

pnolets with CW

2005-04-21 Thread Henk Jonas
I'm a bit lost here: I have a rather big pnolet in CW (is MyUAE, the amiga emulator) and try to understand which API functions I can just call from the ARM side and which not. I see there is for example a function called SysEventGet. I don't find a declaration for it but it works and returns

Re: Assembler message (prc-tools)

2005-04-21 Thread Vince Lee
If the code in question actually is generating a bsr, then it's trying to do a relative jump and maybe the error is accurate. Try moving a few more functions to the new code section, as the extra overhead of calling those sections may have pushed your main code section over the edge. The

Re: pnolets with CW

2005-04-21 Thread Ben Combee
At 03:38 PM 4/21/2005, you wrote: BTW: I know there is an Armlet-forum, but Mozilla claims it doesn't exist on news.palmos.com. armlet-forum is gone. It's now the pno-forum, as ARMlets were renamed to PACE Native Objects. -- Ben Combee, Senior Software Engineer, palmOne, Inc. Combee on Palm

Re: SMS sample

2005-04-21 Thread Cui Connie
Hello, Thank you replying my question, so can you tell me where I can find Treo's own SMS and telephony library. Thank you! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: detect NVFS

2005-04-21 Thread Jan Slodicka
Hello I just tested Tungsten E2 simulator (debug version) and FtrGet (sysFtrCreator, sysFtrNumDmAutoBackup, returnVal); produced returnVal=0. That's strange given that both T5 handheld and the emulator return non-zero values. I have couple more questions that emerged while iterating VFS

How to duplicate a database

2005-04-21 Thread Ruiz Camacho Rodolfo
Hi, i´am developing an application, and i need to duplicate a database, so, i wonder if there is a command that do this, or i have to manually do it Thank for your help Regards Rodolfo Ruiz -- For information on using the Palm Developer Forums, or to unsubscribe, please see

DmFindRecordByID equivalent for VFS?

2005-04-21 Thread Stadin, Benjamin
Hi, I've searched the docs but can't find if it's possible to find a record by it's unique id. Is there an API function, or should I loop through all records myself? Regards, Benjamin -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: How to intercept application beaming?

2005-04-21 Thread Greg Sepesi
Dr. Vesselin Bontchev wrote: Hello folks, I've asked this question before and didn't get any answers. Now I have some specific code that doesn't work, so I thought I'd ask again. Basically, I want my application to receive the applications beamed to the device on which it is

Problem with resizing a handle

2005-04-21 Thread john.burke10
I am a new comer to writing applications for the Palm and new to this forum but I need some help. I have looked at the knowledge base and can not find any hints on what may be causing it. I am having a problem resizing a handle for placing text in a field. The application is fairly simple. It

Re: Another 5-Way Nav Problem :(

2005-04-21 Thread KMoore
Ben, You explanation seems plausible, however, I cannot get the simulator to throw a KeyUpEvent. What is definately true is that my popups are FrmCustomAlerts and hence I don't appear to have control over the default button, or do I ? -- For information on using the Palm Developer Forums, or

Re: Another 5-Way Nav Problem :(

2005-04-21 Thread Ben Combee
oops... keyUpEvent isn't sent on most devices... Its all keyDownEvents for that, but its how you handle the navChangedKeys... You need to handle it on the center pressed to center released transition. One of the macros should do this right. -Original Message- From: KMoore [EMAIL

Re: DLL for Palm part II

2005-04-21 Thread Manpreet
I beleive comments by Douglas are good enough for an answer to your question Palm OS doesn't use DLL's in the same manner as Windows. It does support shared libraries which are similar in some respects. A shared library must be written in a tool targeting Palm OS, using the Palm OS SDK

Re: Another 5-Way Nav Problem :(

2005-04-21 Thread KMoore
Ben, Thanks yet again NavSelectPalmPressed(pEvent) worked!!! but I could have sworn I tried this before maybe I was up too late and too few diet pepsi's -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

treo sms api's

2005-04-21 Thread versha
you can find Treo sms Api's - palmOne_SDK_4_3_palmOneHeadersPublic files at http://developers.palmone.com/pe/index.jsp. add them to your palmOS support folder in your SDK. Use these header files , i think they should work for Treo , though i havnt tried it on a device yet. versha -- For